Daqdacwavegetfreq, Format, Purpose – Measurement Computing Data Acquisition Systems rev.10.4 User Manual
Page 198: Parameter summary, Parameter values

daqDacWaveGetFreq
Also See: daqDacWaveArm,
daqDacWaveDisarm, daqDacWaveSetFreq
Format
daqDacWaveGetFreq(handle, deviceType, chan, freq)
Purpose
daqDacWaveGetFreq
retrieves the current setting for the waveform/pattern output update frequency (in
Hz) for the specified device (selected by daqDacWaveSetClockSource).
Parameter Summary
Parameter Type
Description
handle DaqHandleT Handle to the device from which to retrieve the current
waveform output frequency
deviceType DaqDacDeviceType
Specifies the DAC type
chan DWORD
Specifies the DAC channel
freq PFLOAT
Returns the current DAC waveform output frequency
setting
Parameter Values
handle:
obtained from the daqOpen function
deviceType:
see table below
chan:
valid values depend on the values chosen for the deviceType parameter; see the deviceType
table below
freq:
pointer to a single precision floating point value (4 bytes) that will store the update frequency update
upon return from this function.
Parameter Type Definitions
DeviceType–(DaqDacDeviceType)
Definition
chan
Value
Description
0
Start the transfer of waveform/pattern output data where DAC0 is one of the
channels being output.
1
Start the transfer of waveform/pattern output data where DAC1 is one of the
channels being output.
2
Start the transfer of waveform/pattern output data where DAC2 is one of the
channels being output.
DddtLocal
3
Start the transfer of waveform/pattern output data where DAC3 is one of the
channels being output.
DddtLocalDigital
0
Start the transfer waveform/pattern output data where the 16-bit P3 Digital port is
one of the channels being output.
4.4-16 Daq API Command Reference
908494
Programmer’s
Manual