Go to Post Getting your questions answered is what the big thick manual is for....GO READ. - Dorienne [more]
Home
Go Back   Chief Delphi > Technical > Programming > NI LabVIEW
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Spotlight this post!  
Unread 23-01-2009, 12:15
Robostang 548's Avatar
Robostang 548 Robostang 548 is offline
I can program the future...
AKA: Don
FRC #0548 (Robostangs)
Team Role: Programmer
 
Join Date: Jan 2007
Rookie Year: 2006
Location: Northville Mi
Posts: 69
Robostang 548 is on a distinguished road
Send a message via AIM to Robostang 548 Send a message via MSN to Robostang 548 Send a message via Yahoo to Robostang 548
Mysterious Ghost Signal on PWM 4

Has anyone else had something like this happen? Our team had a unique experience last night while using NI LabVIEW. We played around with a control scheme for our drivetrain. It has four motors. We ran the program from the front panel so we could edit some parameters while the program was running. One of these was a toggle switch that controlled a case statement in the program. In the false case, each motor was set to zero (basically a disable switch even though we already have one) and the true case would set each motor to the value of the y-axis of our joystick. When the program ran, the toggle switch was false, and the robot did nothing, however, when the joystick was neutral and the toggle switch was flipped to true, all the motors were neutral except the one on PWM number 4. We tried changing it so it wouldn't take the joystick input and would just assign neutral to the motor like it did in the false case yet it still would run at full. We were baffled that the same exact neutral assignment block was working in one case and never in another.

Next, we tried making a new LabVIEW frc project. We deleted all parts of the code that referenced any sorta pwm output or created a drive reference. We then opened a jaguar on pwm4 and in the main loop of the program, gave it a neutral assignment. We ran the program only to have the wheel running at full speed as soon as the program executed. We tried moving the jaguar to pwm10 and controlling it and had no issues.

So now we've ruled out that the jaguar is the problem. The digital sidecar might be broken but I'm still convinced it has something to do with LabVIEW seeing as how in our first test it did obey the assignment we sent to it in the false case. I'm fairly certain my pc has the newest LabVIEW frc updates and that the robot has the newest image on it but I can't be sure. Could a mismatch in software updates be the cause of this problem. Anyone else experienced anything like this?
__________________

Team 548:
Attending National Championship, Genesee District, Detroit District 2, West Michigan District, Michigan Championship?


Reply With Quote
 


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
pwm signal delay 3dude_2231 Programming 14 05-10-2007 20:08
Digital out signal speed on off, almost like PWM but at max 60Hz Generalx5 Electrical 2 27-03-2007 12:26
PWM Signal Noise? Danny Diaz Electrical 3 28-01-2007 17:02
Fading LEDs using a PWM signal from the Edubot DanL Programming 22 30-03-2004 00:07
Loss of signal in PWM cables. archiver 2001 6 23-06-2002 23:29


All times are GMT -5. The time now is 10:00.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


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