ProSoft Technology MVI69-ADM User Manual

Page 160

Advertising
background image

Application Development Function Library - ADM API

MVI-ADM ♦ 'C' Programmable

Developer's Guide

'C' Programmable Application Development Module

Page 160 of 342

ProSoft Technology, Inc.

February 20, 2013

ADM_DBBitChanged

Syntax

int ADM_DBBitChanged(ADMHANDLE adm_handle, int offset)

Parameters

adm_handle

Handle returned by previous call to ADM_Open

offset

Bit offset into database

Description
This function checks to see if a bit has changed since the last call to
ADM_DBBitChanged.

adm_handle must be a valid handle returned from ADM_Open.

Return Value

0

No change

1

Bit has changed

Example

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

Advertising