4 smadac1operate, 4 smadac1operate -116, Smart i/o user’s manual – Pepper Computer Modular Computers RS485 User Manual
Page 272: Chapter 5 analog modules
SMART I/O User’s Manual
October 01, 1996
©1996 PEP Modular Computers GmbH
Page 5 - 116
Chapter 5 Analog Modules
5.5.8.4 SMADAC1Operate
Syntax
error_code SMDAC1Operate(u_int8 PortNr);
Description
This function powers up the outputs as they are disconnected from the screw
terminals by default. This is the software control of the software switch
shown in the schematics earlier in this section of the manual.
Input
u_int8 PortNr
SM-Port to be accessed
Output
error_code
SUCCESS
E_SEEK
if module was not initialised
E-BMODE
if the module is unknown
or standard OS-9 error code (refer to the OS-9
Technical Manual Error Codes Section).
Example
RetVal = SMAC1Operate(0);
This manual is related to the following products: