I think there is an example you can get to from the LabVIEW Getting Started page in the lower right corner ("more...").
Here is a relay example for when you have a motor or double solenoid driven by a Spike. This does forward and reverse, but you can change "reverse" to "off" if you like.
Here is how you get buttons out of a joystick.