# v_out()

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

## Prototype

v_out(board_num, channel, ul_range, data_value, options=0)

## Parameters

board_num (int)

The number associated with the board when it was installed with InstaCal or created with create_daq_device().

channel (int)

The D/A channel number. The maximum allowable channel depends on which type of D/A board is being used

ul_range (ULRange)

D/A range. The D/A range code. If the device has a programmable gain, it is set according to this parameter value.
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 data_value parameter.

data_value (int)

The voltage value to be written.

Options (int, optional)

Reserved for future use.