Measurement-computing Data Acquisition Systems rev.10.4 Bedienungsanleitung Seite 131

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 366
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 130
daqCalGetConstants
Also See: daqCalSetConstants, daqCalSelectCalTable,
daqCalSelectInputSignal, daqCalSaveConstants
Format
daqCalGetConstants(handle, channel, gain, range, gainConstant,
offsetConstant)
Purpose
daqCalGetConstants retrieves the calibration constants from the currently selected calibration table
chosen by the daqCalSelectCalTable function.
Parameter Summary
Parameter Type Description
handle DaqHandleT
Handle to the device from which ADC transfer status will be
retrieved
channel DWORD
Channel number to which the calibration settings will be
applied
gain DaqAdcGain
Gain range over which the calibration settings will be applied
range DaqAdcRangeT
A/D input range over which the calibration settings will be
applied
gainConstant PWORD
Pointer to the gain value for the current entry
offsetConstant PSHORT
Pointer to the offset value for the current entry
Parameter Values
handle: obtained from the daqOpen function
channel: a valid channel for the device
gain: see ADC Gain Definition table for gain parameter definitions
range: see table below
gainConstant: valid pointer to a word variable (2 bytes) in which the gain constant will be stored upon
return from this function (valid gain constant range is from 0 to 65,535)
offsetConstant: valid pointer to a short integer variable (2 bytes) in which the offset constant will be
stored upon return from this function (valid offset constant range is from –32,768 to
32,767)
Parameter Type Definitions
adcRanges-(DaqAdcRangeT)
Definition Description
DarUni0to10V
Sets acquisition range as unipolar from 0 to +10 Volt range
DarBiMinus5to5V
Sets acquisition range as bipolar from -5 to +5 Volt range
DarUniPolarDE
Sets acquisition range as unipolar differential
DarBiPolarDE
Sets acquisition range as bipolar differential
DarUniPolarSE
Sets acquisition range as unipolar single-ended
DarBiPolarSE
Sets acquisition range as bipolar single-ended
Returns
DerrNoError No error
Programmer’s Manual 908494 Daq API Command Reference 4.3-5
Seitenansicht 130
1 2 ... 126 127 128 129 130 131 132 133 134 135 136 ... 365 366

Kommentare zu diesen Handbüchern

Keine Kommentare