Go to Post If it walks like a duck, and talks like a duck could be a very clever animatronics display created by Disney Imagineers.... Sometimes it is just a duck. - IKE [more]
Home
Go Back   Chief Delphi > FIRST > General Forum
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 16-02-2012, 10:32
gencarelli2600 gencarelli2600 is offline
Registered User
FRC #2600
 
Join Date: Feb 2012
Location: jefferson
Posts: 2
gencarelli2600 is an unknown quantity at this point
Exclamation spike relay help

In LabView, we are having trouble with our spike relays. the physical spike is wired correctly and running, but it is not being read in LabView. Any suggestions or any recommendations would be helpful. Thanks from team Falcon 2600
Reply With Quote
  #2   Spotlight this post!  
Unread 16-02-2012, 10:35
Ether's Avatar
Ether Ether is offline
systems engineer (retired)
no team
 
Join Date: Nov 2009
Rookie Year: 1969
Location: US
Posts: 8,124
Ether has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond repute
Re: spike relay help

Quote:
Originally Posted by gencarelli2600 View Post
...spike is wired correctly and running, but it is not being read in LabView..
What are you trying to "read" from the Spike?

Reply With Quote
  #3   Spotlight this post!  
Unread 16-02-2012, 13:21
gencarelli2600 gencarelli2600 is offline
Registered User
FRC #2600
 
Join Date: Feb 2012
Location: jefferson
Posts: 2
gencarelli2600 is an unknown quantity at this point
Re: spike relay help

i mean the spike is not responding, but the light is on and correctly wired
Reply With Quote
  #4   Spotlight this post!  
Unread 16-02-2012, 13:29
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,899
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: spike relay help

Are the Digital Sidecar 3 power LEDs all bright green?
Are the Digital Sidecar Relay LEDs lighting up when they should?
Off = off
Red - reverse
green = forward
red & green = On
If those aren't lighting and the Driver Station reports Communications, Robot Code, and Enabled, then your code is not doing what you think it should.

If the LEDs are lighting up properly, then it'll be between the Digital Sidecar and the Spike.
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle
Reply With Quote
  #5   Spotlight this post!  
Unread 16-02-2012, 14:56
PJ551234 PJ551234 is offline
Registered User
FRC #2600
 
Join Date: Feb 2012
Location: United States
Posts: 6
PJ551234 is an unknown quantity at this point
Re: spike relay help

Hello, I am the programmer for the 2600 team and I have now tried everything that I can think of. First off some background info we have three spike relays two for motors and one for the compressor. When I enable the robot with my project(see attached) deployed and running the relays do not respond at all. I have tried sending user data of both the status of one relay and any errors to the driver station and what I find weird is that it didn't even show "off" never mind forward or reverse. I have checked and double checked the wiring and finally tried formatting the cRIO and running the relay example provided with lab view all to no avail. To answer your question, the light is constantly just on, the amber yellow green color. Thanks in advance for everyone's time and help.
PJ
Attached Files
File Type: zip 2012.zip (189.2 KB, 8 views)
Reply With Quote
  #6   Spotlight this post!  
Unread 16-02-2012, 15:07
Ether's Avatar
Ether Ether is offline
systems engineer (retired)
no team
 
Join Date: Nov 2009
Rookie Year: 1969
Location: US
Posts: 8,124
Ether has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond repute
Re: spike relay help

Quote:
Originally Posted by PJ551234 View Post
... I have now tried everything that I can think of.
Did you check everything that Mark suggested in post#4?

Reply With Quote
  #7   Spotlight this post!  
Unread 16-02-2012, 15:10
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,899
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: spike relay help

The Spike light just means it's getting 12v power.

On the Digital Sidecar are 8 paired sets of red and green LEDs, one pair for each of the Relay outputs. It's that trough in front of the Relay signal pin connections.
What are they doing, if anything?

Does your 37-pin cable that connects to the Digital Sidecar form a simple loop or does it form a mobius strip when plugged into itself? Since, so many of those Kit cables were wired incorrectly this year that's probably something you might have already checked.

P.S.
The code you posted isn't functional. Did you make an untested change after your test and post that?
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle

Last edited by Mark McLeod : 16-02-2012 at 15:19.
Reply With Quote
  #8   Spotlight this post!  
Unread 16-02-2012, 15:12
PJ551234 PJ551234 is offline
Registered User
FRC #2600
 
Join Date: Feb 2012
Location: United States
Posts: 6
PJ551234 is an unknown quantity at this point
Re: spike relay help

Thanks for pointing that out, re-reading it I noticed I read the dio relay leds wrong and just thought it said for the leds on the spike. I hadn't thought of it but they don't light up at all but im not sure what could account for that especially after trying the example that came with labview.
Reply With Quote
  #9   Spotlight this post!  
Unread 16-02-2012, 15:16
PJ551234 PJ551234 is offline
Registered User
FRC #2600
 
Join Date: Feb 2012
Location: United States
Posts: 6
PJ551234 is an unknown quantity at this point
Re: spike relay help

I hadn't checked the cable and we are using the one that came with the kit this year.
Reply With Quote
  #10   Spotlight this post!  
Unread 16-02-2012, 15:25
PJ551234 PJ551234 is offline
Registered User
FRC #2600
 
Join Date: Feb 2012
Location: United States
Posts: 6
PJ551234 is an unknown quantity at this point
Re: spike relay help

And I didn't notice the ps sorry, what about the code isn't functional, I started just changing a lot of things rushing around so im not completely sure what I did but I do have older versions saved. What's wrong with it though? Thanks again for all the help and quick replies.
Reply With Quote
  #11   Spotlight this post!  
Unread 16-02-2012, 15:31
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,899
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: spike relay help

Nothing serious.
You were partway through adding in your messages to be written to the Driver Station in Teleop, so Teleop is broken. It has two tunnels that are undefined (unwired).

Your code looks like the Relay parts should work fine.

You have a bug in Begin that will prevent your code from running though.
The Compressor Control Loop must be removed. It's already in Periodic Tasks where it should be.

The Compressor Control Loop is never ending, so placed in Begin it never lets Begin finish and move on to Teleop.
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle

Last edited by Mark McLeod : 16-02-2012 at 15:35.
Reply With Quote
  #12   Spotlight this post!  
Unread 16-02-2012, 15:38
PJ551234 PJ551234 is offline
Registered User
FRC #2600
 
Join Date: Feb 2012
Location: United States
Posts: 6
PJ551234 is an unknown quantity at this point
Re: spike relay help

Yes, I had been working on the message before and after the last trial but when it was connected, the messages box was simply blank. What was the problem with the digital sidecar connector, I hadn't read anything on that? I added the control loop in after trying it without it, just to see if it would change anything.
Reply With Quote
  #13   Spotlight this post!  
Unread 16-02-2012, 15:41
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,899
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: spike relay help

Here's FIRST's description of the cable problem: http://www.usfirst.org/sites/default...structions.pdf

It's linked from the KOP Control System page.
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle
Reply With Quote
  #14   Spotlight this post!  
Unread 16-02-2012, 15:59
PJ551234 PJ551234 is offline
Registered User
FRC #2600
 
Join Date: Feb 2012
Location: United States
Posts: 6
PJ551234 is an unknown quantity at this point
Re: spike relay help

Thanks for all your help ill be in tomorrow working on so hopefully this is the solution. Thanks again.
Reply With Quote
  #15   Spotlight this post!  
Unread 16-02-2012, 16:06
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,899
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: spike relay help

P.S.
There's more left over wrongness that should be dealt with. I don't know everything that may be hidden, but:

- Robot Main needs Begin tied in to the While loop. You don't want Teleop called before the Begin finishes Opening everything.
- Begin has a Driver Station Start COM that doesn't belong there. It's already in Robot Main where it belongs.
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle
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 07:28.

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