User`s guide

4.3.5 AIVoltageIn
Reads an analog input channel and returns the result scaled to a voltage (units = volts).
Input:
Data type Parameter Description
DevHandle The handler id of the device specified by DevNum as
assigned by the LabVIEW program.
Chan&Gain A cluster of data containing Chan Info parameter
(includes Channel number, ExpBrdID, and
Expchannel data) and Gain codes for a specified
device.
TrigMode 0-normal (software), 1-external
error in A cluster containing error information, such as the
status, code, and source elements that is passed from
a previous linked VI.
Output:
Data type Parameter Description
DevHandle The handler id of the device specified by DevNum as
assigned by the LabVIEW program.
Voltage Returns the value of the voltage.
error out A cluster containing error information. If error in
indicated an error, the status, code, and source
elements of error out have the same values as the
corresponding elements of error in