LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

nxt running 3 motors

I have built a LabVIEW program to run the 3 nxt motor but the program wont run them all at one. they are placed in a for loop (to run ten times) but it carries out 10 iterations on the first motor the switches to the second an switches to the third why?? These two ways wont work

 

nxt motors.JPG

0 Kudos
Message 1 of 2
(2,086 Views)

Hello,

 

I think the problem is because the NXT's processor can only process one thread at a time. It cannot handle multiple threads and schedule time for each one (there is only 1 processing core). This is why the loops have to occur in sequence.

 

You will need to start each motor in sequence - this will happen very fast however!

 

Regards,

Nick
0 Kudos
Message 2 of 2
(2,048 Views)