|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
| Thread Tools | Rate Thread | Display Modes |
|
#1
|
||||
|
||||
|
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! |
|
#2
|
|||||
|
|||||
|
Re: frc error 44061 loop/relay troubles
It's easiest on us if you can zip and post the project.
|
|
#3
|
||||
|
||||
|
Re: frc error 44061 loop/relay troubles
Here's our TeleOp code. It's us giving an error saying Relay DevRef isn't wired.
Last edited by Team3220 : 06-02-2015 at 15:02. |
|
#4
|
|||||
|
|||||
|
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. |
|
#5
|
||||
|
||||
|
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.
|
|
#6
|
||||
|
||||
|
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
|
|
#7
|
|||||
|
|||||
|
Re: frc error 44061 loop/relay troubles
Cecil (aka Alex) caught it!
|
|
#8
|
||||
|
||||
|
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. |
|
#9
|
||||
|
||||
|
Re: frc error 44061 loop/relay troubles
Never mind- I fixed it. Thank you all!
Last edited by Team3220 : 06-02-2015 at 21:47. |
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|