LabVIEW for LEGO MINDSTORMS and LabVIEW for Education

cancel
Showing results for 
Search instead for 
Did you mean: 

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 Kudos
Message 1 of 2
(2,994 Views)

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 Kudos
Message 2 of 2
(2,977 Views)