Quote:
Originally Posted by team877
I would like to know how to do both!!! haha
|
You could use a case structure attached to the button, or one of those boolean selectors with the question mark.
For the case structure, you would just put the relay function in the C/S, then wire a constant to the input.
The boolean selector would be similar but smaller and simpler, and if you know what Im talking about, I'd use it.
Go here for how to use the relay function (as well as any other first function):
http://decibel.ni.com/content/docs/DOC-2631
If you right click on the input node and select create->constant it will put an enum there with forward and reverse settings. Because it is an enum, the three states will be 0, 1, 2 for forward, reverse and off, I think (in no particular order, check the enum for the real values).
Hope that helps get you on your way. That should be enough to do both of those scenarios.