Spyder3 SG-34 GigE Vision Color Manual
57
Teledyne DALSA
03-032-20124-00
Appendix B: GPIO Control
The camera’s General Purpose Input / Output (GPIO) connector allow s the camera to receive (and in some
cases ou tp u t) d irect, real-tim e control sign als that are ind ep end ent from the Ethernet com m u nications. For
exam p le, the GPIO connector can be u sed to control EXSYN C, PRIN (p ixel reset), and d irection sign als.
You m ay w ant to u se non -Ethernet control sign als becau se Ethernet netw ork p rotocols introd u ce a sm all bu t
m easu rable and u np red ictable lag that m ay not allow for extrem ely p recise an d reliable control of cam era
behavior, su ch as line rate, in tegration tim e, and read ou t d irection.
In general, to configu re the GPIO you need to accom p lish three m ain tasks:
1.
Assign a p hysical cam era p in and sign al to a GPIO Inp u t nu m ber.
2.
Map the GPIO Inp u t or Ou tp u t u sing the p aram eter com m and s located in the Line Trigger Fu nction,
Inp u ts, Ou tp u ts, Direction Control, and Sensor Control grou p s in the GUI. (Please note that this step
has alread y been p erform ed for the Beginner level scen arios d escribed below .)
3.
If you w ant to u se ap p lications other than those p rovid ed in the Beginner level exam p les, you can u se
the LUT p rogram m ing langu age to m ap the GPIO Inp u t Configu ration to the GPIO O u tp u t
Configu ration in the Gu ru level.
N ote: the screenshots p resen ted in this section are from the Cam Exp ert GUI. If you are u sing a d ifferent GUI
the arrangem ent of the com m and s and p aram eters m ay be d ifferent.
GPIO Getting Started: Beginner Mode
N OTE:
The follow ing in stru ctions are based on the d efau lt settings of the cam era. Cam eras are ship p ed from
the factory in a d efau lt settin g. Defau lt settings are restored by load ing the factory d efau lt (see Trigger Settings
(GURU) for d etails).
The GPIO Connector
The GPIO connector is u sed to interface external sign als in and ou t of the cam era . The connector contains 15
p ins th at can con figu re 4 inp u ts and 4 ou tp u ts (See Figu re 1 and Table 1). Three of the fou r inp u ts/ ou tp u ts (i.e.
0 to 2) can be configu red as Off, LVDS (Low Voltage Differential Sign al), or TTL (Tran sistor/ Transistor Logic).
The rem aining in p u t and ou tp u t (i.e. 3), can be configu red as either Off or TTL.
Figure 27: GPIO Pinout