Go to Post "As president, I believe that robotics can inspire young people to pursue science and engineering. And I also want to keep an eye on those robots in case they try anything." — Barack Obama - Ted Weisse [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 04-02-2015, 18:22
Team3220's Avatar
Team3220 Team3220 is offline
Mechanic of Mayhem
FRC #3220 (Mechanics of Mayhem)
Team Role: Programmer
 
Join Date: Jan 2015
Rookie Year: 2013
Location: Washington
Posts: 21
Team3220 is an unknown quantity at this point
frc error 44061 loop/relay troubles

We are using the default mecanum with arm 2015 code, and we have added some relays (probably incorrectly). Whenever we drive the robot, it operates perfectly fine, with a working camera, but we get the infamous "Error 44061" every few seconds, over and over again, during TeleOp. I probably coded the relays wrong, as they perpetually run backwards, despite being assigned to buttons. What should we do? Can anyone help me with my relay/error troubles? I can post pictures of our begin/teleop VIs, if you think it will help.

Thanks!
Reply With Quote
  #2   Spotlight this post!  
Unread 04-02-2015, 19:41
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: frc error 44061 loop/relay troubles

It's easiest on us if you can zip and post the project.
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle
Reply With Quote
  #3   Spotlight this post!  
Unread 06-02-2015, 14:52
Team3220's Avatar
Team3220 Team3220 is offline
Mechanic of Mayhem
FRC #3220 (Mechanics of Mayhem)
Team Role: Programmer
 
Join Date: Jan 2015
Rookie Year: 2013
Location: Washington
Posts: 21
Team3220 is an unknown quantity at this point
Re: frc error 44061 loop/relay troubles

Here's our TeleOp code. It's us giving an error saying Relay DevRef isn't wired.
Attached Thumbnails
Click image for larger version

Name:	Relay Code.PNG
Views:	29
Size:	6.7 KB
ID:	18182  

Last edited by Team3220 : 06-02-2015 at 15:02.
Reply With Quote
  #4   Spotlight this post!  
Unread 06-02-2015, 15:03
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: frc error 44061 loop/relay troubles

Not enough to go on for the DevRef without the rest of the project.

However, what you posted does have a bunch of errors highlighted by all the red dots.

All the enumerated types used aren't the right ones for Relay.
Get one correct Relay Enum by
  • Deleting the wire into Relay (the one with the red dot)
  • Right-click on the now vacant Relay input node and choose Create->Constant
That's the correct Relay enum type.
  • Now make copies of the correct one and replace all the others
  • Finally, remove the Enum you created into Relay and wire Relay into the Select as it was before.
  • If done correctly all the red dots should be gone.
P.S.
What are you using this Relay for?
Forward, Reverse, Off are an unusual combination unless they're LEDs or something like that.
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle
Reply With Quote
  #5   Spotlight this post!  
Unread 06-02-2015, 15:08
Cecil's Avatar
Cecil Cecil is offline
Registered User
AKA: Alex Hummel
FRC #2010 (Lightning Bots)
Team Role: Mentor
 
Join Date: Dec 2008
Rookie Year: 2006
Location: Champion
Posts: 343
Cecil is a splendid one to beholdCecil is a splendid one to beholdCecil is a splendid one to beholdCecil is a splendid one to beholdCecil is a splendid one to beholdCecil is a splendid one to beholdCecil is a splendid one to behold
Re: frc error 44061 loop/relay troubles

It looks like you are using a RefNum Set instead of a RefNum Get. You'll only use the set (arrow going into the hashtag) in Begin.vi. You'll use the Get (arrow going away from the hashtag) in any other vi you want to use the device in.
__________________
I'm right 90% of the time, so why worry about the other 3%?
Reply With Quote
  #6   Spotlight this post!  
Unread 06-02-2015, 15:10
Team3220's Avatar
Team3220 Team3220 is offline
Mechanic of Mayhem
FRC #3220 (Mechanics of Mayhem)
Team Role: Programmer
 
Join Date: Jan 2015
Rookie Year: 2013
Location: Washington
Posts: 21
Team3220 is an unknown quantity at this point
Re: frc error 44061 loop/relay troubles

This is the code you gave us in another thread. We copied it. And yeah we fixed the Set/Get issue.....my bad xD
Reply With Quote
  #7   Spotlight this post!  
Unread 06-02-2015, 15: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: frc error 44061 loop/relay troubles

Cecil (aka Alex) caught it!
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle
Reply With Quote
  #8   Spotlight this post!  
Unread 06-02-2015, 17:24
Team3220's Avatar
Team3220 Team3220 is offline
Mechanic of Mayhem
FRC #3220 (Mechanics of Mayhem)
Team Role: Programmer
 
Join Date: Jan 2015
Rookie Year: 2013
Location: Washington
Posts: 21
Team3220 is an unknown quantity at this point
Re: frc error 44061 loop/relay troubles

Haha okay. And we're using this to raise/lower an arm to pick up the crates. We're using spike relays to control window motors that raise/lower the arm via a winch. I can post pictures, if you're (understandably) having problems understanding my vague description. Also, I changed my code to match your (Mark's) description. Still an error on the second comparison, but hopefully I can fix that this weekend.

Last edited by Team3220 : 06-02-2015 at 17:51.
Reply With Quote
  #9   Spotlight this post!  
Unread 06-02-2015, 21:27
Team3220's Avatar
Team3220 Team3220 is offline
Mechanic of Mayhem
FRC #3220 (Mechanics of Mayhem)
Team Role: Programmer
 
Join Date: Jan 2015
Rookie Year: 2013
Location: Washington
Posts: 21
Team3220 is an unknown quantity at this point
Re: frc error 44061 loop/relay troubles

Never mind- I fixed it. Thank you all!
Attached Thumbnails
Click image for larger version

Name:	Relay Update.PNG
Views:	20
Size:	9.2 KB
ID:	18185  

Last edited by Team3220 : 06-02-2015 at 21:47.
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 21:28.

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