Adm api ram functions – ProSoft Technology MVI69-ADM User Manual

Page 193

Advertising
background image

MVI-ADM ♦ 'C' Programmable

Application Development Function Library - ADM API

'C' Programmable Application Development Module

Developer's Guide

ProSoft Technology, Inc.

Page 193 of 342

February 20, 2013

7.11 ADM API RAM Functions

ADM_EEPROM_ReadConfiguration

Syntax

long ADM_EEPROM_ReadConfiguration(ADMHANDLE adm_handle);

Parameters

adm_handle

Handle returned by previous call to ADM_Open

Description
ADM_EEPROM_ReadConfiguration read configuration information from a
configuration file located on the EEPROM.

Return Value
Length of the data read from the configuration file.

Example

if (!ADM_EEPROM_ReadConfiguration(adm_handle)) //if no configuration data,
return
{
printf("ERROR: No configuration return\n");
return (1);
}

Advertising