
I-8017/I-9017 Series I/O Module User Manual
V3.0.3
P.50
Parameters
Slot
Specific slot number (0 - 7), except range of slot is number 1 ~ 8 for LinPAC.
iChannel
Specifies the 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
averageCnt
the average count for each sampling routine.(1 ~ 65535)
* fValue
[Output] the analog input value in float format.
Return Values
Others: Refer to Appendix A: “Error Code” for more details.
Note
The parameter “fValue” is an arithmetic mean value.
This function will read 14-bit AD data many times, depend on the parameter “averageCnt”,
and add all the values together.
Then, calibrate the average and convert it into 16-bit data
Summary of Contents for I-8017 Series
Page 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 ...
Page 15: ...I 8017 I 9017 Series I O Module User Manual V3 0 3 P 15 1 2 2 I 8017HCW ...
Page 16: ...I 8017 I 9017 Series I O Module User Manual V3 0 3 P 16 1 2 3 I 8017DW ...
Page 17: ...I 8017 I 9017 Series I O Module User Manual V3 0 3 P 17 1 2 4 I 9017 ...
Page 18: ...I 8017 I 9017 Series I O Module User Manual V3 0 3 P 18 1 2 5 I 9017 15 ...
Page 19: ...I 8017 I 9017 Series I O Module User Manual V3 0 3 P 19 1 2 6 I 9017C 15 ...
Page 26: ...I 8017 I 9017 Series I O Module User Manual V3 0 3 P 26 1 5 3 I 9017C 15 ...
Page 55: ...I 8017 I 9017 Series I O Module User Manual V3 0 3 P 55 ...
Page 83: ...I 8017 I 9017 Series I O Module User Manual V3 0 3 P 83 Click Restore Defaults button ...