Quote:
Originally Posted by Alan Anderson
What you want to do is Open a solenoid in Begin, selecting the PCM channel(s) it is connected to, and save its device reference with an appropriate name using the solenoid RefNum Set function. Then in Teleop, read the button value -- it will be a boolean. Use a RefNum Get to retrieve the device reference and pass it to the solenoid Set function. Use the boolean button value to select between Forward and Reverse (or Off, if it's a single solenoid instead of a double one).
I'd post snippets of LabVIEW code here if I had it installed on this computer.
|
Will you be able to post snippets tomorrow? I'm still learning LabVIEW. Thanks for the help.