I am trying to write a Labview program to turn on/off a 120 V solenoid valve (wired to NI USB- 6501 through a SS relay which gives 3-5V output). The problem I'm facing is that when I run the VI, the valve turns on at either Boolean values (1 or 0) but ideally I'd like it to turn on at 1 and off at 0.
I have attached the VI below. Can anyone help me figure out what I might be during wrong or if there's some other function I should be adding to make my VI work? I'm pretty new to using labview and would really appreciate any help!