LabVIEW

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

0 Kudos
Message 1 of 3
(2,037 Views)
Solution
Accepted by topic author achouch

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
0 Kudos
Message 2 of 3
(2,030 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' 😄

 

0 Kudos
Message 3 of 3
(2,018 Views)