Sensoray 615 User Manual

Page 9

Advertising
background image

9

Command structure COMMAND

typedef struct {
int jpegon; //JPEG capture ON/OFF
int channel; //one of 4 channels to capture from (0-3);
int xpchan; //input channel to switch to when done (1-16);
int captionmode; //caption mode: ON/OFF, caption color;
int interlacemode;//interlaced, line doubling, line interpolation
void *pCaption; //pointer to caption data buffer (64 bytes);
int offset; //channel number offset;
} COMMAND;

Note: to assist in insertion of time stamp and the current channel number into the caption, the

following formatting commands are available:

^n New line
^d Date stamp: Mon Oct 01 2001

^tX Time stamp: 17:05:33.25, where X=0,1,2 controls the number of digits after the

decimal point.

^c Channel number (1-16 + offset). The offset member is provided to allow display of

channel numbers > 16 in case of multiple boards (e.g. to display second board’s
channels as 17-32, rather than 1-16, set offset to 16).

Advertising