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

  • 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 225
SMART I/O User’s Manual
March 12, 1996
©1996 PEP Modular Computers GmbH
Page 5 - 70
Chapter 5 Analog Modules
5.3.8.4 SMADCSetCyclicCalib
Syntax
error_code SMADCSetCyclicCalib(u_int8 PortNr,
u_int secs);
Description
This function sets the time between two calibration cycles in seconds. If
secs=0, then cyclic calibration is disabled.
Input
u_int8 PortNr
Port number of module for calibration
(from 0 to 10)
u_int16 secs
Time in seconds between two calibration
cycles
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 = SMADCSetCyclicCalib(0 , 120);
Zobrazit stránku 225
1 2 ... 221 222 223 224 225 226 227 228 229 230 231 ... 319 320

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

Žádné komentáře