Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   NI LabVIEW (http://www.chiefdelphi.com/forums/forumdisplay.php?f=182)
-   -   LabVIEW - Analog inputs from driver station lag? (http://www.chiefdelphi.com/forums/showthread.php?t=73230)

RedOctober45 30-01-2009 09:57

LabVIEW - Analog inputs from driver station lag?
 
Hey guys!

We made our own controller box to control various motors on our robot. This is plugged into the analog and digital inputs on our driver station. The actual input seems to work fine but we have seen weird issues on the motor itself. We are using the analog inputs connected to potentiometers to control the motor speed and then a digital switch to turn them on or off. When one is turned on, all of the values going to the motor seem to be steady and good, however, the motor will reverse direction randomly every now and then when we try to adjust the motor speed using the analog pot. The values of this analog control seem to be good too and no negetive values are getting to the motor itself nor coming out of the pot. I thought maybe putting a saturation on the values going into the motor, just in case.

Any ideas?

Our thoughts was maybe some sort of lag from the LabVIEW to the actual control system since we are not deploying it and running it from the laptop which we have had different issues with already.

Thanks!

Tom Line 30-01-2009 10:39

Re: LabVIEW - Analog inputs from driver station lag?
 
You need to put a max/min limiter on the wire going to the motor. I have not tried this on the new control system, but if you tried to output a value higher than the old maximum on the IFI system, it would "flip" and become negative.

Use the limit and coerce function in labview with limits of -1 and 1 to see if this is your problem.


All times are GMT -5. The time now is 08:37.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi