64
Piranha 2 User’s Manual
03-032-00493-14
Teledyne DALSA
sg 0
–
3.5
Example: to return the camera model number
get_camera_model
or
gcm
Example: to begin a camera calibration (dark correction)
correction_calibrate_fpn
or
correction_calibrate_fpn
i
or
ccf
or
ccf
i
C4 Networking Mode
The cam era's netw ork featu re p rovid es the cap ability to connect and control m u ltip le
cam eras over a m u lti-d rop RS485 link.
The netw ork featu re consists of three com m and s an d a set of d efinition s d escribing th e
behavior of the cam era w hen the com m and s are sent in netw ork m od e.
Command
Short
Form
Description
set_cam era_ID
sci
Sets cam era netw ork ID
get_cam era_ID
gci
Read s cam era ID
set_netm essage_m od e
snm
0: d isable, d efau lt (m essages enabled )
1: enable (m essages d isabled )
Camera ID
The cam era ID is a single, case insen sitive ASCII alp h anu m eric character: A to Z or 0 to 9.
To change the netw ork ID for a cam era, u se the com m an d
sci
i i
. Where the first
p aram eter
is an ID of A to Z or 0 to 9, an d the secon d , op tional, p aram eter is the cam era's
serial nu m ber.
To read cu rrent cam era ID, u se the
gcp
com m and .
Changing Network ID of a Camera
To change the ID of a netw orked cam era, even if som e or all of the cam eras sh are the
sam e cam era ID, p rovid e the serial nu m ber of the cam era as the second p aram eter w he n
send ing the broad cast version of the
sci
com m and .
Example: change network ID of camera with serial number abcd to 1
: sci 1 abcd
Note: each camera must be polled following use of a broadcast command.
The Network Commands
The netw ork com m and is an ord in ary cam era com m and p refixed by a netw ork p refix.
N etw ork p refixes alw ays start w ith the colon character "
:
" and are follow ed im m ed iately
Summary of Contents for DALSA Piranha 2 P2-2x-01K40
Page 42: ...42 Piranha 2 User s Manual 03 032 00493 14 Teledyne DALSA...
Page 50: ...50 Piranha 2 User s Manual 03 032 00493 14 Teledyne DALSA...
Page 58: ...58 Piranha 2 User s Manual 03 032 00493 14 Teledyne DALSA...
Page 62: ...62 Piranha 2 User s Manual 03 032 00493 14 Teledyne DALSA...
Page 78: ...78 Piranha 2 User s Manual 03 032 00493 14 Teledyne DALSA...
Page 84: ...84 Piranha 2 User s Manual 03 032 00493 14 Teledyne DALSA...