Go to Post Lose lips sink... robots? (during a water game at least) - Zach O [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 18-01-2014, 10:02
pabigfe97 pabigfe97 is offline
Registered User
no team
 
Join Date: Jan 2014
Rookie Year: 2012
Location: Boston, MA
Posts: 7
pabigfe97 is an unknown quantity at this point
How to program Spike Relay in LabView

I've been having some trouble coding the spike relay for some time now, i can't get it to work at all... Could anyone tell me, with detail, how to code a spike relay in LabView?

Thanks!!
Reply With Quote
  #2   Spotlight this post!  
Unread 18-01-2014, 10:24
Kevin Phan's Avatar
Kevin Phan Kevin Phan is offline
College Student
FRC #0357 (Royal Assault)
Team Role: Alumni
 
Join Date: Apr 2013
Rookie Year: 2010
Location: PA, United States
Posts: 95
Kevin Phan will become famous soon enoughKevin Phan will become famous soon enough
Re: How to program Spike Relay in LabView

Can you explain what exactly are you using the relay for and when it stopped working? Also if you could post a screenshot of the code for the spike.
Reply With Quote
  #3   Spotlight this post!  
Unread 18-01-2014, 18:52
Mark McLeod's Avatar
Mark McLeod Mark McLeod is online now
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,713
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: How to program Spike Relay in LabView

The way to be sure that the programming is correct is that the Relay LEDs on the Digital Sidecar will light up red and green.
Here is one example that will just light the green Relay LED beside Relay 1:


Another example can be found from the Getting Started window in the LabVIEW Support->FRC Examples
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle

Last edited by Mark McLeod : 18-01-2014 at 18:55.
Reply With Quote
  #4   Spotlight this post!  
Unread 21-01-2014, 22:14
Dexterium's Avatar
Dexterium Dexterium is offline
Registered User
AKA: Adam Poindexter
FRC #1208 (Metool Brigade)
Team Role: Programmer
 
Join Date: Sep 2012
Rookie Year: 2011
Location: United States
Posts: 24
Dexterium is an unknown quantity at this point
Re: How to program Spike Relay in LabView

The above example code is great, but lacking something important.

There are 4 states you can set the relay to be.
  1. On
  2. Off
  3. Forward
  4. Reverse

On should never be used
Off is just off (Yellow light)
Forward is a positive 100% (Green light)
Reverse is a negative 100% (Red light)
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 08:20.

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