Go to Post That's one of the saddest stories I've ever heard. When your green isn't neon enough, you are in big trouble in FIRST. - JaneYoung [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 17-02-2012, 19:22
MrTechCenter's Avatar
MrTechCenter MrTechCenter is online now
INTENSITY
AKA: Harsharan "Harsh" Dhaliwal
FRC #2073 (Eagleforce)
Team Role: Mentor
 
Join Date: Sep 2011
Rookie Year: 2010
Location: Sacramento, CA
Posts: 559
MrTechCenter has a brilliant futureMrTechCenter has a brilliant futureMrTechCenter has a brilliant futureMrTechCenter has a brilliant futureMrTechCenter has a brilliant futureMrTechCenter has a brilliant futureMrTechCenter has a brilliant futureMrTechCenter has a brilliant futureMrTechCenter has a brilliant futureMrTechCenter has a brilliant futureMrTechCenter has a brilliant future
Error 44040

WPI_RelayCache.vi>>WPI_RelaySet.vi>>WPI_Compressor ControlLoop.vi>>Periodic Tasks.vi>>RobotMain.vi

FRC: The relay index is invalid.


Anybody know how to fix this?
Reply With Quote
  #2   Spotlight this post!  
Unread 17-02-2012, 19:26
dotbran dotbran is offline
Registered User
AKA: Brandon Olsen
FRC #3219 (TREAD)
Team Role: Programmer
 
Join Date: Feb 2010
Rookie Year: 2010
Location: Auburn, WA
Posts: 68
dotbran is on a distinguished road
Re: Error 44040

I plugged in my compressor
Reply With Quote
  #3   Spotlight this post!  
Unread 17-02-2012, 20:18
SenorZ's Avatar
SenorZ SenorZ is offline
Physics Teacher
AKA: Tom Zook
FRC #4276 (Surf City Vikings)
Team Role: Teacher
 
Join Date: Jan 2011
Rookie Year: 2011
Location: Huntington Beach, California
Posts: 935
SenorZ has a reputation beyond reputeSenorZ has a reputation beyond reputeSenorZ has a reputation beyond reputeSenorZ has a reputation beyond reputeSenorZ has a reputation beyond reputeSenorZ has a reputation beyond reputeSenorZ has a reputation beyond reputeSenorZ has a reputation beyond reputeSenorZ has a reputation beyond reputeSenorZ has a reputation beyond reputeSenorZ has a reputation beyond repute
Re: Error 44040

I am having the same exact error and it is driving me CRAZY!
We have everything set up exactly how it was last year. Did the same code, but added the periodic tasks element, as instructed, and it still doesn't work.
Reply With Quote
  #4   Spotlight this post!  
Unread 17-02-2012, 20:34
MrTechCenter's Avatar
MrTechCenter MrTechCenter is online now
INTENSITY
AKA: Harsharan "Harsh" Dhaliwal
FRC #2073 (Eagleforce)
Team Role: Mentor
 
Join Date: Sep 2011
Rookie Year: 2010
Location: Sacramento, CA
Posts: 559
MrTechCenter has a brilliant futureMrTechCenter has a brilliant futureMrTechCenter has a brilliant futureMrTechCenter has a brilliant futureMrTechCenter has a brilliant futureMrTechCenter has a brilliant futureMrTechCenter has a brilliant futureMrTechCenter has a brilliant futureMrTechCenter has a brilliant futureMrTechCenter has a brilliant futureMrTechCenter has a brilliant future
Re: Error 44040

I have resolved the issue. If you go through each vi listed above and you switch the flow from "Both Ways" to "Forward" on all of them it should resolve the issue.
Reply With Quote
  #5   Spotlight this post!  
Unread 17-02-2012, 23:24
SenorZ's Avatar
SenorZ SenorZ is offline
Physics Teacher
AKA: Tom Zook
FRC #4276 (Surf City Vikings)
Team Role: Teacher
 
Join Date: Jan 2011
Rookie Year: 2011
Location: Huntington Beach, California
Posts: 935
SenorZ has a reputation beyond reputeSenorZ has a reputation beyond reputeSenorZ has a reputation beyond reputeSenorZ has a reputation beyond reputeSenorZ has a reputation beyond reputeSenorZ has a reputation beyond reputeSenorZ has a reputation beyond reputeSenorZ has a reputation beyond reputeSenorZ has a reputation beyond reputeSenorZ has a reputation beyond reputeSenorZ has a reputation beyond repute
Re: Error 44040

Thank you for the tip MrTech. Will have to check that out tomorrow.
Reply With Quote
  #6   Spotlight this post!  
Unread 27-09-2012, 13:54
Duran.Perkins Duran.Perkins is offline
Registered User
FRC #4373
 
Join Date: Mar 2012
Location: Jenkintown, PA
Posts: 5
Duran.Perkins is an unknown quantity at this point
Re: Error 44040

To revive this thread -- we're working though our 44040 error. We put away our 'bot for the summer, and we're getting it going again. Everything is the same as it was...we double checked the wiring. Our indominable programmers have gone through the five vi's listed and ... well, we're not exactly sure what "flow" refers to in the previous posting. Any hints or ideas?
Reply With Quote
  #7   Spotlight this post!  
Unread 27-09-2012, 16:23
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 44040

Take a look at your Robot Main block diagram. Make sure that Periodic Tasks will not start running until Begin finishes. Post a picture of it if you're not sure what I'm saying, and I'll look for the problem that I suspect is there.
Reply With Quote
  #8   Spotlight this post!  
Unread 01-10-2012, 17:17
Duran.Perkins Duran.Perkins is offline
Registered User
FRC #4373
 
Join Date: Mar 2012
Location: Jenkintown, PA
Posts: 5
Duran.Perkins is an unknown quantity at this point
Re: Error 44040

Team 4347 is quite honored to have an answer from Alan Anderson. We've attached a png of the robot main.vi. Thanks!
Attached Thumbnails
Click image for larger version

Name:	ERMAHGERD.PNG
Views:	32
Size:	79.0 KB
ID:	13062  
Reply With Quote
  #9   Spotlight this post!  
Unread 01-10-2012, 18:27
billbo911's Avatar
billbo911 billbo911 is offline
I prefer you give a perfect effort.
AKA: That's "Mr. Bill"
FRC #2073 (EagleForce)
Team Role: Mentor
 
Join Date: Mar 2005
Rookie Year: 2005
Location: Elk Grove, Ca.
Posts: 2,372
billbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond repute
Re: Error 44040

I believe what my boy Harsh, aka MrTechCenter, was trying to say was:
If you open the Compressor "Open" vi in the Begin.vi, when you go to the block diagram, you can set the "Direction" of the relay. Three choices are there: "Both directions", "Forward only", and "Reverse only". Select "Forward Only".

See the attached picture for details.
Attached Thumbnails
Click image for larger version

Name:	Comp Forward.JPG
Views:	26
Size:	93.4 KB
ID:	13063  
__________________
CalGames 2009 Autonomous Champion Award winner
Sacramento 2010 Creativity in Design winner, Sacramento 2010 Quarter finalist
2011 Sacramento Finalist, 2011 Madtown Engineering Inspiration Award.
2012 Sacramento Semi-Finals, 2012 Sacramento Innovation in Control Award, 2012 SVR Judges Award.
2012 CalGames Autonomous Challenge Award winner ($$$).
2014 2X Rockwell Automation: Innovation in Control Award (CVR and SAC). Curie Division Gracious Professionalism Award.
2014 Capital City Classic Winner AND Runner Up. Madtown Throwdown: Runner up.
2015 Innovation in Control Award, Sacramento.
2016 Chezy Champs Finalist, 2016 MTTD Finalist
Reply With Quote
  #10   Spotlight this post!  
Unread 01-10-2012, 20:38
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 44040

Quote:
Originally Posted by Duran.Perkins View Post
We've attached a png of the robot main.vi.
The missing wire I expected between Begin and Timed Tasks...is not missing. So my hunch was wrong. Next step: show us the code involving the Compressor Open and the compressor loop itself so we can help some more.
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 22:10.

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