Go to Post Whatever you do, do it in graciously professional manner. - EricH [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 01-02-2015, 22:13
SuperBK's Avatar
SuperBK SuperBK is offline
Registered User
AKA: BrianK
FRC #1225 (Amperage Robotics)
Team Role: Mentor
 
Join Date: Jan 2007
Rookie Year: 2006
Location: Henersonville, NC
Posts: 357
SuperBK is just really niceSuperBK is just really niceSuperBK is just really niceSuperBK is just really nice
Re: Relay Problems

What language? Labview, C++, or java?
__________________
Brian K
Team 1225 Robotics Mentor
Reply With Quote
  #2   Spotlight this post!  
Unread 01-02-2015, 22:54
GeeTwo's Avatar
GeeTwo GeeTwo is offline
Technical Director
AKA: Gus Michel II
FRC #3946 (Tiger Robotics)
Team Role: Mentor
 
Join Date: Jan 2014
Rookie Year: 2013
Location: Slidell, LA
Posts: 3,594
GeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond repute
Re: Relay Problems

Quote:
Originally Posted by SuperBK View Post
What language? Labview, C++, or java?
I'd presume LabView, since it's on the LabView forum.
Reply With Quote
  #3   Spotlight this post!  
Unread 01-02-2015, 23:08
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: Relay Problems

This thread probably has what you want. See post #6 for sample code.
Reply With Quote
  #4   Spotlight this post!  
Unread 06-02-2015, 14:56
Team3220's Avatar
Team3220 Team3220 is offline
Mechanic of Mayhem
FRC #3220 (Mechanics of Mayhem)
Team Role: Programmer
 
Join Date: Jan 2015
Rookie Year: 2013
Location: Washington
Posts: 21
Team3220 is an unknown quantity at this point
Re: Relay Problems

Here's our code- it's giving us an error in TeleOp saying that the Relay DevRef needs to be wired. Also, we fixed the Set/Get issue
Attached Thumbnails
Click image for larger version

Name:	Relay Code 2.PNG
Views:	10
Size:	6.8 KB
ID:	18183  

Last edited by Team3220 : 06-02-2015 at 15:12.
Reply With Quote
  #5   Spotlight this post!  
Unread 06-02-2015, 15: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,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: Relay Problems

Quote:
Originally Posted by Team3220 View Post
Here's our code- it's giving us an error in TeleOp saying that the Relay DevRef needs to be wired.
You see your Relay RefNum Get? Yeah, what you have there is actually a Relay RefNum Set. Replace it with the right one and that error will be gone.
Reply With Quote
  #6   Spotlight this post!  
Unread 06-02-2015, 17:54
Team3220's Avatar
Team3220 Team3220 is offline
Mechanic of Mayhem
FRC #3220 (Mechanics of Mayhem)
Team Role: Programmer
 
Join Date: Jan 2015
Rookie Year: 2013
Location: Washington
Posts: 21
Team3220 is an unknown quantity at this point
Re: Relay Problems

We got it mostly fixed. Still an error on the second comparison. I'll post a picture when I get home.
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 10:21.

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