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

  • 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 169
daqCvtSetAdcRange
Also See:daqCvtLinearSetup, daqCvtLinearConvert
daqCvtLinearSetupConvert
Format
daqCvtSetAdcRange (Admin, Admax)
Purpose
daqCvtSetAdcRange sets the ADC range for use by the conversion functions (i.e., all functions of the form
daqCvt… ).
Parameter Summary
Parameter Type Description
Admin FLOAT
A/D minimum voltage range (in volts)
Admax FLOAT
A/D maximum voltage range (in volts)
Parameter Values:
Admin: valid values depend on the device and signal being processed
Admax: valid values depend on the device and signal being processed
Returns
DerrNoError No error
Function Usage
For all functions of the form daqCvt..., raw data to be converted must be unsigned
(i.e., the dafUnsigned value must be set using the daqAdcSetScan function).
For T/C and RTD conversion, users of Daq/2000 Series devices* and/or Daq PC Cards must
be sure that the main unit is using ten volt range gains settings, either unipolar (0 V to 10 V)
or bipolar (-5 V to +5 V).
See the “T/C Gains Settings” section in the daqCvtTCConvert function entry for the
appropriate settings.
* Daq/2000 Series devices include DaqBook/2000 Series, DaqScan/2000 Series, DaqLab/2000
Series, and DaqBoard/2000 Series devices.
The daqCvtSetAdcRange function is used by the conversion functions to establish the range of an
acquisition. The voltage range is dependent on the acquisition’s gain values as set in the daqAdcSetScan
function—see daqAdcSetScan for more information.
Prototypes
C/C++
daqCvtSetAdcRange(FLOAT Admin, FLOAT Admax);
Visual BASIC
VBdaqCvtSetAdcRange&(ByVal ADmin!, ByVal ADmax!)
Program References
None
4.3-44 Daq API Command Reference 908494 Programmer’s Manual
Vue de la page 169
1 2 ... 165 166 167 168 169 170 171 172 173 174 175 ... 365 366

Commentaires sur ces manuels

Pas de commentaire