beautypg.com

Daqzeroconvert – Measurement Computing Data Acquisition Systems rev.10.4 User Manual

Page 315

background image


daqZeroConvert

Also See: daqZeroSetup,daqZeroSetupConvert

daqAutoZeroCompensate

Format

daqZeroConvert (counts, scans)

Purpose

daqZeroConvert

compensates one or more scans according to the previously called daqZeroSetup function.

Parameter Summary

Parameter Type

Description

counts PWORD

Raw data from one or more scans

scans DWORD

Number of scans of raw data in the counts array

Parameter Values

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 function will modify the array of data passed to it.

Prototypes

C/C++

daqZeroConvert(PWORD counts, DWORD scans);

Visual BASIC

VBdaqZeroConvert&(counts%, ByVal scans&)

Program References

None

Programmer’s Manual

908594

Daq API Command Reference 4.6-37