![]() |
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.:confused: :confused:
Thanks! |
Re: frc error 44061 loop/relay troubles
It's easiest on us if you can zip and post the project.
|
Re: frc error 44061 loop/relay troubles
1 Attachment(s)
Here's our TeleOp code. It's us giving an error saying Relay DevRef isn't wired.
|
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
What are you using this Relay for? Forward, Reverse, Off are an unusual combination unless they're LEDs or something like that. |
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.
|
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
|
Re: frc error 44061 loop/relay troubles
Cecil (aka Alex) caught it!
|
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.
|
Re: frc error 44061 loop/relay troubles
1 Attachment(s)
Never mind- I fixed it. Thank you all!
|
| All times are GMT -5. The time now is 10:25. |
Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi