LabVIEW for LEGO MINDSTORMS and LabVIEW for Education

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

Wait for NXT Color

Does the "Wait for NXT Color" block exist ?. I want an engine to advance until the color sensor detects the red color. That is possible to do in NXT-G and in NXC, but I can not see it in LabVIEW. 

I am using Labview 2016 and the NXT module for Labview 2016.

PD: Attached image.

Wait for NXT Color.png

 

0 積分
1 條訊息(共 2 條)
5,052 檢視

As far as I know it is not available as a function but easy to implement in a while loop.

Eventually add a wait (ms) function in the while to prevent a higher than necessary processor usage.

greetings from the Netherlands
0 積分
2 條訊息(共 2 條)
5,035 檢視