Go to Post I also hate it when I keep seeing this message: "You must spread some Reputation around before giving it to Andy Baker again." - dlavery [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 13-02-2012, 13:31
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
Labveiw Issue

I tried to hook up the 4 jaguars for the wheels and it doesnt work I dont know why. They other 2 jaguars for the Wheels and belts are not plugged in. We havent wired them up yet.

When hooked up, the jaguars blink. They aren't a steady color.

I believe this is what it says on the diagnostics on the driver station:
error -44007 occurred at wpi_motorcontrolrefnum registry get.vi>>teleop.vi>>robot main.
Attached Thumbnails
Click image for larger version

Name:	teleopvi.png
Views:	43
Size:	38.1 KB
ID:	11883  Click image for larger version

Name:	Beginvi.png
Views:	38
Size:	24.6 KB
ID:	11884  

Last edited by chall3613 : 13-02-2012 at 13:36.
Reply With Quote
  #2   Spotlight this post!  
Unread 13-02-2012, 14:07
Joe Ross's Avatar Unsung FIRST Hero
Joe Ross Joe Ross is offline
Registered User
FRC #0330 (Beachbots)
Team Role: Engineer
 
Join Date: Jun 2001
Rookie Year: 1997
Location: Los Angeles, CA
Posts: 8,579
Joe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond repute
Re: Labveiw Issue

In your begin, you appear to be missing the refnum name going into your refnum set for your robot drive.
Reply With Quote
  #3   Spotlight this post!  
Unread 13-02-2012, 14:42
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

Oh! I am not good at the refnum names. I had the same issue before with something else. Thank you.
Reply With Quote
  #4   Spotlight this post!  
Unread 13-02-2012, 15:59
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

ERROR <Code> -44007 occurred at WPI_RobotDriveRefNum Registry Get.vi>>Disabled.vi>>Robot Main.vi
<time>09:37:42 02/14/2012
FRC: The RefNum you are trying to Get does not exist in this RefNum Registry.


I'm still getting this error. We pluged the 4 jaguar motors in and as soon as I hit the enable button adjacent motors moved for a second, but then didn't do anything when I moved the joysticks.
Reply With Quote
  #5   Spotlight this post!  
Unread 13-02-2012, 20:56
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 names you called your motors don't match (exactly) in Begin and in Teleop.
Did you call the "Left and Right Motors" in Begin?
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle
Reply With Quote
  #6   Spotlight this post!  
Unread 14-02-2012, 00:03
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 that later, realizing the mistake but it still didn't work. The last post was what the driving station said afterwards.
Reply With Quote
  #7   Spotlight this post!  
Unread 14-02-2012, 00:17
Joe Ross's Avatar Unsung FIRST Hero
Joe Ross Joe Ross is offline
Registered User
FRC #0330 (Beachbots)
Team Role: Engineer
 
Join Date: Jun 2001
Rookie Year: 1997
Location: Los Angeles, CA
Posts: 8,579
Joe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond repute
Re: Labveiw Issue

Quote:
Originally Posted by chall3613 View Post
ERROR <Code> -44007 occurred at WPI_RobotDriveRefNum Registry Get.vi>>Disabled.vi>>Robot Main.vi
<time>09:37:42 02/14/2012
FRC: The RefNum you are trying to Get does not exist in this RefNum Registry.
(emphasis added)

Notice that this is a different error then the first one. This says there's now a RefNum issue in disabled.

Since things still aren't working, it would be helpful if you posted your modified code. Do you have anything else in telop?
Reply With Quote
  #8   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
  #9   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
  #10   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
  #11   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
  #12   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
  #13   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
  #14   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