Lookout

cancel
Showing results for 
Search instead for 
Did you mean: 

if command...

Is it possible.?? 
 
at  Connection
 
Pot2=if(pot1=1, 0,pot2)
 
I want to repress..
if pot1 is 1 then pot2=0 and if pot1 is not 1 then do not change pot2
 
As i remember, loge time ago it was possible. but now it looks does'nt work.
 
 
thanks in advance and sorry for broken English.
0 Kudos
Message 1 of 2
(4,301 Views)

Unfortunately it is not possible now in Lookout.  We don't allow the expression such as pot1=pot1, or pot1=pot1+1. This will cause lookout to hang.

But good news is that we are trying to make it possible in the future.

Ryan Shi
National Instruments
0 Kudos
Message 2 of 2
(4,285 Views)