Setpoint criteria, Setpoint output channel, Update modes – Measurement Computing USB-1602HS-2AO User Manual
Page 31: Setpoint values for output, Examples of control outputs
USB-1602HS-2AO User's Guide
Functional Details
31
The setpoint conditions (criteria) and update modes are summarized below.
Setpoint criteria
Inside window
The signal is below the 16-bit high limit (limit A) and above the 16-bit low limit (limit B).
Outside window
The signal is above the 16-bit high limit (limit A), or below the 16-bit low limit (limit B).
Greater than value
The signal is above the 16-bit low limit. The 16-bit high limit (limit A) is not used.
Less than value
The signal is below the 16-bit high limit. The 16-bit low limit (limit B) is not used.
Equal to value
The signal is equal to the 16-bit high limit. The 16-bit low limit (limit B) is not used.
This mode is intended for use when the counter or digital input channels are the source channel.
Only use this mode with counter or digital input channels as the channel source. To have similar
functionality for analog channels, use the inside window mode.
Hysteresis mode
Outside the window high forces output 2 until an outside the window low condition exists, then
output 1 is forced. Output 1 continues until an outside the window high condition exists. This
cycle repeats as long as the acquisition is running in hysteresis mode.
Setpoint output channel
None
Update the upper 8-bits of the digital output port
Update the analog output channels (DAC0, DAC1)
Update modes
Update on True only
Update on True and False
None – Do not update
Setpoint values for output
16-bit DAC value or the most significant byte (MSB) of the digital output port when the input does meets
criteria.
16-bit DAC value or the most significant byte (MSB) of the digital output port when the input does not
meet criteria.
Note
: When using setpoints with triggers other than immediate, hardware analog, or TLL, the setpoint criteria
evaluation begins immediately upon triggering the acquisition.
Examples of control outputs
Detection on analog input, DAC, and digital port MSB updates
Example 1:
Update mode: Update on True and False
Criteria: Channel 1 — below limit
In this example, channel 1 is programmed with reference to one setpoint (limit A), defining a low limit.
Channel Condition
State of
detect signal
Action
1
Below limit A
(for channel 1)
True
When the channel 1 analog input voltage is below limit A, update
DAC1 with the output value 0.0 V.
False
When the above condition is false, update DAC1 with the output value
of minus 1.0 V.