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
Output
error_code
Example
RetVal = SMADCCalibrate(0);
March 12, 1996
Port number of module to calibrate
(from 0 to 10)
SUCCESS
If wrong type of module or no
E_MNF
module is fitted on the selected port
or standard OS-9 error code (refer to the OS-9
Technical Manual Error Codes Section).
©1996 PEP Modular Computers GmbH
SMART I/O User's Manual
5
Page 5 - 69
Need help?
Do you have a question about the Modular Computers RS485 and is the answer not in the manual?