beautypg.com

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

Page 135

background image

daqCalSaveConstants

Also See: daqCalGetConstants, daqCalSetConstants,

daqCalSelectInputSignal, daqCalSelectCalTable

Format

daqCalSaveConstants(handle, channel)

Purpose

daqCalSaveConstants

saves the current calibration table selected by the daqCalSelectCalTable

function.

Parameter Summary

Parameter Type

Description

handle DaqHandleT

Handle to the device for which the calibration constants will be saved

channel

DWORD

Channel whose current calibration settings will be saved

Parameter Values

handle:

obtained from the daqOpen function

channel:

a valid channel for the device

Returns

DerrNoError

No error

Function Usage

Saving the Current Calibration Table

Current calibration constants can be updated or modified with the daqCalSetConstants function. The
working calibration table should only be saved after all desired calibration constants have been updated for the
device.

daqCalGetConstants

retrieves the calibration constants from the currently selected calibration table

chosen by the daqCalSelectCalTable function for the device.

Before calling this function, the daqOpen function should be used to open the device whose calibration
constants are being saved, and the daqCalSelectCalTable function should be used to select the
calibration table from which the calibration constants are being saved. The internal tables are organized into
gain and calibration entries according to the channel, gain range and A/D range capabilities of the device.

Prototypes

C/C++

daqCalSaveConstants(DaqHandleT handle, DWORD channel);

Visual BASIC

VBdaqCalSaveConstants(ByVal handle&, ByVal channel)

Program References

None

Programmer’s Manual

908494

Daq API Command Reference 4.3-9