![](/images/new-backgrounds/1180387/180387345x1.webp)
Chapter 5 Analog Modules | SMART I/O User’s Manual | |||
|
|
|
|
|
|
|
|
|
|
Note
If the same
5.1.8.2 SMDAD1Init
Syntax
error_code SMDAD1Init(u_int8 PortNr);
Description
This function initializes the resources needed to use the
-testing of the
-reading the
-setting the ADC to bipolar mode and the DAC to unipolar mode;
-fetching the resources.
5
Input
u_int8 PortNr
Output
error_code
Example
SUCCESS or
E_BMODE if wrong or no module
E_MEMFUL if no memory resources available or standard
RetVal = SMDAD1Init(0);
|
|
|
|
March 12, 1996 | ©1996 PEP Modular Computers GmbH | Page 5 - 17 | |
|
|