Pepper-computer Modular Computers RS485 Manuel d'utilisateur Page 225

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 320
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 224
SMART I/O Users Manual
©1996 PEP Modular Computers GmbHMarch 12, 1996 Page 5 - 69
5
Chapter 5 Analog Modules
5.3.8.3 SMADCCalibrate
Syntax
error_code SMADCCalibrate(u_int8 PortNr);
Description
This function signals the HW task that a calibration cycle has to be started
for the SM-THERM at slot PortNr. It is performed automatically when the
module is initialised and may be called at any time (if the sensor for example
is moved to a different location with different temperature ranges). All 4
channels of the module will be calibrated simultaneously.
Input
u_int8 PortNr
Port number of module to calibrate
(from 0 to 10)
Output
error_code SUCCESS
E_MNF
If wrong type of module or no
module is fitted on the selected port
or standard OS-9 error code (refer to the OS-9
Technical Manual Error Codes Section).
Example
RetVal = SMADCCalibrate(0);
Vue de la page 224
1 2 ... 220 221 222 223 224 225 226 227 228 229 230 ... 319 320

Commentaires sur ces manuels

Pas de commentaire