Synchronization; Clock; Rotary Decoder - Matrox Radient eCL Series Installation And Hardware Reference

Table of Contents

Advertisement

52 Chapter 4: Matrox Radient eCL hardware reference
To enable grabbing upon a trigger, use the MIL-Lite function MdigControl() with
*
M_GRAB_TRIGGER_STATE
; to set the signal to trigger the grab, use
*
MdigControl() with M_GRAB_TRIGGER_SOURCE
. To start a timer output
*
upon a trigger, use MdigControl() with M_TIMER_TRIGGER_SOURCE
.
MIL automatically decides which trigger controller to use based on the selected
auxiliary signal and the availability of the trigger controller.

Synchronization

For each PSG, the board can supply one horizontal (HSYNC) and one vertical
(VSYNC) synchronization signal to the video source, through the camera control
signals. The board also receives synchronization data (frame valid, line valid, and
data valid) along with the video data; refer to the Camera Link specification for a
description of the synchronization data.

Clock

For each PSG, the board can supply a clock signal to the video source through a
camera control signal. The board can also receive a dedicated clock signal.

Rotary decoder

The PSGs of the Matrox Radient eCL board feature a rotary decoder (quadrature
decoder). A rotary decoder is used to decode quadrature input received from a
rotary encoder with quadrature output. A rotary encoder is a device that provides
information about the position and direction of a rotating shaft (for example, that
of a conveyor belt). The encoder outputs a two-bit code (also known as Gray code)
on two pairs of LVDS wires for each change in position of the rotating shaft; for
a given direction of the rotating shaft, the rotary encoder outputs the code in a
precise sequence (either 00 - 01 - 11 - 10 or 00 - 10 - 11 - 01, depending on how
the rotary encoder is attached to the rotating shaft). If the rotating shaft changes
direction, the rotary encoder transmits the Gray code in the reverse sequence
(00 - 10 - 11 - 01 or 00 - 01- 11 - 10, respectively).
Upon decoding a Gray code, the rotary decoder increments or decrements its
32-bit internal counter, depending on the direction of movement. You can
configure which Gray code sequence represents forward movement and
increments the counter; the reverse Gray code sequence will then represent the
backward direction and decrement the counter. You can specify the direction of
movement occurring when the Gray code sequence is 00 - 01 - 11 - 10, using
MdigControl() with M_ROTARY_ENCODER_DIRECTION.
*. As of MIL 10.

Advertisement

Table of Contents
loading

Table of Contents