beautypg.com

B&B Electronics VFG3000 - Manual User Manual

Page 245

background image

F

UNCTION

R

EFERENCE

D

EV

C

TRL

(

DEVICE

,

FUNCTION

,

DATA

)

R

EVISION

1

P

AGE

229

D

EV

C

TRL

(

DEVICE

,

FUNCTION

,

DATA

)

A

RGUMENT

T

YPE

D

ESCRIPTION

device

int

The index of the device to be controlled.

function

int

The required function to be executed.

data

cstring

Any parameter for the function.

D

ESCRIPTION

This function is used to perform a special operation on a 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. The specific action to be
performed is indicated by the

function

parameter, the values of which will depend upon the

type of device being addresses. The

data

parameter may be used to pass addition information

to the driver. Most drives do not support this function. Where supported, the operations are
driver-specific, and are documented separately.

F

UNCTION

T

YPE

This function is active.

R

ETURN

T

YPE

int

.

E

XAMPLE

Refer to comms driver application notes for specific examples.