|
Re: Buttons and Pneumatics Help
I don't see anything wrong with your code per se, but you probably should change your SolenoidChannel, SolenoidChannel 2, Solenoid Channel 3, etc. from controls to constants.
Right click on each solenoid channel control and select "Change to Constant". Then make sure the constant is the correct channel. If you leave them as controls, once the VI leaves memory and you reopen it (for instance if you deploy the code as standalone and reboot, or the next time you open LabVIEW), all the controls will revert to their default values unless the values are wired in from a calling VI. This means that they probably all will revert to channel 1, which is most likely not what you want.
|