SMART I/O User’s Manual | Chapter 5 Analog Modules  | |||
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
5.5.8.2SMDAC1Init Syntax
error_code SMDAC1Init(u_int8 PortNr);
Description
This function initialises the 
- reads the conversion table held in EEPROM - allocates space for the fetched resources
Input | Port number of module to initialise  | 
u_int8 PortNr  | |
  | (from 0 to 10) | 
Output | 
  | 
error_code
Example
SUCCESS or
E_BMODE if wrong or no module
E_MEMFUL if no memory resources available or standard 
RetVal = SMDAC1Init(0);
  | 
  | 
  | 
  | 
Page  | 5 - 114  | ©1996 PEP Modular Computers GmbH | October 01, 1996  | 
  | 
  | 
  |