
daqDacSetOutputMode
Also See: daqDacWt, daqDacWtMany
Format
daqDacSetOutputMode(handle, deviceType, chan, outputMode)
Purpose
daqDacSetOutputMode sets the output mode of the digital-to-analog converter (DAC) or digital pattern
output operations for the specified channel.
Parameter Summary
Parameter Type Description
handle DaqHandleT
Handle to the device for which the DAC waveform
output mode will be set
deviceType DaqDacDeviceType
Specifies the device type
chan DWORD
Specifies the DAC / digital output channel number
outputMode DaqDacOutputMode
Defines the DAC waveform output mode to use
Parameter Values
handle: obtained from the daqOpen function.
deviceType: see the table in the “Selecting the Output Channel” section below for details
chan: valid values depend on the value of the deviceType parameter; see the table in the “Selecting the
Output Channel” section below for details
outputMode: see table below
Parameter Type Definitions
OutputMode–(DaqDacOutputMode)
Definition Description
DdomVoltage
Specifies a single, DC voltage or current output mode.
DdomStaticWave
Specifies static waveform/pattern output mode.
DdomDynamicWave
Specifies dynamic waveform/pattern output mode. (Does Not Apply to DaqBoard/500 Series)
DdomDigitalDirect
Specifies direct mode for P3 digital. (Does Not Apply to DaqBoard/500 Series or /3000 Series)
DdomBipolar
Specifies bipolar output mode. (DaqBoard/500 only)
Returns
DerrNoError No error
Function Usage
Normally, the daqDacSetOutputMode function must be called prior to any output operations on the
specified channels. Generally, this function configures the specified port for DC style or waveform output
from DACs or pattern output from the 16-bit P3 DIO port.
Programmer’s Manual 969293 Daq API Command Reference 4.4-1
Komentáře k této Příručce