Pepper Computer RS485, RS232 user manual SMDAD1DeInit Syntax

Models: RS485 RS232

1 320
Download 320 pages 36.43 Kb
Page 174
Image 174

SMART I/O User’s Manual

Chapter 5 Analog Modules

 

 

 

 

 

 

 

 

 

 

5.1.8.3 SMDAD1DeInit

Syntax

error_code SMDAD1DeInit(u_int8 PortNr);

Description

This function de-initializes the SM-DAD1 Module on the port PortNr by freeing the resources tied up with it and setting all outputs and inputs to zero.

Input

u_int8 PortNr

Output

error_code

Example

SM-Port number to de-initialize (from 0 to 10)

SUCCESS

E_SEEK if module not initialized or standard OS-9 error code (refer to the OS-9 Technical Manual Error Codes Section).

RetVal = SMDAD1DeInit(0);

 

 

 

 

Page

5 - 18

©1996 PEP Modular Computers GmbH

March 12, 1996

 

 

 

Page 174
Image 174
Pepper Computer RS485, RS232 user manual SMDAD1DeInit Syntax