Measurement-computing Data Acquisition Systems rev.10.4 Manuel d'utilisateur Page 147

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 366
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 146
daqCalSetupConvert
Also See: daqReadCalFile, daqCalSetup,
daqCalConvert
Format
daqCalSetupConvert(handle, nscan, readingsPos, nReadings, chanType,
chanGain, startChan, bipolar, noOffset, counts, scans)
Purpose
daqCalSetupConvert both configures and performs the calibration of the specified data.
Parameter Summary
Parameter Type Description
handle DaqHandleT
Handle to the device to be calibrated
nscan DWORD
Number of channels in a single scan
readingsPos DWORD
Position of the readings to be calibrated within the scan
nReadings DWORD
Number of readings to calibrate
chanType DcalType
Type of channel/board from which the readings to be calibrated are
read
chanGain DaqAdcGain
Gain setting of the channels to be calibrated
startChan DWORD
Channel number of the first channel to be converted
bipolar BOOL
If true, the DaqBook/DaqBoard is configured for bipolar readings;
if false, it is configured for unipolar readings
noOffset BOOL
If true, the offset calibration constant will not be used to calibrate
the readings; if false, the offset calibration will be used
counts PWORD
Raw data from one or more scans
scans DWORD
Number of scans of raw data in the counts array
Parameter Values
handle: obtained from the daqOpen function
nscan: the number of channels in the scan group configuration (see daqAdcSetScan)
readingsPos: the position of the channels to calibrate within the scan (see daqAdcSetScan)
nReadings: the number of readings to calibrate from 1 to 4,294,967,295; however, memory limitations
may apply
chanType: see table below
chanGain: see ADC Gain Definition table for chanGain parameter definitions
startChan: must be a valid device channel within the scan group definition (see daqAdcSetScan)
bipolar: valid values are either true ( 0) or false ( = 0)
noOffset: valid values are either true ( 0) or false ( = 0)
counts: a valid pointer to an array of uncalibrated scan data whose size must be at least equal to
(scans * scan size * 2)
scans: the number of scans to be calibrated from 1 to 4,294,967,295; however, memory limitations may
apply
Programmer’s Manual 908494 Daq API Command Reference 4.3-21
Vue de la page 146
1 2 ... 142 143 144 145 146 147 148 149 150 151 152 ... 365 366

Commentaires sur ces manuels

Pas de commentaire