dscDAConvert()

byte dscDAConvert(short board, byte channel, UInt32 output_code);

Performs a single D/A conversion on the given channel.

Name

Description

board

The handle of the board to operate on

channel

Selected output channel for the D/A conversion

output_code

Output code representing the desired output voltage. See the board's user manual for information on the translation between output voltage and output code. The range of output code for 12 bit DACs is 0 ~ 4095. The range of output code for 16 bit DACs is 0 ~ 65535.

Return Value

Error code or 0.

Last updated