Setting Trigger
⑮ Out Range Comparison (Binary Value) [ai_trigger_OutRange.vi]

 

Select when sampling starts by [Binary Value] outside the specified range after performing the [Start] VI

 

 


Layout of IN/OUT terminal

 


IN terminal

AiChannel

Initial value: 0

Specify the channel to perform Out Range comparison

 

AiStartRange

Initial value: 0 : 0

[Essential]
Specify the comparison value of Out Range comparison as a cluster with 2-element

For this VI, this terminal is specified by a binary value, the range of the value is as follows

12bits resolution device: 0 to 4095 (FFFH)
16bits resolution device: 0 to 65535 (FFFFH)

Element 1: comparison value 1(Level1)
Element 2: comparison value 2(Level2)

The 2 elements should be set in this way Level 1 >= Level 2

   e.g.) When specifying a range of 1V to 2V (when specifying 16Bit resolution, ± 10 V)  

    Element 1: 39322(≒2V)
    Element 2: 36045(≒1V)

 

StateTimes

Initial value: 0

Specify the number of samplings to hold the state, after the Out Range comparison is satisfied
The actual conversion starts after sampling for [StateTimes] times