Measurement-computing Data Acquisition Systems rev.10.4 Uživatelský manuál Strana 140

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 366
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 139
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: see 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
Zobrazit stránku 139
1 2 ... 135 136 137 138 139 140 141 142 143 144 145 ... 365 366

Komentáře k této Příručce

Žádné komentáře