LabVIEW for LEGO MINDSTORMS and LabVIEW for Education

Showing results for 
Search instead for 
Did you mean: 

Any way to run VI's in real-time?

Go to solution

Good evening, 

First of all, I'm pretty new to both LabVIEW and NXT programming, so I hope this isn't an overly dumb question.


Right now, I'm have this little VI, to help me move a robotic arm along an absolute scale.

When I hit the run button, the knob value is picked up, the rotation sensor is picked up, then this data gets manipulated to determine the direction and amount of degrees to rotate the NXT motor. Then it stops altogether.

There's my problem, I need the VI to be able to update the knob's position as it gets turned, and not just read one value and then get stuck. 


Thanks in Advance, 

0 Kudos
Message 1 of 2
Accepted by topic author xDFA

I'm sorry, it was indeed a dumb question.


Ramp mode was set to constant. And this is why the loop never went past the motor moving, setting it to Ramp Down solved the problem.





Feel free to delete this thread, and sorry if it was a waste of anyone's time. 

0 Kudos
Message 2 of 2