Daqdactransfergetstat – Measurement Computing Data Acquisition Systems rev.10.4 User Manual
Page 187

daqDacTransferGetStat
Also See: daqDacWaveSetBuffer,
daqDacTransferStart, daqDacTransferStop
Format
daqDacTransferGetStat(handle, deviceType, chan, active, retCount)
Purpose
daqDacTransferGetStat
returns the current status and the total transfer count of the current
waveform/pattern output channel.
DAC output mode must be set to DdomDynamicWave for this function to be called.
See the daqDacSetOutputMode function for details.
Parameter Summary
Parameter Type
Description
handle DaqHandleT
Handle of the device from which to retrieve current
waveform/pattern output transfer status
deviceType DaqDacDeviceType Specifies the DAC / digital output type
chan DWORD
Specifies the DAC / digital output channel
active PDWORD
Indicates the current state of the acquisition and transfer in
the form of a bit mask
retCount PDWORD
Total number of waveform/pattern output samples
transferred for the current waveform/pattern output transfer
Parameter Values
handle:
obtained from the daqOpen function
deviceType:
see table below
chan:
valid values depend on the value chosen for the deviceType parameter; see deviceType table
below
active:
see table below
retCount:
the total number of updates can range from 0 to 4,294,967,295 updates; however, memory
limitations may apply
Parameter Type Definitions
deviceType-(DaqDacDeviceType)
Definition
chan
Value
Description
0
Retrieve the status of a waveform/pattern output transfer where DAC0 is one of
the channels being output.
1
Retrieve the status of a waveform/pattern output transfer where DAC1 is one of
the channels being output.
2
Retrieve the status of a waveform/pattern output transfer where DAC2 is one of
the channels being output.
DddtLocal
3
Retrieve the status of a waveform/pattern output transfer where DAC3 is one of
the channels being output.
DddtLocalDigital
0
Retrieve the status of a waveform/pattern output transfer where the 16-bit P3
Digital port is one of the channels being output.
Programmer’s Manual
908494
Daq API Command Reference 4.4-5