I-8017/I-9017 Series I/O Module User Manual
V3.0.3
P.45
3.6.
i8017H_ReadAI / pac_i8017HW_ReadAI
This function is used to read the Analog Input value in float format from a specific channel of the
module.
Syntax
For MiniOS7
short i8017HW_ReadAI(int iSlot, int iChannel, int iGain, float* fValue);
For Windows (CE and WES)
short pac_i8017HW_ReadAI(int iSlot, int iChannel, int iGain, float* fValue);
For Linux
short I8017_ReadAI(int iSlot, int iChannel, int iGain, float* fValue);
// for LinPAC-8000
short I9017_ReadAI(int iSlot, int iChannel, int iGain, float* fValue);
// for LP-9000, LX-9000
Parameters
iSlot
Specific slot number (0 - 7), except range of slot is number 1 ~ 8 for LinPAC.
iChannel
Specifies channel number.
For I-8017HW / I-8017HCW / I-8017DW / I-9017 => 0 ~ 8 in differential method; 0 ~ 15 in
single-ended method.
For I-9017-15 => 0 ~ 14 in differential method; 0 ~ 29 in single-ended method.
For I-9017C-15 => always 0 ~ 14.
iGain
Specifies the input range: 0: +/- 10.0V 1: +/- 5.0V 2: +/- 2.5V 3: +/- 1.25V 4: +/- 20mA
*
fValue
[Output] the analog input value in float format.
Содержание I-8017 Series
Страница 14: ...I 8017 I 9017 Series I O Module User Manual V3 0 3 P 14 1 2 Pin Assignments 1 2 1 I 8017HW ...
Страница 15: ...I 8017 I 9017 Series I O Module User Manual V3 0 3 P 15 1 2 2 I 8017HCW ...
Страница 16: ...I 8017 I 9017 Series I O Module User Manual V3 0 3 P 16 1 2 3 I 8017DW ...
Страница 17: ...I 8017 I 9017 Series I O Module User Manual V3 0 3 P 17 1 2 4 I 9017 ...
Страница 18: ...I 8017 I 9017 Series I O Module User Manual V3 0 3 P 18 1 2 5 I 9017 15 ...
Страница 19: ...I 8017 I 9017 Series I O Module User Manual V3 0 3 P 19 1 2 6 I 9017C 15 ...
Страница 26: ...I 8017 I 9017 Series I O Module User Manual V3 0 3 P 26 1 5 3 I 9017C 15 ...
Страница 55: ...I 8017 I 9017 Series I O Module User Manual V3 0 3 P 55 ...
Страница 83: ...I 8017 I 9017 Series I O Module User Manual V3 0 3 P 83 Click Restore Defaults button ...