beautypg.com

Analog output vis, Aout.vi – Measurement Computing UL for NI LabVIEW User Manual

Page 38

background image

Universal Library Virtual Instruments (VIs)

Analog Output VIs

Analog Output VIs

AOut.VI

Sets the value of a D/A output.

Summary:

Inputs:

BoardNum

[U32] - The board number assigned when installed with InstaCal. Can

be 0 to 100.

Channel

[I32] - Number of D/A channel to update.

Range

[I32] - A/D Range code

DataValue

[U16] - Value to update D/A.

Outputs:

ErrCode

[I32] - Error code. See ErrMsg.VI

Arguments:

BoardNum

The board number associated with a board when it was installed with InstaCal. The

specified board must have a D/A.

Channel

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

used.

DataValue

Must be in the range 0 – N, where N is the value 2

Resolution

- 1 of the converter.

Range

If the selected D/A board does not have a programmable range feature, this

argument will be ignored. Otherwise, the gain can be set to any of the ranges that
are supported by the selected D/A board. See the "

Range

input values

" table on

page 19 for valid values. Refer to board-specific information contained in the
Universal Library User's Guide (available on our web site at

www.mccdaq.com/PDFmanuals/sm-ul-user-guide.pdf

) for the list of ranges

supported by each board.

For simultaneous-update boards: If you have set the simultaneous update jumper for simultaneous operation,
you should use AOutScBg.VI or AOutScFg.VI for simultaneous update of multiple channels. AOut.VI always
writes the D/A data then reads the D/A, which causes the D/A output to be updated.

38