beautypg.com

B&B Electronics VFG3000 - Manual User Manual

Page 267

background image

F

UNCTION

R

EFERENCE

G

ET

C

AMERA

D

ATA

(

PORT

,

CAMERA

,

PARAM

)

R

EVISION

1

P

AGE

251

G

ET

C

AMERA

D

ATA

(

PORT

,

CAMERA

,

PARAM

)

A

RGUMENT

T

YPE

D

ESCRIPTION

port

int

The port number where the camera is connected

camera

int

The camera number on the port

param

int

The camera parameter to be read

D

ESCRIPTION

This function returns the value of the parameter number

param

for a Banner camera

connected on the Gateway. The argument

camera

is the device number showing in Fieldbus

Gateway Manager status bar when the camera is selected. More than one camera can be
connected under the driver. The number to be placed in the

port

argument is the port number

to which the driver is bound. Please see Banner documentation for parameter numbers and
details.

F

UNCTION

T

YPE

This function is active.

R

ETURN

T

YPE

int.

E

XAMPLE

Value = GetCameraData(4, 0, 1)

Returns parameter 1 on camera device number 0 connected on port 4 (Ethernet Protocol 1).