Go to Post What should the lesson of FIRST be? Work within your resources to build the most effective machine that you can--and, at the same time, work to increase those resources. - Billfred [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

 
Reply
 
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 14-02-2012, 08:32
Mark McLeod's Avatar
Mark McLeod Mark McLeod is offline
Just Itinerant
AKA: Hey dad...Father...MARK
FRC #0358 (Robotic Eagles)
Team Role: Engineer
 
Join Date: Mar 2003
Rookie Year: 2002
Location: Hauppauge, Long Island, NY
Posts: 8,833
Mark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond repute
Re: Labveiw Issue

The error in Disabled.vi means you changed the name of your main drive motors and didn't notice that the old name is used in Disabled.vi.
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle
Reply With Quote
  #2   Spotlight this post!  
Unread 14-02-2012, 20:40
chall3613 chall3613 is offline
Registered User
AKA: Candace
FRC #3613 (Team Wolf Pack)
Team Role: Programmer
 
Join Date: Jan 2012
Rookie Year: 2011
Location: New York
Posts: 28
chall3613 is an unknown quantity at this point
Re: Labveiw Issue

I changed the begin.vi and teleop.vi motor names and made sure disable.vi had the same name (I copied and pasted). I am no longer recieveing that message in the diagnostics only saying the camera isnt hooked up (which we arent going to use this year). But, they are still not working. I also have all 6 hooked up to the jaguars that are connected to the correct PWM.

Now that I think about it, could thoes wires be incorrect? How do we know they are facing the correct way?

(I hooked it up, myself, so I would know what you are talking about. We are using the ones with brown on one side and orange on the other)

Thank you for all your responces.
Attached Thumbnails
Click image for larger version

Name:	beginvi.png
Views:	16
Size:	20.5 KB
ID:	11901  Click image for larger version

Name:	teleopvi.png
Views:	13
Size:	16.6 KB
ID:	11902  
Reply With Quote
  #3   Spotlight this post!  
Unread 14-02-2012, 21:16
Mark McLeod's Avatar
Mark McLeod Mark McLeod is offline
Just Itinerant
AKA: Hey dad...Father...MARK
FRC #0358 (Robotic Eagles)
Team Role: Engineer
 
Join Date: Mar 2003
Rookie Year: 2002
Location: Hauppauge, Long Island, NY
Posts: 8,833
Mark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond repute
Re: Labveiw Issue

The robot is Enabled (it must be for the Jags to get a signal)?

An easy test for the PWM cable is to just reverse one end. If you had it backwards before, then the Jag light would go solid.
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle
Reply With Quote
  #4   Spotlight this post!  
Unread 15-02-2012, 11:26
chall3613 chall3613 is offline
Registered User
AKA: Candace
FRC #3613 (Team Wolf Pack)
Team Role: Programmer
 
Join Date: Jan 2012
Rookie Year: 2011
Location: New York
Posts: 28
chall3613 is an unknown quantity at this point
Re: Labveiw Issue

I tried moving the wires around and i never got a solid light. Am i putting them on the wrong prongs? It says PWM out. Sig Pwr (-) The brown is at the SIG and the orange is in the PWR. They are on the 3 prong one, directly next to the double prong set.
Reply With Quote
  #5   Spotlight this post!  
Unread 15-02-2012, 11:49
mtnteam mtnteam is offline
3747 - Programmer
AKA: Steven
FRC #3747 (ChaoTech)
Team Role: Programmer
 
Join Date: Jan 2012
Rookie Year: 2011
Location: Minnesota
Posts: 30
mtnteam is an unknown quantity at this point
Re: Labveiw Issue

Our team has a four motor drive, but were only using two PWM cables. Were using Y splitters for the left and right motors. You could try doing that and change the four motor to like Arcade Drive or Tank Drive. Basically back to the default.
Reply With Quote
  #6   Spotlight this post!  
Unread 15-02-2012, 11:54
Mark McLeod's Avatar
Mark McLeod Mark McLeod is offline
Just Itinerant
AKA: Hey dad...Father...MARK
FRC #0358 (Robotic Eagles)
Team Role: Engineer
 
Join Date: Mar 2003
Rookie Year: 2002
Location: Hauppauge, Long Island, NY
Posts: 8,833
Mark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond repute
Re: Labveiw Issue

I usually make the Brown wire the power (closest to standard black for ground).
On the Digital Sidecar the ground wire for PWMs is to the outside.

On the Jaguar the ground wire goes to the inside (it's marked too).

Even if you got one end wrong, trying the other end in both possible orientations would make it matchup eventually.

Here's a list:
  • PWMs opened (only once each) in Begin.vi
  • Code downloaded permanently to the robot (Build & Run as startup)
  • Driver Station running and in communication with robot
  • Robot Code light on DS also green
  • Robot Enabled at the Driver Station
  • 3 Power lights on Digital Sidecar all bright green
  • Digital module in slot 2 of the cRIO
  • DB37 cable between the cRIO Digital module and the Sidecar tested for miswiring (forms a loop when plugged into itself, NOT a mobius strip)
  • PWM cable ground on Digital sidecar (outside pin) maps to Jaguar ground (inside pin)
  • Jaguar powered (the blinking light confirms this)
Try downloading the Default code just while you're working to get the Jaguars communication. Ignore the control changes for now.
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle
Reply With Quote
  #7   Spotlight this post!  
Unread 15-02-2012, 16:20
chall3613 chall3613 is offline
Registered User
AKA: Candace
FRC #3613 (Team Wolf Pack)
Team Role: Programmer
 
Join Date: Jan 2012
Rookie Year: 2011
Location: New York
Posts: 28
chall3613 is an unknown quantity at this point
Re: Labveiw Issue

Thank you. The Y-Splitter worked. Now the only issue is, is that one is still not working. The belt. I had to switch it to a Victor because of an issue with a differnt jaguar and I changed it in the programming, but, even when it was a working jaguar, it wouldnt work. The wheels work, but not the belt. I dont see why it wouldn't when everthing thing else works. I even played with the PWM wires and the light never turned solid.
Reply With Quote
Reply


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


All times are GMT -5. The time now is 22:07.

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