Daqzerosetupconvert – Measurement Computing Data Acquisition Systems rev.10.4 User Manual
Page 317

daqZeroSetupConvert
Also
See: daqZeroSetup, daqZeroConvert, daqAutoZeroCompensate
Format
daqZeroSetupConvert (nscan, zerroPos, readingsPos, nReadings, counts, scans)
Purpose
daqZeroSetupConvert
performs both the setup and convert steps with one call.
Parameter Summary
Parameter Type
Description
nscan DWORD
Number of readings in a single scan
zeroPos DWORD
Position of the zero reading within the scan
readingsPos DWORD
Position of the readings to be zeroed within the scan
nReadings DWORD
Number of readings immediately following the zero
reading that are sampled at the same gain as the zero
reading
counts DWORD
Raw data from one or more scans
scans DWORD
Number of scans of raw data in the counts array
Parameter Values
nscan:
valid values range from 1 to 272
zeroPos:
valid values range from 1 to 272
readingsPos:
valid values range from 1 to 272
nReadings:
valid values range from 1 to 270
counts:
a pointer to an array ranging from 0 to 65,535
scans:
valid values range from 1 to 4,295,967,295; however, memory limitiations may apply
Returns
DerrZCInvParam
Invalid parameter value
DerrNoError
No error
For more details on error messages refer to the
Daq Error Table.
Function Usage
This is useful when the zero compensation needs to be performed multiple times because data was read from
channels at different gains or from different boards.
Programmer’s Manual
908594
Daq API Command Reference 4.6-39