6Advanced Camera Operation Manual
Display Verbs The pixel_display verb is not sent to the camera and does not affect data
collection. However, once the data has been collected, the application examines
the script, the pixel_display verbs, and any loop commands. From this
information, the application determines how to display the images. (Note that
the pixel_display function may appear inside loops, outside loops, or both.)
If you use pixel_readout anywhere in the script, you must also use
pixel_display. (If the script does not include pixel_readout,
pixel_display must not appear.)
Syntax Summary The following is a summary of ICL script syntax:
Script Every script must start with script_begin and end with script_end. Match
each loop_begin with a loop_end.
Opening comments.
These don’t need to be inside comment marks.
script_begin( );
verb( );verb(
param,param
);
loop_begin(
loop_count
);
verb(
param
);
loop_end( );
pixel_readout(
param,param,param,param,param
);
pixel_display(
param,param
);
script_end(
param
);
Whitespace Whitespace is never required.When whitespace is allowed,the following are
allowed:
character: space ^I ^J ^L ^M /*…*/(non-nested
comments)
ASCII name: space HT LF FF CR
dec. value: 32 9 10 12 13 47,42 … 42,47
C generation: “ ” \t \n \f \r “/*” … “*/”
Function Syntax verb() ;
verb_name(
param, param, param
); whitespace verb(
param
);
verb(
param
);
Verb names (functions) are always lowercase. Some functions contain
underscores.
Every verb must be followed by parentheses and terminated by a semicolon.
The number of parameters is fixed for each verb.
Parameters must be hard-coded, numeric values, containing only the
characters [0…9].
Parameters must be separated by commas.
Whitespace may be inserted between parenthesis, commas, parameters, or
verbs, but not between verbs and opening parenthesis.
Readout / Display Neither pixel_readout nor pixel_display is mandatory, but if one appears,
they must both appear. The total number of pixels collected must match the total
number of pixels displayed.