beautypg.com

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

Page 136

background image

daqCalSelectCalTable

Also See: daqCalGetConstants, daqCalSetConstants,

daqCalSelectInputSignal, daqCalSaveConstants

Format

daqCalSelectCalTable(handle, tableType)

Purpose

daqCalSelectCalTable

selects the calibration table source for the device.

Parameter Summary

Parameter Type

Description

handle DaqHandleT

Handle to the device for which ADC transfer status is to be
retrieved

tableType DaqCalTableTypeT Calibration table type to use

Parameter Values

handle:

obtained from the daqOpen function

tableType:

see table below

Parameter Type Definitions

tableType - DaqCalTableTypeT

Definition

Description

DcttFactory

Selects the factory calibration table. The factory calibration table reflects factory calibration constants for the
selected device. This is the default setting.

DcttUser

Selects the user-calibration table. The user-calibration table reflects calibration constants defined by the user or
the device’s user-calibration application. Refer to the device’s calibration documentation for specific settings.

DcttSelfCal

Self-calibration constants.

Returns

DerrNoError

No error

Function Usage

Selecting the Calibration Table

The daqCalSelectCalTable function should be used to set the current calibration table for the device.
Currently, there are two valid calibration table types which can be selected with the tableType parameter--
either the factory calibration table can be selected with the DcttFactory value, or a user-defined
calibration table can be selected with the DcttUser value. The current calibration table at any time will be
set to the calibration table last selected during the current device session.

Prototypes

C/C++

daqCalSelectCalTable(DaqHandleT handle, DaqCalTableTypeT tableType);

Visual BASIC

VBdaqCalSelectCalTable(ByVal handle&, ByVal tableType)

Program References

None

4.3-10 Daq API Command Reference

908494

Programmer’s

Manual