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

  • 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 127
daqCalConvert
Also See: daqReadCalFile, daqCalSetup,
daqCalSetupConvert
Format
daqCalConvert(handle, counts, scans)
Purpose
daqCalConvert performs the calibration of one or more scans according to the previously called
daqCalSetup function.
Parameter Summary
Parameter Type Description
handle DaqHandleT
Handle to the device to be calibrated
counts PWORD
Raw data from one or more scans to be calibrated
scans DWORD
Number of scans of raw data in the
counts array
Parameter Values
handle: obtained from the daqOpen function
counts: a valid pointer to an array of uncalibrated scan data whose size must be at least equal to:
[(scans)* scan size * (the sample size, normally 2 bytes)]
scans: valid values range from 1 to 4,294,967,295; however, memory limitations may apply
Returns
DerrZCInvParam Invalid parameter value
DerrNoError No error
For more details on error messages refer to the Daq Error Table.
Function Usage
The daqCalConvert function will modify the array of data passed to it. The counts parameter specifies a
pointer to an array of the raw A/D counts retrieved during an acquisition. Upon return, the counts array will
hold calibrated data. The scans parameter indicates the number of scans (as defined by the current scan group
configuration) in the acquisition.
This function should be preceded by the daqCalSetup function.
Prototypes
C/C++
daqCalConvert(DaqHandleT handle, PWORD counts, DWORD scans);
Visual BASIC
VBdaqCalConvert&(ByVal handle&, counts%, ByVal scans&)
Program References
None
4.3-2 Daq API Command Reference 908494 Programmer’s Manual
Vue de la page 127
1 2 ... 123 124 125 126 127 128 129 130 131 132 133 ... 365 366

Commentaires sur ces manuels

Pas de commentaire