relay device reference?

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

nevermind, i figured it out

In that case, please share with the rest of us.

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


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

I just figured that out like yesterday, until then I was doing what finman was. Oh well, as long as it works.