Pepper Computer RS485, RS232 user manual SMDAC1DeInit Syntax

Models: RS485 RS232

1 320
Download 320 pages 36.43 Kb
Page 278
Image 278

SMART I/O User’s Manual

Chapter 5 Analog Modules

 

 

 

 

 

 

 

 

 

 

5.5.8.10 SMDAC1DeInit

Syntax

error_code SMDAC1DeInit(u_int8 PortNr);

Description

This function deinitialises the SM-DAC1 Module on the port PortNr by freeing the resources tied up with it and shuts down the outputs.

Input

u_int8 PortNr

Output

error_code

Example

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

SUCCESS

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

RetVal = SMDAC1DeInit(0);

 

 

 

 

Page

5 - 122

©1996 PEP Modular Computers GmbH

October 01, 1996

 

 

 

Page 278
Image 278
Pepper Computer RS485, RS232 user manual SMDAC1DeInit Syntax