63
Piranha2 User’s Manual
Appendix C
Communications Protocol
C1 Protocol Overview
This protocol defines the method used to control the camera via a serial interface. The
communication protocol defines the command format used and error messages provided.
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) ends each command.
• Values in square brackets are optional.
• There are two methods for entering the commands: In long form each command is
written in its entirety. In short form, only a predefined abbreviation is required. The
manual used the short form.
• The following parameters are used in the manual:
i
= integer
f
= float
s
= string
t
= tap
x1, x2
= pixel start and stop values
• The camera will answer each command with either "OK >" or "Error x: Error Message
>". The ">" is always the last character sent by the camera.
Command Format
command_long/short_form [parameters…] CR
03-32-00493-11
DALSA