User guide
FUNCTION REFERENCE USECAMERASETUP(PORT, CAMERA, INDEX)
REVISION 1 PAGE 351
USECAMERASETUP(
PORT, CAMERA, INDEX
)
ARGUMENT TYPE DESCRIPTION
port int
The port number where the camera is connected
camera int
The camera device number
index int
Inspection file number in the camera
DESCRIPTION
This function selects the inspection file to be used by the camera. The number to be placed in
the
port argument is the port number to which the driver is bound. 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 a single driver. The
index represents
the inspection file number within the camera. This function will return true if the successful,
false otherwise.
*Note: This function should be called in a user program that runs in the background to let the
camera enough time to change the file.
F
UNCTION TYPE
This function is active.
R
ETURN TYPE
int.
EXAMPLE
Success = UseCameraSetup(4, 0, 1)
Selects inspection file number 1 on camera device number 0 connected on port 4 (Ethernet
Protocol 1).










