Quantcast
Channel: Digital I/O topics
Viewing all articles
Browse latest Browse all 2177

Controlling a solenoid valve using a NI USB-6501 with Labview

$
0
0

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!

 

Valve control circuit.jpg


Viewing all articles
Browse latest Browse all 2177

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>