05.05.2014 Views

csmstr - Omega Engineering

csmstr - Omega Engineering

csmstr - Omega Engineering

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

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

CRIMSON USER MANUAL - MODULAR CONTROLLER<br />

SAVECAMERASETUP(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 saves the inspection file uploaded from the camera on the operator interface<br />

CompactFlash card. The number to be placed in the port argument is the port number to<br />

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

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

single driver. The index represents the inspection file number within the camera. The file is<br />

the path and filename where the inspection file should be saved on CompactFlash card. This<br />

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 = SaveCameraSetup(4, 0, 1, “\\in0.isp”)<br />

Saves the inspection file number 1 from camera device number 0 connected on port 4<br />

(Ethernet Protocol 1) under the name “in0.isp”.<br />

PAGE 400<br />

http://www.redlion.net/controller

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

Saved successfully!

Ooh no, something went wrong!