Pepper-computer Modular Computers RS485 Uživatelský manuál Strana 196

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 320
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 195
SMART I/O User’s Manual
March 12, 1996
©1996 PEP Modular Computers GmbH
Page 5 - 40
Chapter 5 Analog Modules
5.2.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-PT100 at slot PortNr. It is performed automatically when the
module is initialized 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);
Zobrazit stránku 195
1 2 ... 191 192 193 194 195 196 197 198 199 200 201 ... 319 320

Komentáře k této Příručce

Žádné komentáře