PCI-82x Series Cards
Multifunction Boards
User Manual, Ver. 1.5, Jan. 2017, PMH-024-15, Page: 74
PCI82X_PollingAIH
This function is used to perform multiple A/D conversions on a specified board using the polling
method, and then returns the A/D data in 16-bit integer format.
Syntax:
WORD
PCI82X_PollingAIH
(WORD wBoardNo,
WORD wChannel,
WORD wConfigCode,
DWORD dwDataCount,
WORD wValue[]);
Parameters:
wBoardNo
[Input]
The board number (Base 0)
wChannel
[Input]
The A/D channel number
wConfigCode
[Input]
Configures the voltage range for the Analog Input, as indicated below.
wConfigCode
AI Range
0
±
10.00 V
1
±
5.00 V
2
±
2.50 V
3
±
1.25 V
dwDataCount
[Input]
The number of A/D conversions that will be performed
wValue[]
[Output]
An array containing the A/D data received from the Analog Input channel in 16-bit
integer format
Returns: