Setpoint detection on a totalizing counter – Measurement Computing USB-1602HS-2AO User Manual
Page 34
USB-1602HS-2AO User's Guide
Functional Details
34
Figure 27. Using two criteria to control an output
The update on True only mode was selected, and therefore the updates for DAC1 only occur when the criteria is
met. However, in the above figure we see that there are two setpoints acting on one DAC. We can also see that
the two criteria can be met simultaneously. When both criteria are True at the same time, the DAC1 voltage is
associated with the criteria that has been most recently met.
Setpoint detection on a totalizing counter
In Figure 28, CTR1 is a counter channel in totalize mode. Two setpoints define a point of change for Detect 1 as
the counter counts upward. The detect output is high when inside the window (greater than limit B (low limit))
but less than limit A (the high limit).
In this case, the CTR1 setpoint is defined for the 16 lower bits of channel 1's 32-bit value. The digital output
port's MSB could be updated on a True condition (the rising edge of the detection signal). You can also update
one of the DAC output channels with a value.