Go to Post If you have not had a positive experience in FIRST, please don't bring those that have down. - Jeff K. [more]
Home
Go Back   Chief Delphi > Technical > Programming
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Closed Thread
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 09-02-2009, 16:45
finman's Avatar
finman finman is offline
Programmer
AKA: Chris Finley
FRC #0888 (Robotiators)
Team Role: Programmer
 
Join Date: Mar 2008
Rookie Year: 2008
Location: Glenelg, MD
Posts: 16
finman is an unknown quantity at this point
relay device reference?

is there a way to create a relaydevref similar to joystickdevref so that i can reference the device globally?
__________________


"Red goes to black, right guys?" ~Mike Mascaro: Our Fearless Leader
  #2   Spotlight this post!  
Unread 10-02-2009, 11:51
finman's Avatar
finman finman is offline
Programmer
AKA: Chris Finley
FRC #0888 (Robotiators)
Team Role: Programmer
 
Join Date: Mar 2008
Rookie Year: 2008
Location: Glenelg, MD
Posts: 16
finman is an unknown quantity at this point
Re: relay device reference?

nevermind, i figured it out
__________________


"Red goes to black, right guys?" ~Mike Mascaro: Our Fearless Leader
  #3   Spotlight this post!  
Unread 10-02-2009, 12:00
EricVanWyk EricVanWyk is offline
Registered User
no team
 
Join Date: Jan 2007
Rookie Year: 2000
Location: Boston
Posts: 1,597
EricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond repute
Send a message via AIM to EricVanWyk
Re: relay device reference?

Quote:
Originally Posted by finman View Post
nevermind, i figured it out
In that case, please share with the rest of us.
  #4   Spotlight this post!  
Unread 10-02-2009, 16:42
finman's Avatar
finman finman is offline
Programmer
AKA: Chris Finley
FRC #0888 (Robotiators)
Team Role: Programmer
 
Join Date: Mar 2008
Rookie Year: 2008
Location: Glenelg, MD
Posts: 16
finman is an unknown quantity at this point
Re: relay device reference?

there may be a better way to do this, but i was able to do so as follows(this should work for other devices as well as relays):

-place the "open relay" vi wherever you need it e.g. begin
-right click on the device reference out terminal and select create>constant
-cut and paste the block created into the global variables vi
-you should now be able to access this from the robot data in bundle

please let me know if you have more questions; having a global reference actually made the relays work for me, they had not been doing so previously

-chris
__________________


"Red goes to black, right guys?" ~Mike Mascaro: Our Fearless Leader
  #5   Spotlight this post!  
Unread 10-02-2009, 16:56
Greg McKaskle Greg McKaskle is offline
Registered User
FRC #2468 (Team NI & Appreciate)
 
Join Date: Apr 2008
Rookie Year: 2008
Location: Austin, TX
Posts: 4,753
Greg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond repute
Re: relay device reference?

That procedure certainly works. You can also open up one of the subVIs for relay and copy the reference control or indicator. Return to your VI, paste, and connect to the connector pane.

Greg McKaskle
  #6   Spotlight this post!  
Unread 10-02-2009, 17:59
Luke Pike's Avatar
Luke Pike Luke Pike is offline
Programmer
FRC #1501 (THRUST)
Team Role: Mentor
 
Join Date: Jan 2008
Rookie Year: 2008
Location: Huntington
Posts: 114
Luke Pike is a name known to allLuke Pike is a name known to allLuke Pike is a name known to allLuke Pike is a name known to allLuke Pike is a name known to allLuke Pike is a name known to all
Re: relay device reference?

Quote:
Originally Posted by Greg McKaskle View Post
That procedure certainly works. You can also open up one of the subVIs for relay and copy the reference control or indicator. Return to your VI, paste, and connect to the connector pane.
I just figured that out like yesterday, until then I was doing what finman was. Oh well, as long as it works.
__________________
Twitter Profile
Closed Thread


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

Similar Threads
Thread Thread Starter Forum Replies Last Post
cim reference table bensamra34 Technical Discussion 0 16-01-2008 19:57
Fastener reference Dick Linn Technical Discussion 12 17-06-2007 16:05
IFI Reference Guides MikeDubreuil Control System 1 10-01-2006 12:13
ME reference manual Gdeaver Technical Discussion 10 06-12-2005 12:42
reference manuals sciguy125 Career 11 05-09-2005 12:31


All times are GMT -5. The time now is 21:48.

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