11-04-2009 06:52 PM
Hello,
I have used Labview before but I dont consider myself to be an expert. I am trying to actuate two solenoid valves using the USB 6525 DAQ. The valves need 12Vdc for 20-30ms to actuate, once switched no additional power is required to hold the valve in position. I want to use this DAQ becuase it has internal SS relays that I want to control using LabView. I want the Labview block Diagram to let the user choose when to open and close the relay using miliseconds( this is very important). Here are my questions:
1)How do I connect the valves to the USB 6525 DAQ with the external power source.(just to make sure)
2) I need help creating the block diagram, I dont know where to start
Any help will be greatly appreciated, I have been trying to solve this problem for more than a week.
Solved! Go to Solution.
11-04-2009 07:33 PM
The relays are opened/closed with a digital write command. You can use the lower level DAQmx functions or the DAQ Assistant. I would recomend you check out Getting Started with NI-DAQmx.
As far as timing, the device is software timed and unless you use a real-time OS, you are going to have considerable jitter in any timing function (i.e. Delay, Wait (ms), etc) you use. You can set the write time to 30 msec and it won't be any less than that but it could be 10's of ms greater.
11-05-2009 02:20 AM
The USB 6525 Manual states:
Switching rate (90% duty cycle) ............5 operations per second
11-05-2009 11:17 AM
11-12-2009 12:58 PM
I went over the Getting started with NI-DAQmx and it was very helpful. I was able to send simple analog signals to one of my DAQs and MAX is very easy to use and helpful when testing my hardware. But Im still confused on how to control the relays on my USB 6525. You mention that the relays are opened/closed with a digital write command, but is that an out put signal from labbview to the DAQ? Or do I need another DAQ to send a digital signal to the USB 6525?Which lowere level DAQmx function should I use to send the write command?
11-12-2009 03:58 PM
You can use the DAQ Assistant and select Generate Signals>Digital Output or use the DAQmx Write and change the polymorphic type to one of the digital output types. You change types by right clicking on the function and selecting 'Select Type'.
No, you do not need another DAQ card.
12-02-2009 04:43 PM
12-08-2009 01:26 PM
12-08-2009 02:07 PM - edited 12-08-2009 02:08 PM
You can use something as basic as the Read From Spreadsheet File or the Read From Text File. Converting from a 0,1 array is pretty basic as well.
12-10-2009 08:22 PM