Sets the voltage value of a D/A channel. This function cannot be used for current output.
C/C++
int cbVOut(int BoardNum, int Channel, int Range, float DataValue, int Options);
Visual Basic
Function cbVOut(ByVal BoardNum&, ByVal Channel&, ByVal Range&, ByVal DataValue!, ByVal Options&) As Long
BoardNum
The number associated with the board when it was installed with InstaCal or created with cbCreateDaqDevice(). BoardNum may be 0 to 99. The specified board must have a D/A.
Channel
The D/A channel number. The maximum allowable channel depends on which type of D/A board is being used.
Range
The D/A range code. If the device has a programmable gain, it is set according to this argument value. If the range specified isn't supported, the function return a BADRANGE error.
If the gain is fixed or manually selectable, make sure that this argument matches the gain configured for the device. If it doesn't, the output voltage will not match the voltage specified in the DataValue argument.
DataValue
The voltage value to be written.
Options
Reserved for future use.
| Default | Reserved for future use. |