User`s manual

57 Spyder2 4k User’s Manual
03-032-10195-04 DALSA
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.6 Kbps
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.