25 Spyder2 4k User’s Manual
03-032-10195-04 DALSA
Setting Exposure Time
Camera must be operating in exposure mode 2 or 6.
To set the camera exposure time, use the command:
Syntax:
set f
Syntax Elements:
f
Floating point number in µsecs.
Notes:
• To read the current exposure time, use the command gcp.
• If you enter an invalid exposure time, the valid range of
values will be displayed.
Related Commands:
sem, ssf
Example:
set 2100
3.10 Setting a Region of Interest
The roi command sets the pixel range used to collect the end of line statistic and sets the
region of pixels used in the
cag, cao, gl, gla, ccf, and ccp commands.
To define a region of interest, use the command:
Syntax:
roi x1 x2
Syntax Elements:
x1
Pixel start number. Must be an odd number and less
than the pixel end number.
x2
Pixel end number. Must be an even number and greater
than the pixel start number.
Related Commands cag, cao, gl, gla, ccf, ccp
Example:
roi 10 50
3.11 Returning Video Information
The camera’s microcontroller has the ability to read video data. This functionality can be
used to verify camera operation and to perform basic testing without having to connect
the camera to a frame grabber. This information is also used for collecting line statistics
for calibrating the camera.