FYI... Don't forget there is a known LabVIEW VI problem associated with the RELAY control.
It's reported here
http://decibel.ni.com/content/thread/6131?tstart=30 (and I only found it by accident).
If you are setting the relay to run in "Both Directions" it apparently works, but if you were like me and just wanted to turn something on, it was just dead.
Solution... open up the "RelaySet.vi" and connect the two "Relay Direction" terminals as shown in the NI post.
Phil.
Note: I really think a bigger deal should have been made about this. Is there a "known bugs" list anywhere...
I just "assumed" that the relay control would work..... It makes me start wondering about any code that should work, but doesn't..... coding error or known VI bug...
__________________
Phil Malone
Garrett Engineering And Robotics Society (GEARS) founder.
http://www.GEARSinc.org
FRC1629 Mentor, FTC2818 Coach, FTC4240 Mentor, FLL NeXTGEN Mentor