Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   NI LabVIEW (http://www.chiefdelphi.com/forums/forumdisplay.php?f=182)
-   -   Error 44040 (http://www.chiefdelphi.com/forums/showthread.php?t=103101)

MrTechCenter 17-02-2012 19:22

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?

dotbran 17-02-2012 19:26

Re: Error 44040
 
I plugged in my compressor

SenorZ 17-02-2012 20:18

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.

MrTechCenter 17-02-2012 20:34

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.

SenorZ 17-02-2012 23:24

Re: Error 44040
 
Thank you for the tip MrTech. Will have to check that out tomorrow.

Duran.Perkins 27-09-2012 13:54

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?

Alan Anderson 27-09-2012 16:23

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.

Duran.Perkins 01-10-2012 17:17

Re: Error 44040
 
1 Attachment(s)
Team 4347 is quite honored to have an answer from Alan Anderson. We've attached a png of the robot main.vi. Thanks!

billbo911 01-10-2012 18:27

Re: Error 44040
 
1 Attachment(s)
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.

Alan Anderson 01-10-2012 20:38

Re: Error 44040
 
Quote:

Originally Posted by Duran.Perkins (Post 1188536)
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.


All times are GMT -5. The time now is 11:19.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi