Daqdacwavesetdiskfile – Measurement Computing Data Acquisition Systems rev.10.4 User Manual
Page 208

daqDacWaveSetDiskFile
Also See: daqDacWaveSetBuffer,
daqDacSetOutputMode, daqDacTransferGetStat
Format
daqDacWaveSetDiskFile(handle, deviceType, chan, filename, numUpdateCycles,
offsetBytes, offsetUpdateCycles, dataFormat)
Purpose
daqDacWaveSetDiskFile
configures a waveform/pattern output for streaming from a file.
Parameter Summary
Parameter Type
Description
handle DaqHandleT
Handle to the device from which
deviceType DaqDacDeviceType Specifies the DAC type
chan DWORD
Specifies the DAC channel
fileName LPSTR
String representing the path and
filename of the disk file to be output
numUpdateCycles DWORD
Number of update cycles to read from
file
offsetBytes DWORD
Offset for header in bytes
offsetUpdateCycles DWORD
Number of update cycles to skip at the
start of the file
dataFormat DaqDacWaveFileDataFormat
Format of data file
Parameter Values
hnadle:
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
fileName:
pointer to a valid string containing the path and file name of the output data file
numUpdateCycles:
the number of usable updates cycles in the file can range from 0 to 4,294,967,295;
however, disk memory limitations may apply. If set to 0, will read all cylces from the
file
offsetBytes:
the number of bytes to skip at the beginning of the file range from 0 to 4,294,967,295;
however, disk memory limitations may apply
offsetUpdateCycles:
the number of update cycles to skip at the beginning of the file range from 0 to
4,294,967,295, however, disk memory limitations may apply
dataFormat:
see table below
4.4-26 Daq API Command Reference
908494
Programmer’s
Manual