Functions | |
| int32_t | VkDaqCreateAICurrentChan (const char *task, const char *chans, const char *reserved1, int32_t terminalConfig, double minVal, double maxVal, int32_t units, const char *reserved2) |
| Create AI Current Channel. | |
| int32_t VkDaqCreateAICurrentChan | ( | const char * | task, |
| const char * | chans, | ||
| const char * | reserved1, | ||
| int32_t | terminalConfig, | ||
| double | minVal, | ||
| double | maxVal, | ||
| int32_t | units, | ||
| const char * | reserved2 | ||
| ) |
Create AI Current Channel.
| data type | parameter | describe |
|---|---|---|
const char* |
task |
Task name. |
const char* |
chans |
Channel list, Use commas to separate multiple channels or use colons to specify multiple channels in a row, such as "dev1/AIN1,dev1/AIN2,dev1/AIN3,dev1/AIN4", "dev1/AIN1:4", etc. Obtain Raw value: prefix RAW before AIN channel, for example: AIN1 returns Raw value, AIN2 returns voltage value "dev1/RAWAIN1, dev1/AIN2" |
const char* |
reserved1 |
Reserved. |
int32_t |
terminalConfig |
The input terminal configuration for the channel. 0: SingleEnded. |
double |
minVal |
The minimum value, in units, that you expect to measure. |
double |
maxVal |
The maximum value, in units, that you expect to measure. |
int32_t |
units |
Unit. 0: A 1: mA. |
const char* |
reserved2 |
Reserved. |