beautypg.com

Daqcalsetcalpoints, Format, Purpose – Measurement Computing Data Acquisition Systems rev.10.4 User Manual

Page 140: Parameter summary, Parameter values, Caldatatype, Daqcalusercaldatat, Tabletype - daqcaltabletypet, Function usage

background image

daqCalSetCalPoints

Also See: Other daqCal commands

Format

daqCalSetCalPoints(handle,chanConfig,calData,tableType)

Purpose

daqCalSetCalPoints

sets calibration constants automaticllay after compare true (expected) values to

observed values.

Parameter Summary

Parameter Type

Description

handle DaqHandleT

Handle to the device from which ADC transfer status
will be retrieved.

chanConfig DaqCalChanConfigT Configuration info which includes channel and gain.
calData DaqCalUserCalDataT

Calibration points (0 to 63)

tableType DaqCalTableTypeT Calibration table type to use.

Parameter Values

handle:

obtained from the daqOpen function

chanConfig:

channel configuration information (see chanConfig table, below)

calData

: see calDataType table

tableType: s

ee tableType table below

Parameter Type Definitions

chanConfig - DaqCalChanConfigT

Definition

Description

DaqCalType

dctAdc = 0; dctDac = 1; dctTrigger = 2; dctVref = 3; dctTime = 4 (for time stamp)

channel

Channel number to which the equation will be applied

gain

Channel gain

flags

Channel flags, as applicable

extendedFlags

The Channel’s extended flags, as applicable.

calDataType

Definition

Description

dcdtConstant

= 0 , global constant

dcdtLinear

= 1, global linear constant

dcdtSplitLinear

= 2, global split linear constant

DaqCalUserCalDataT

calDataType

As Long

numCalPoints

As Long

calPoints

0 to 63 as DaqCalPointT

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.

Function Usage

Calculates and stores constants to calibraration table after comparing true (expected) vlalues to the
corresponding measured values.

4.3-14 Daq API Command Reference

908494

Programmer’s

Manual