LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Control System Help

Hi guys,

 

I dont have a lot of experience with labview, I have only acquired a signal. Need to acquire signal from displacement transducer and depending on position, need to control a 4 way soleniod valve that controls air cylinder. have a ni9201 input and ni9481 relay.

 

thanks!

0 Kudos
Message 1 of 7
(3,289 Views)
So what is your exact question? This is not a place to get your homework done. Post your code and explain what your difficulty is.

There are several free tutorials on-line. Have you taken any of them?
0 Kudos
Message 2 of 7
(3,275 Views)

This is for a project. I have a LVDT that I am reading an analog signal for position. I want the electromechanical relay NI 9481 to turn on or off at a set analog voltage. I have done some of the tutorials and searched online with no luck.daq assist output want a boolean array as its input (green) our daq assist thata cquires dat produces (blue) data type.        I guess the question is how to populate a boolean array with our processed acquired data?

0 Kudos
Message 3 of 7
(3,272 Views)
Surely the tutorials covered a basic comparison? If you use the DAQ Assistant, a simple build array function can convert a Boolean to the required input.

p.s. The ' blue' wire is the evil dynamic data. It can be converted to a waveform with a y array or to a number of other data types. Depends on how you are acquiring the analog signal. For a single sample, you can convert to a scalar.
0 Kudos
Message 4 of 7
(3,261 Views)

How do you correlate an LVDT which provides an analog input value to a boolean array?

 

If you just want a single ON/OFF, TRUE/FALSE boolean value, then you can use a Greater Than or Less than comparison to compare your analog input to some constant that you define.

 

I suggest doing more than just "some of the tutorials".

0 Kudos
Message 5 of 7
(3,259 Views)

where do i find this relay status check block in labview, i cant seem to find it.

http://digital.natinst.com/public.nsf/$CXIV/ATTACH-AEEE-76QSNL/$FILE/CheckRelay.jpg

0 Kudos
Message 6 of 7
(3,253 Views)

That's just a boolean indicator that happens to be labeled "Relay Status".

 

There is nothing special about that.

0 Kudos
Message 7 of 7
(3,212 Views)