05.05.2014 Views

csmstr - Omega Engineering

csmstr - Omega Engineering

csmstr - Omega Engineering

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

FUNCTION REFERENCE<br />

USECAMERASETUP(PORT, CAMERA, INDEX)<br />

USECAMERASETUP(PORT, CAMERA, INDEX)<br />

ARGUMENT TYPE DESCRIPTION<br />

port int The port number where the camera is connected<br />

camera int The camera device number<br />

index int Inspection file number in the camera<br />

DESCRIPTION<br />

This function selects the inspection file to be used by the camera. The number to be placed in<br />

the port argument is the port number to which the driver is bound. The argument camera is<br />

the device number showing in Crimson 2.0 status bar when the camera is selected. More than<br />

one camera can be connected under a single driver. The index represents the inspection file<br />

number within the camera. This function will return true if the successful, false otherwise.<br />

*Note: This function should be called in a user program that runs in the background to let the<br />

camera enough time to change the file.<br />

FUNCTION TYPE<br />

This function is active.<br />

RETURN TYPE<br />

int.<br />

EXAMPLE<br />

Success = UseCameraSetup(4, 0, 1)<br />

Selects inspection file number 1 on camera device number 0 connected on port 4 (Ethernet<br />

Protocol 1).<br />

REVISION 6 PAGE 429

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!