Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

Controlling a solenoid and recording pressure

Hello All,

I am a new user to LabView and am having some trouble writing a VI

The equipment I currently have:

4 Pressure Transducers that take a 12VDC input and put out a 0-5VDC signal

NI 9201

NI 9472

 

What I was wanting to do is power a solenoid with the 9472 using a relay for 5 minutes then power it for 3.555 seconds wait 6 seconds (and do this 60 times) and be recording the pressure during this entire test and 24 hours after the test has been completed.

0 Kudos
Message 1 of 15
(3,860 Views)

Jrsnitko,

 

That sounds like it should work fine.  What part is giving you trouble?

 

Regards,

 

Sam K

Applications Engineer

National Instruments

0 Kudos
Message 2 of 15
(3,833 Views)

Well everytime I try to configure my DAQmx to write the code. It doesn't work and no power is going out of the line to the relay I'm using, and it wont fire the solenoid. I am also having trouble writing the code too.

0 Kudos
Message 3 of 15
(3,829 Views)

Jrsnitko,

 

Start simple.  Try using an example from the LabVIEW example finder (Help>>Find Examples) that does digital output and test it using a DMM.  Next add the relay and test to make sure that is working.  The examples provide fully functional, editable code so they are a great place to start.

 

Let us know if you have specific questions and we will be happy to help.

 

Regards,

 

Sam K

Applications Engineer

National Instruments

0 Kudos
Message 4 of 15
(3,809 Views)

I couldnt find an example for the 9472.

0 Kudos
Message 5 of 15
(3,805 Views)

Jrsnitko,

 

Any of the following digital generation examples will work with the 9472.

 

SP32-109.jpg

 

Regards,

 

Sam K

Applications Engineer

National Instruments

0 Kudos
Message 6 of 15
(3,784 Views)

Thank's I'll see what I can come up with!!

0 Kudos
Message 7 of 15
(3,781 Views)

If my transducers output a 0-5V how does labview convert this to a pressure reading? Does it happen when calibrating the DAQ assistant?

0 Kudos
Message 8 of 15
(3,777 Views)

Jrsnitko,

 

You can create your own custom scale to use based on your transducers.  This can be created in MAX and imported to LabVIEW.

 

Regards,

 

Sam K

Applications Engineer

National Instruments

0 Kudos
Message 9 of 15
(3,775 Views)

I got the scale to work! But I'm still having trouble firing the solenoid, the relay takes at least 4V to be able to power the solenoid. When I use MAX to test the solenoid it works on HI but it wont shutoff after i press start, so I know it will work I'm just having difficulty trying to power this solenoid precisely and for a certain time limit.

0 Kudos
Message 10 of 15
(3,745 Views)