10-30-2013 09:51 AM
I just set a button to move while pressed, and generate code. When testing the program, i found that the motor can only run for about 2second, then it stops, so you need to press the button again to make it work again. How to deal with it?
Solved! Go to Solution.
10-30-2013 10:25 AM
There is a really old thread if you can find it about the motor watch dog. This was supposed to be fixed a couple versions ago, but I still see people running into it. Basically there is a VI that tells the motors "yes, the brick is still connected you can continue to run". You can find this vi at "C:\Program Files (x86)\National Instruments\LabVIEW 2012\vi.lib\NXT\HiTechnic\FeedAllTETRIXWatchdogs.vi" We put this in a parallel loop running once every second and it fixed our issues.
Hope this helps,
-Steve
4150 Mentor
10-31-2013 10:21 AM
Thanks. It works.