Single Parameter Functions; Multiple Parameter Functions; Verbs - Roper Photometric Owner's Manual

Advanced camera operation
Table of Contents

Advertisement

Single Parameter
Functions
Multiple Parameter
Functions

Verbs

4
Advanced Camera Operation Manual
Some functions require a single parameter. Fractional/decimal and negative
values are not allowed. Numeric expressions generate an error. Whitespace can
be included anywhere inside the parentheses.
The following parameters are legal:
loop_begin(
50
loop_begin(
loop_begin(
50
);
The following parameters are illegal:
loop_begin
( 50 );
loop_begin(
50,
loop_begin(
50
loop_begin(
-50
loop_begin(
(5*10));
A few functions require multiple parameters. There are no variable argument
lists, so each parameter is always required. The parameters must be separated
by commas. Insert whitespace as desired.
The following examples are legal:
pixel_readout(0,
pixel_readout(
pixel_readout(
A verb describes which function is performed next. Verb names are a mixture of
lowercase text and underscore characters. All verbs are followed by parentheses,
even if the verb does not require parameters. There is no whitespace between
the verb name and the opening parenthesis. List parameters inside the
parentheses and separate the parameters with commas. Whitespace is allowed
in the parameter list, but is not required. After the closing parenthesis, add a
semicolon. See sample below:
verb1();
verb2 (parameter, parameter, parameter);
verb3 (parameter);
verb4 (parameter); (whitespace) verb5() ;
You can use several verbs on a single line, one verb per line, several lines of
whitespace, or any combination of the above.
);
50
/
*exposure count*/
whitespace before parentheses
);
contains a comma
0 );
two numeric entries, only one allowed
);
minus sign is illegal
numeric expressions not allowed
100,
1,
50,
0,
100,
1,
/****MAIN FUNCTION****/
/* serial offset of "0" */
0,
/* serial size, value:100 */
100,
/* serial binning */
1,
/* parallel size */
50,
/*par bin*/.
2);
);
2 );
50,
2 );

Advertisement

Table of Contents
loading

Table of Contents