6-8 Setpoint Configuration for Output Control
988291
DaqBook/3000USB User’s Manual
In the example [upper portion of the preceding figure], the setpoint placed on analog Channel 5 updated
DAC0 with 0.0V. The update occurred when C
hannel 5’s input was less than the setpoint
(Limit A).
When the value of C
hannel 5’s input was above
setpoint Limit A, the condition of <A was false and DAC0
was then updated with
minus
1.0V.
Control outputs can be programmed on each setpoint. Detection for Channel 4 could be used to update
DAC1 with -1.0V when the analog input voltage is within the shaded region; and update DAC1 with 0.0V
when the analog input voltage is outside the shaded region.
Detection on an Analog Input, Timer Output Updates
Update Mode: Update on True and False
Criteria Used: Inside Window
The figure below shows how a setpoint can be used to update a timer output. A setpoint is applied using
Update on True and False
, with a criteria of
inside-the-window,
where the signal value is inside the
window when simultaneously less than Limit A but greater than Limit B.
In the example, whenever
Channel 15’s
analog input voltage is inside the setpoint window (condition
True), timer0 will be updated with one value; and whenever Channel
15’s
analog input voltage is outside
the setpoint window (condition False) timer0 will be updated with a second output value. An output value
of 65535 will stop the timer.
Limit A
(for Channel 15)
Limit B
(for Channel 15)
Detection Signal
Timer0
Updating a Timer Output
Update on True and False
Ch 15 analog input voltage