Timers - Matrox Indio Installation And Hardware Reference

Table of Contents

Advertisement

Timers

Your Matrox Indio has 16 timers that can be used to coordinate events. Each timer
can generate a timer output signal with one pulse (one low and one high segment)
per cycle, either in continuous mode or triggered mode. In continuous mode, the
timer starts to output a signal when it is enabled, and repeats the same cycle until
the timer is disabled. In triggered mode, an enabled timer waits to receive a trigger
signal, before it begins to output a signal with the specified delay and duration.
The timers can be triggered by an auxiliary input signal, the state of a bit of an
I/O command list's output register, a rotary decoder output, another timer, or by
software.
Each of the timers (Timer 1 through 16) is a 32-bit timer and can count up to
4,294,967,295 clock ticks before resetting. Each timer can use a specified clock
source for its active period and a different specified clock source for its delay period.
The clock sources can be selected from the following:
• A clock that is internally generated. Each timer can use your Matrox Indio board's
clock generator, which can generate a single clock with a programmable period of
up to 128 nsecs.
• A clock from an external source. In this case, you must define the appropriate
auxiliary input signal as a timer-clock input; the timer-clock input signal must
meet the electrical specification of the auxiliary signal.
• A clock based on another timer output. For example, Timer 1 can use a clock
based on Timer 2, and Timer 2 can use a clock based on Timer 1.
• A clock based on a rotary decoder's output. In this case, the timer will act more
as a counter because it is rare that a rotary decoder's output is periodic.
To route a timer output on an auxiliary signal, use the MIL-Lite function
MsysControl() with M_IO_SOURCE
up the timers using MsysControl() with M_TIMER_...
Advanced I/O engine
*
+ M_AUX_IOn set to M_TIMERm. Set
55

Advertisement

Table of Contents
loading

Table of Contents