beautypg.com

B&B Electronics VFG3000 - Manual User Manual

Page 234

background image

C

ONTROL

D

EVICE

(

DEVICE

,

ENABLE

)

V

LINX

F

IELDBUS

G

ATEWAY

M

ANAGER

U

SER

M

ANUAL

P

AGE

218

C

ONTROL

D

EVICE

(

DEVICE

,

ENABLE

)

A

RGUMENT

T

YPE

D

ESCRIPTION

device

int

Device to be enabled or disabled.

enable

int

Determines if device is enabled or disabled.

D

ESCRIPTION

Allows the database to disable or enable a specified communications device. The number to
be placed in the

device

argument to identify the device can be viewed in the status bar of the

Communications category when the device name is highlighted.

F

UNCTION

T

YPE

This function is active.

R

ETURN

T

YPE

This function does not return a value.

E

XAMPLE

ControlDevice(1, true)