Go to Post The game objectives are still the same, get boxes into your scoring zone, stack approximately half of them, run for the top of the ramp. So lets sit down, shut up, and start building robots. - ChrisH [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 Rating: Thread Rating: 11 votes, 4.64 average. Display Modes
  #16   Spotlight this post!  
Unread 12-02-2012, 16:47
Bill McKinney Bill McKinney is offline
Registered User
no team
Team Role: Coach
 
Join Date: Nov 2010
Rookie Year: 2010
Location: Trout Lake, WA
Posts: 8
Bill McKinney is an unknown quantity at this point
Re: Compressor Control Loop: Relay Index is Invalid; also, Robot Drive not Running fa

Team 3711 has just run into the same message . Our code looks exactly like that shown above for all three vi's. And we're getting the invalid relay index message (and "invalid" indications in the control loop vi front panel)
Modules are set to the default of 1. Both the pressure switch and spike PWM are in the number 1 slots. We've replaced PWM cable and spikes. The spike gets a continuous orange(ish) light and receives no signal.
If someone does have a workaround we'd love to see it since we're testing pneumatics on the robot using a manual switch at the moment.
Thanks very much.
Reply With Quote
  #17   Spotlight this post!  
Unread 12-02-2012, 17:13
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,731
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: Compressor Control Loop: Relay Index is Invalid; also, Robot Drive not Running fa

Use your code that works.
There's nothing sacred about the custom vi. It's just easier to work with common code if we're helping someone.
It adds some extra complexity in it's design to handle multiple compressors, but serves as an interesting example of doing that.

It's time for a little library decomposition to see where the sensitivities may lie.
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle

Last edited by Mark McLeod : 12-02-2012 at 17:23.
Reply With Quote
  #18   Spotlight this post!  
Unread 12-02-2012, 19:53
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: Compressor Control Loop: Relay Index is Invalid; also, Robot Drive not Running fa

Quote:
Originally Posted by Bill McKinney View Post
Team 3711 has just run into the same message . Our code looks exactly like that shown above for all three vi's. And we're getting the invalid relay index message (and "invalid" indications in the control loop vi front panel)
Modules are set to the default of 1.
Is a puzzlement. Can you post your code so we can go through it in detail, looking for anything that isn't quite right?

Quote:
Both the pressure switch and spike PWM are in the number 1 slots.
I think you're talking about the 3-pin connections on the Digital Sidecar, but in case you're talking about the cRIO module, that needs to be in the number 2 slot.
Reply With Quote
  #19   Spotlight this post!  
Unread 13-02-2012, 16:10
Bill McKinney Bill McKinney is offline
Registered User
no team
Team Role: Coach
 
Join Date: Nov 2010
Rookie Year: 2010
Location: Trout Lake, WA
Posts: 8
Bill McKinney is an unknown quantity at this point
Re: Compressor Control Loop: Relay Index is Invalid; also, Robot Drive not Running fa

Quote:
Originally Posted by Alan Anderson View Post
Is a puzzlement. Can you post your code so we can go through it in detail, looking for anything that isn't quite right?



I think you're talking about the 3-pin connections on the Digital Sidecar, but in case you're talking about the cRIO module, that needs to be in the number 2 slot.
Thanks again for your help on this. Yep, the slots referred to were in the sidecar. We have now created a new compressor while loop in the periodic tasks VI per the code given earlier in this thread and everything is working fine. All wiring (PWM and pressure switch) remains the same so it was certainly (if there is such a thing) an issue with code in the compressor loop VI.
Incidentally, I won't add our original non-working code here since it was an exact dupe of the suggested code from this thread.
Of course it's crunch time and there are more probs, but this will be interesting to think more about in a couple of weeks!
Thanks.
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 03:43.

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