PCI-2513 User's Guide Functional Details
24
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 False—for 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.
A channel's detect signal shows a rising edge and is True (1) when the channel's data meets the setpoint criteria.
The detect signal shows a falling edge and is False (0) when the channel's data does not meet the setpoint
criteria. The True and False states for each setpoint criteria are explained in the "Using the setpoint status
register" section on page 27.