ni.com is currently experiencing unexpected issues.

Some services may be unavailable at this time.

取消
顯示結果 
搜尋替代 
您的意思是: 

Using "Choose" Statment in Lookout

To simplify, I have 3 POTS.  I want to select the value of (1) of the three pots in an expression (using a radio type switch).   When I use the expression CHOOSE.  The values do not show up.I have tried NCHOOSE and LCHOOSE also....
0 積分
1 條訊息(共 3 條)
3,486 檢視
you will need a fourth pot that you set to 1 2 or 3 and use nchoose function... something like this works.. nchoose(Pot4,Pot1,Pot2,Pot3)
0 積分
2 條訊息(共 3 條)
3,479 檢視
Max.... is right.  And if you want to use the Radio Object, you would just use it in place of Pot4, like this:  nchoose(Radio1,Pot1,Pot2,Pot3)
 
-Khalid
0 積分
3 條訊息(共 3 條)
3,475 檢視