beautypg.com

B&B Electronics VFG3000 - Manual User Manual

Page 300

background image

I

S

W

RITE

Q

UEUE

E

MPTY

(

DEV

)

V

LINX

F

IELDBUS

G

ATEWAY

M

ANAGER

U

SER

M

ANUAL

P

AGE

284

I

S

W

RITE

Q

UEUE

E

MPTY

(

DEV

)

A

RGUMENT

T

YPE

D

ESCRIPTION

dev

int

The device number to get the queue state from

D

ESCRIPTION

Returns the state of the writes queue for the device identified with the argument dev. The
function will return true if the queue is empty, false otherwise.

Note: The device number can be identified in Fieldbus Gateway Manager’s status bar when a
device is selected in Communication.

F

UNCTION

T

YPE

This function is passive.

R

ETURN

T

YPE

int.

E

XAMPLE

QueueEmpty = IsWriteQueueEmpty(1)

In this example, the function returns the write queue stat for device1.