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.

LOADCAMERASETUP(PORT, CAMERA, INDEX, FILE)<br />

CRIMSON USER MANUAL - MODULAR CONTROLLER<br />

LOADCAMERASETUP(PORT, CAMERA, INDEX, FILE)<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 />

file cstring Path and filename for the inspection file on the operator<br />

interface CompactFlash card<br />

DESCRIPTION<br />

This function loads the inspection file from the operator interface CompactFlash card to the<br />

camera memory. The number to be placed in the port argument is the port number to which<br />

the driver is bound. The argument camera is the device number showing in Crimson 2.0<br />

status bar when the camera is selected. More than one camera can be connected under a single<br />

driver. The index represents the inspection file number within the camera where the file will<br />

be loaded in. The file is the path and filename for the source inspection file on the<br />

CompactFlash card. This function will return true if the transfer is successful, false otherwise.<br />

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

has enough time to access the CompactFlash card.<br />

FUNCTION TYPE<br />

This function is active.<br />

RETURN TYPE<br />

int.<br />

EXAMPLE<br />

Success = LoadCameraSetup(4, 0, 1, “\\in0.isp”)<br />

Loads the file named “in0.isp” in inspection file number 1 in camera device number 0<br />

connected on port 4 (Ethernet Protocol 1).<br />

PAGE 366<br />

http://www.redlion.net/controller

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

Saved successfully!

Ooh no, something went wrong!