VOut()

Sets the voltage value of a D/A channel. This method cannot be used for current output.

Member of the MccBoard class.

Function Prototype

VB .NET

Public Function VOut(ByVal channel As Integer, ByVal range As MccDaq.Range, ByVal dataValue As Single, ByVal options As MccDaq.VOutOptions) As MccDaq.ErrorInfo

C# .NET

public MccDaq.ErrorInfo VOut(System.Int32 channel, MccDaq.Range range, System.Single dataValue, MccDaq.VOutOptions options)

Parameters

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 parameter 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 parameter matches the gain configured for the device. If it doesn't, the output voltage will not match the voltage specified in the dataValue parameter.

dataValue

The voltage value to be written.

options

Reserved for future use.

Returns

options parameter values

DefaultReserved for future use.