Functions | |
| int32_t | VkDaqCreateAIAccelChan (const char *task, const char *chans, const char *reserved1, int32_t terminalConfig, double minVal, double maxVal, int32_t units, double sensitivity, int32_t signalType, const char *reserved2) |
| Create acceleration measurement channel. | |
| int32_t VkDaqCreateAIAccelChan | ( | const char * | task, |
| const char * | chans, | ||
| const char * | reserved1, | ||
| int32_t | terminalConfig, | ||
| double | minVal, | ||
| double | maxVal, | ||
| int32_t | units, | ||
| double | sensitivity, | ||
| int32_t | signalType, | ||
| const char * | reserved2 | ||
| ) |
Create acceleration measurement 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 "dev1/RAWAIN1" |
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 |
Output unit. 0: mV/g、mV/N. 1: m/s^2. 2: in/s^2. 4: V. |
double |
sensitivity |
The sensitivity of the sensor Range: 0.000~10000.000mV/g、0.000~10000.000mV/N、 0.000~10000.000m/s^2、 0.000~10000.000in/s^2 |
int32_t |
signalType |
Sensor signal type. 0: IEPE. |
const char* |
reserved2 |
Reserved. |