Log in

View Full Version : Tank drive Labview autonomous


mbone206
21-03-2010, 22:30
We are running tank drive and allocating PWMs in Begin.

In Autonomous, having trouble setting speed with constants in tank drive (putting constants on tank drive VI). Also tried setting speed with constants in Arcade also, not workking. Can only work when use 'Open Motor and Set Speed VI' from Motor Control VIs in Autonomous. Do not think Watchdog is problem, tried adding feed watchdog.

Any help is greatly appreciated

Mark

Alan Anderson
22-03-2010, 15:30
One simple thing that can explain your problem is a mismatch between the drive motor names fed to the Refnum Set vi in Begin and the Refnum Get in Autonomous. Can you make absolutely sure that you don't have any upper/lowercase differences, or any extra spaces anywhere in one of them?

mbone206
26-03-2010, 22:21
Working...

It was something as simple as increasing motor setting, still not sure why...

Alan, thank you for reply...