User`s guide

PCI-2513 User's Guide Functional Details
27
Example: Timer outputs
Timer outputs are programmable square waves. The period of the square wave can be as short as 1 us or as long
as 65535 µs. The table below lists some examples.
Timer output frequency examples
Divisor
Timer output frequency
1
1 MHz
100
10 kHz
1000
1 kHz
10000
100 Hz
65535
15.259 Hz
The two timer outputs can generate different square waves. The timer outputs can be updated asynchronously at
any time.
Using detection setpoints for output control
What are detection setpoints?
With the PCI-2513's setpoint configuration feature, you can configure up to 16 detection setpoints associated
with channels in a scan group. Each setpoint can update the following, allowing for real-time control based on
acquisition data:
FIRSTPORTC digital output port with a data byte and mask byte
timers
Setpoint configuration overview
You can program each detection setpoint as one of the following:
Single point referenced Above, below, or equal to the defined setpoint.
Window (dual point) referenced Inside or outside the window.
Window (dual point) referenced, hysteresis mode Outside the window high forces one output (designated
Output 2; outside the window low-forces another output, designated as Output 1).
A digital detect signal is used to indicate when a signal condition is True or Falsefor example, whether or not
the signal has met the defined criteria. The detect signals can be part of the scan group and can be measured as
any other input channel, thus allowing real time data analysis during an acquisition.
The detection module looks at the 16-bit data being returned on a channel and generates another signal for each
channel with a setpoint applied (Detect1 for Channel 1, Detect2 for Channel 2, and so on). These signals serve
as data markers for each channel's data. It does not matter whether that data is volts, counts, or timing.