Go to Post While a great deal in engineering is random, unknown, and often unsolvable, nothing in engineering is black magic. - TedP [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 24-02-2015, 16:30
ninetypercent ninetypercent is offline
Registered User
FRC #1124
 
Join Date: Feb 2015
Location: Avon, CT
Posts: 2
ninetypercent is an unknown quantity at this point
Error 44036 PWM Not Allocated

Hi, I'm one of the coders of team 1124. I was having some problems opening talons. In begin, I use an open two motor vi but only one of the motors actually initializes while the other keeps on blinking. I'm not sure if it's a code problem or a mechanical problem, but the head coder tells me it's mechanical/electrical while the president tells me the electrical is fine. Is anyone else experiencing this issue, and how can I fix it?
Reply With Quote
  #2   Spotlight this post!  
Unread 24-02-2015, 16:37
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: Error 44036 PWM Not Allocated

Verify that the Talon has a unique CAN ID (via WebDash) and that the ID is only referenced once in Begin.
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle
Reply With Quote
  #3   Spotlight this post!  
Unread 24-02-2015, 16:38
ozrien's Avatar
ozrien ozrien is online now
Omar Zrien
AKA: Omar
no team
Team Role: Mentor
 
Join Date: Sep 2006
Rookie Year: 2003
Location: Sterling Heights, MI
Posts: 524
ozrien has a reputation beyond reputeozrien has a reputation beyond reputeozrien has a reputation beyond reputeozrien has a reputation beyond reputeozrien has a reputation beyond reputeozrien has a reputation beyond reputeozrien has a reputation beyond reputeozrien has a reputation beyond reputeozrien has a reputation beyond reputeozrien has a reputation beyond reputeozrien has a reputation beyond repute
Re: Error 44036 PWM Not Allocated

If you are seeing "Error 44036 PWM Not Allocated" in the DS then it's likely software. Are you using Talon SR or Talon SRX (CANBus or PWM)?

I assume PWM but I think the DS error for CAN in Labview might also say "...PWM not allocated..." so I wanted to check.

Double check how you are motor-open-ing in Begin. Are the string refs right everywhere?
Reply With Quote
  #4   Spotlight this post!  
Unread 24-02-2015, 16:48
ninetypercent ninetypercent is offline
Registered User
FRC #1124
 
Join Date: Feb 2015
Location: Avon, CT
Posts: 2
ninetypercent is an unknown quantity at this point
Re: Error 44036 PWM Not Allocated

I'm using 2 Talon SRs. One of them initializes while the other does not, but I use an open two motor vi for both of their PWM channels. And I double checked and I did make a mistake with one of the refnum names, but that doesn't explain why only one motor initialized out of the two motors. One talon continues blinking even when I enable the bot, while the other goes solid.

Last edited by ninetypercent : 24-02-2015 at 17:20.
Reply With Quote
  #5   Spotlight this post!  
Unread 24-02-2015, 18:05
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: Error 44036 PWM Not Allocated

A simple sanity test is to swap the PWM cable ends between the two Talons SRs to see if the working Talon follows the roboRIO PWM output.
Then swap the roboRIO ends of the cables.
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle

Last edited by Mark McLeod : 24-02-2015 at 18:09.
Reply With Quote
  #6   Spotlight this post!  
Unread 24-02-2015, 20:42
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,113
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 PWM Not Allocated

The error message is pretty specific. It strongly suggests that you are trying to use the same PWM channel for two different things. If you attach your code here, we can probably find the problem.
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:27.

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