Setting Trigger
⑫ In Range Comparison (Voltage/Current) [ai_trigger_InRange_ex.vi]

 

Select when sampling starts by [Voltage/Current] value within the specified range after performing the [Start] VI

 

 


Layout of IN/OUT terminal

 


IN terminal

AiChannel

Initial value: 0

Specify the channel to perform In Range comparison

 

AiStartRange

Initial value: 0 : 0

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

For this VI, this terminal is specified by voltage or current value, the value range depends on the range setting

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.) Specify the range as 1V to 2V

    Element 1: 2(V)
    Element 2: 1(V)

 

StateTimes

Initial value: 0

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