AO_6308V_Config | ![]() ![]() ![]() ![]() |
AO_6308V_Config
@ Description
Informs PCIS-DASK library of the the polarity (unipolar or bipolar) that the output channel is configured for the analog output and the reference voltage value selected for an analog output channel of PCI-6308V. You can configure each channel to use an internal reference of 10V or an external reference (0V ~ +10V) by setting related jumpers. You must call this function before calling function to perform voltage output operation.
@ Cards Support
6308V
@ Syntax
I16 AO_6308V_Config (U16 wCardNumber, U16 Channel, U16 wOutputPolarity, F64 refVoltage)
@ Parameter
CardNumber : The
card id of the card that want to perform this operation.
Channel
: The AO channel
number configured. The valid values are:
P6308V_AO_CH0_3
P6308V_AO_CH4_7
OutputPolarity : The
polarity (unipolar or bipolar) of the output channel. The valid values
are:
P6308V_AO_UNIPOLAR
P6308V_AO_BIPOLAR
refVoltage
: Voltage reference value
If the D/A reference voltage source your device use is internal reference,
the valid values for refVoltage is 10.
If the D/A reference voltage source your device use is external reference,
the valid range for refVoltage is 0 to +10.
Note : If the 10V D/A reference voltage is selected, the D/A output range is 0V~10V. |
@ Return Code
NoError, ErrorInvalidCardNumber, ErrorCardNotRegistered, ErrorFuncNotSupport, ErrorInvalidDaRefVoltage