03-04-2011 11:22 AM
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.
03-07-2011 02:48 PM
Jrsnitko,
That sounds like it should work fine. What part is giving you trouble?
Regards,
Sam K
Applications Engineer
National Instruments
03-07-2011 03:04 PM
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.
03-08-2011 11:09 AM
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
03-08-2011 01:32 PM
I couldnt find an example for the 9472.
03-09-2011 10:47 AM
Jrsnitko,
Any of the following digital generation examples will work with the 9472.
Regards,
Sam K
Applications Engineer
National Instruments
03-09-2011 11:12 AM
Thank's I'll see what I can come up with!!
03-09-2011 01:09 PM
If my transducers output a 0-5V how does labview convert this to a pressure reading? Does it happen when calibrating the DAQ assistant?
03-09-2011 01:19 PM
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
03-10-2011 01:03 PM
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.