ProSoft Technology MVI69-ADM User Manual

Page 159

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 159 of 342

February 20, 2013

ADM_DBChanged

Syntax

int ADM_DBChanged(ADMHANDLE adm_handle, int offset)

Parameters

adm_handle

Handle returned by previous call to ADM_Open

offset

Word offset into database

Description
This function checks to see if a register has changed since the last call to
ADM_DBChanged.

adm_handle must be a valid handle returned from ADM_Open.

Return Value

0

No change

1

Register has changed

Example

ADMHANDLE adm_handle;
int offset;
if(ADM_DBChanged(adm_handle, offset))
printf("Data has changed");
else
printf("Data is unchanged");

Advertising