Go to Post Ohh the [strike]humanity[/strike] robotity! - artdutra04 [more]
Home
Go Back   Chief Delphi > Technical > Programming
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Closed Thread
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 12-02-2011, 13:54
RoboGuy RoboGuy is offline
Registered User
FRC #3452 (GreengineerZ)
Team Role: Programmer
 
Join Date: Apr 2010
Rookie Year: 2010
Location: Michigan
Posts: 14
RoboGuy is on a distinguished road
Error with Motor refnum

Hi, I need some help with a Labview error code.
Here it is: ERROR <Code> -44007 occurred at WPI_MotorControlRefNum Registry Get.vi>>Periodic Tasks.vi>>Robot Main.vi
<time>13:37:37 02/12/2011
FRC: The RefNum you are trying to Get does not exist in this RefNum Registry.

I checked and all my refnum names are correct when I set them and get them.
  #2   Spotlight this post!  
Unread 13-02-2011, 07:37
Greg McKaskle Greg McKaskle is offline
Registered User
FRC #2468 (Team NI & Appreciate)
 
Join Date: Apr 2008
Rookie Year: 2008
Location: Austin, TX
Posts: 4,753
Greg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond repute
Re: Error with Motor refnum

This error means that you are trying to Get something that has not been opened.

This could mean that your open code failed to run. If you have other errors in Begin and you chain the errors together, a subVI that is sent an input error typically skips.

This could mean that your Open code works, but the Motor is being Closed before the Get.

This could mean that there is a race condition and the Get is called before the Open.

Of course this often means that the names are different. You may want to copy the Open name and paste it in the Get.

Greg McKaskle
  #3   Spotlight this post!  
Unread 13-02-2011, 07: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,856
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: Error with Motor refnum

Yesterday I found someone who mixed incompatible open and sets that generated this error.

They used Open 2 Motor, then tried Motor Set Output.
Even though the name matches it wasn't the same thing.
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle
  #4   Spotlight this post!  
Unread 13-02-2011, 09:53
KevinReid's Avatar
KevinReid KevinReid is offline
Registered User
FRC #2609 (Beaver worX)
Team Role: Mentor
 
Join Date: Feb 2008
Rookie Year: 2008
Location: Guelph
Posts: 48
KevinReid is a splendid one to beholdKevinReid is a splendid one to beholdKevinReid is a splendid one to beholdKevinReid is a splendid one to beholdKevinReid is a splendid one to beholdKevinReid is a splendid one to beholdKevinReid is a splendid one to behold
Re: Error with Motor refnum

You should check your 'periodic' loop also, it refers to the Joystick 1 and Drive Motors by their default name. Change to whatever your using or get rid of them if not required.
__________________
  #5   Spotlight this post!  
Unread 13-02-2011, 14:04
RoboGuy RoboGuy is offline
Registered User
FRC #3452 (GreengineerZ)
Team Role: Programmer
 
Join Date: Apr 2010
Rookie Year: 2010
Location: Michigan
Posts: 14
RoboGuy is on a distinguished road
Re: Error with Motor refnum

I rechecked the code and noticed I had deleted the error cluster in Begin.vi. So I think the periodic tasks in Main.vi was not waiting to run until Begin.vi finished and the motors I was referencing weren't set yet. I fixed this and I'll see tomorrow if it works out. Thanks for the help.
Closed Thread


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 23:40.

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