Pepper Computer RS485, RS232 user manual Uint8 PortNr Uint16 secs

Models: RS485 RS232

1 320
Download 320 pages 36.43 Kb
Page 226
Image 226

SMART I/O User’s Manual

Chapter 5 Analog Modules

 

 

 

 

 

 

 

 

 

 

5.3.8.4SMADCSetCyclicCalib 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

u_int16 secs

Output

error_code

Example

Port number of module for calibration (from 0 to 10)

Time in seconds between two calibration cycles

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).

RetVal = SMADCSetCyclicCalib(0 , 120);

 

 

 

 

Page

5 - 70

©1996 PEP Modular Computers GmbH

March 12, 1996

 

 

 

Page 226
Image 226
Pepper Computer RS485, RS232 user manual Uint8 PortNr Uint16 secs