77 Piranha2 User’s Manual
Code Command Short
Form
Parameters Description
Parameters:
i = integer
f = float
t = tap selector
s = string
x1 = pixel start
number
x2= pixel end number
[]= optional
parameter
gain value of 0 sets the camera
to its nominal gain.
33 set_lower_threshold
slt i
Set the lower threshold to a
value from 0 to 255 for 8-bit
data modes, and 0 to 1023 for
10-bit.
34 set_netmessage_mode
snm i
Enable/disable camera
messages unrelated to the
executed network command:
0: Enable messages, default
1: Disable messages
35 set_pretrigger
sp i
Set the pretrigger to a value
from 0 or 15.
36 set_prnu_coeff
spc i i
Set the PRNU coefficient. The
first parameter is the pixel
number within the range 1 to
8192. The second parameter is
a specified value within the
range 0 to 511where:
512
1
i
PixelPRNU
=
37 set_subtract_background
ssb t i
Subtracts the input value from
the output signal. The first
parameter is the tap selection 1
to 4, or 0 for all taps. The
second parameter is the
subtracted value range from 0
to 511.
38 set_sync_frequency
ssf i
Sets the line rate, in exposure
mode 2, to a value from
1000Hz to camera's maximum
line rate. Value rounded
up/down as required.
39 set_system_gain
ssg t i
Set the digital gain. The first
parameter is the tap selection 1
to 4, or 0 for all taps. The
second parameter is a gain
value is specified from 0 to
511.
40 set_upper_threshold
sut i
Set upper threshold to a value
from 0 to 255 in 8-bit data
modes, and 0 to 1023 in 10-bit.
41 set_video_mode
svm i
Switch between calibrated and
uncalibrated modes:
0: Uncalibrated video,
deactivate video correction
1: Calibrated video, activated
correction
2: Test pattern
42 verify_temperature
vt
Check the internal
03-32-00493-11 DALSA