63
Piranha 2 User’s Manual
03-032-00493-14
Teledyne DALSA
Appendix C
Communications Protocol
C1 Protocol Overview
This p rotocol d efines the m eth od u sed to control the cam era via a serial interface. The
com m u nication p rotocol d efines the com m and form at u sed and error m essages p rovid ed .
C2 Protocol Features
• ASCII-based
Camera Serial Port Defaults
• 8 data bits
• 1 stop bit
• No parity
• No flow control
• 9.6Kbps
• Camera does not echo characters
C3 Command Format and Examples
• A carriage return (CR) end s each command.
• Values in square brackets are optional.
• There are two method s for entering the command s: In long form each command is
w ritten in its entirety. In short form , only a p red efined abbreviation is requ ired . The
m anu al u sed the short form .
• The following parameters are used in the manual:
i
= integer
f
= float
s
= string
t
= tap
x1, x2
= p ixel start an d stop valu es
• The camera will answer each command with either "OK >" or "Error x: Error Message
>". The ">" is alw ays the last character sent by the cam era.
Command Format
command_long/short_form [parameters…] CR
Example: to set the gain to –3.5dB on all taps
set_gain 0
–
3.5
or
All manuals and user guides at all-guides.com
Содержание Piranha 2 Series
Страница 42: ...42 Piranha 2 User s Manual 03 032 00493 14 Teledyne DALSA All manuals and user guides at all guides com...
Страница 50: ...50 Piranha 2 User s Manual 03 032 00493 14 Teledyne DALSA All manuals and user guides at all guides com...
Страница 58: ...58 Piranha 2 User s Manual 03 032 00493 14 Teledyne DALSA All manuals and user guides at all guides com...
Страница 62: ...62 Piranha 2 User s Manual 03 032 00493 14 Teledyne DALSA All manuals and user guides at all guides com...
Страница 78: ...78 Piranha 2 User s Manual 03 032 00493 14 Teledyne DALSA All manuals and user guides at all guides com...
Страница 84: ...84 Piranha 2 User s Manual 03 032 00493 14 Teledyne DALSA All manuals and user guides at all guides com...