|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools | Rate Thread | Display Modes |
|
|
|
#1
|
|||
|
|||
|
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! |
|
#2
|
||||
|
||||
|
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. |
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Programming Digital Inputs from Driver Station | spooncwru | Programming | 8 | 01-02-2009 13:14 |
| Using driver station digital inputs | Japper | FRC Control System | 6 | 19-01-2009 20:01 |
| Problem Downloading Program from WindRiver to Driver Station | The_Laughing_ManMII | C/C++ | 10 | 09-01-2009 20:03 |
| Analog Inputs | bush | Programming | 5 | 13-03-2006 17:49 |
| digital inputs lag 0.5-1.0 second before registering change | colman77 | Programming | 6 | 17-02-2006 12:40 |