Communications Protocol; C1 Protocol Overview; C2 Protocol Features; C3 Command Format And Examples - Dalsa Piranha 2 Series User Manual

Line scan
Table of Contents

Advertisement

63

Communications Protocol

C1 Protocol Overview

This protocol 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

Camera Serial Port Defaults

C3 Command Format and Examples

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
03-032-00493-14
All manuals and user guides at all-guides.com
ASCII-based
8 d ata bits
1 stop bit
N o parity
N o flow control
9.6Kbps
Cam era d oes not echo characters
A carriage retu rn (CR) end s each com m and .
Valu es in squ are brackets are optional.
There are tw o m ethod s for entering the com m and s: In long form each com m and 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 follow ing p aram eters are u sed in the m anu al:
i = integer
f = float
s
= string
t = tap
x1, x2 = pixel start and stop valu es
The cam era w ill an sw er each com m and w ith either "OK >" or "Error x: Error Message
>". The ">" is alw ays the last character sent by the cam era.
Appendix C
Piranha 2 User's Manual
Teledyne DALSA

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents