This widget could not be displayed.
This widget could not be displayed.

LabVIEW

This widget could not be displayed.
cancel
Showing results for 
Search instead for 
Did you mean: 

Input conditions

Solved!
Go to solution

Hi everyone,

do someone know how do i make a programm that accepts no input that doesn't satisfy a condition ?

for example if i choose a voltage bigger than 2 Volt the program has to ignore it

This widget could not be displayed.
This widget could not be displayed.
This widget could not be displayed.
0 Kudos
Message 1 of 3
(2,701 Views)

Hi achouch,

 

for example if i choose a voltage bigger than 2 Volt the program has to ignore it

So you want to implement

IF condition not met THEN ignore input

???

I guess you will need a comparison function and a case structure…

(This is just one possible answer, but there are other options available. You might also limit the allowed input range of your control to reasonable values!)

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
This widget could not be displayed.
This widget could not be displayed.
This widget could not be displayed.
0 Kudos
Message 2 of 3
(2,694 Views)

Thank you for your answer I wrote 'limit allowed input'  in google so i found that we can simply choose a range with clicking on 'properties' 😄

 

This widget could not be displayed.
This widget could not be displayed.
This widget could not be displayed.
0 Kudos
Message 3 of 3
(2,682 Views)