Go to Post Mark McLeod, one of the resident experts on compiler weirdness - Kevin Watson [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 15-03-2016, 13:02
thecoopster20 thecoopster20 is offline
4th Year Programmer - Java
FRC #3602 (Robomos)
Team Role: Programmer
 
Join Date: Mar 2016
Rookie Year: 2014
Location: Escanaba, MI
Posts: 4
thecoopster20 is an unknown quantity at this point
Error -44036 Bricking Robot?

Upon the start of the code, the driver station practically spams "Error -44036 occurred at PWM frc0: An invalid set operation occurred, and the PWM channel was not allocated."

The above is paraphrased but it has the main info. Here's my problem, we don't use PWM control for anything. We use Talon SRX's wired to CAN and upon connecting, the proper device IDs appear in the web dashboard. When enabled, the status lights turn the standard solid orange, status lights seem good. Our external compressor will fire, joystick and gamepad presses and such appear on the dash. Yet the robot does nothing.

I even reverted the code an older version from our first competition, something I know works. What the heck is going on? Could this be a wiring error?
Reply With Quote
  #2   Spotlight this post!  
Unread 15-03-2016, 13:55
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,713
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 -44036 Bricking Robot?

Post the project and we'll tell you.
And I mean the whole zipped project from Documents/LabVIEW Data, not just snippets or individual vi's.

You might have a lost Motor Set abandoned somewhere in your code, probably off the block diagram screen or hidden underneath another structure.
Use Clean Up Diagram to find it.
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle

Last edited by Mark McLeod : 15-03-2016 at 14:05.
Reply With Quote
  #3   Spotlight this post!  
Unread 15-03-2016, 14:05
Alan Anderson's Avatar
Alan Anderson Alan Anderson is offline
Software Architect
FRC #0045 (TechnoKats)
Team Role: Mentor
 
Join Date: Feb 2004
Rookie Year: 2004
Location: Kokomo, Indiana
Posts: 9,112
Alan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond repute
Re: Error -44036 Bricking Robot?

That error usually points to an attempt to use a Set on a motor that you didn't successfully open.

Just for completeness, check your Talon SRX device IDs again. Better yet, have someone else check them. Then inspect the code to make sure you're doing a Motor Open followed by a Refnum Set (in Begin.vi) with the same name you later retrieve with Refnum Get. You'd get a different error if the spelling was off, so I suspect the problem is either with the Open function or with the way you're providing the Refnum to the Set function.
Reply With Quote
  #4   Spotlight this post!  
Unread 15-03-2016, 14:09
thecoopster20 thecoopster20 is offline
4th Year Programmer - Java
FRC #3602 (Robomos)
Team Role: Programmer
 
Join Date: Mar 2016
Rookie Year: 2014
Location: Escanaba, MI
Posts: 4
thecoopster20 is an unknown quantity at this point
Re: Error -44036 Bricking Robot?

Alright, I'll double check things with my mentor soon. If we cannot get it, I'll throw the project up here so you guys can reference it.
Reply With Quote
  #5   Spotlight this post!  
Unread 15-03-2016, 20:18
thecoopster20 thecoopster20 is offline
4th Year Programmer - Java
FRC #3602 (Robomos)
Team Role: Programmer
 
Join Date: Mar 2016
Rookie Year: 2014
Location: Escanaba, MI
Posts: 4
thecoopster20 is an unknown quantity at this point
Re: Error -44036 Bricking Robot?

Well, I gave up on the old project and switched to command and control. Problem solved.
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 08: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