a_out()

Sets the value of a D/A channel.

Prototype

a_out(board_num, channel, ul_range, data_value)

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 output range of the D/A channel can be set to any range supported by the board. If the D/A board does not have programmable ranges then this parameter will be ignored. Refer to board-specific information for a list of the supported ranges.

data_value (int)

Value to set the D/A channel to. Must be in the range 0-n, where n is the value 2**Resolution – 1 of the converter. Exception: when using 16-bit boards with Basic, the range is –32,768 to 32,767. Refer to the discussion on 16-bit values using a signed integer data type for more information.