SMART I/O User’s Manual | 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
Output
error_code
Example
SUCCESS | if module was not initialised |
E_SEEK | |
if the module is unknown |
or standard
RetVal = SMAC1Operate(0);
|
|
|
|
Page | 5 - 116 | ©1996 PEP Modular Computers GmbH | October 01, 1996 |
|
|
|