Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

valve actuation

Solved!
Go to solution

That's just another value that you read from the file. Probably just need to wire that to a Delay function. Use the error in/error out connections to control the order of the code (i.e. if you want the delay before or after the DAQmx Write.

 

You said you had used LabVIEW before but my guess is that you really haven't used it more than a couple of days. Try the tutorials.

0 Kudos
Message 11 of 18
(2,465 Views)
Thanks. Ill finish the tutorials and then Ill get back to you
0 Kudos
Message 12 of 18
(2,449 Views)

 Thanks for recommending the tutorial. I learned alot of Labview functions especialy how to debug VI's. I managed to build a block diagram for my valve sequence. It works. I attached the VI and text file. Feel free to give me any advice to improve the code. Once again Thank you

 


Download All
0 Kudos
Message 13 of 18
(2,414 Views)
Here's something just a wee bit simpler.Smiley Wink
Message 14 of 18
(2,401 Views)
Forgot to mention that I changed the text file to have all columns separated by a single tab. Much, much easier to read that way.
Message 15 of 18
(2,396 Views)
Solution
Accepted by Cheebers
Wow. That is much eaiser than mine. I guess my block diagram helped me visualize what I was trying to do. Thanks for the help 🙂 problem solved!!
0 Kudos
Message 16 of 18
(2,327 Views)

Hello,
As happened to Cheebers, I am a user of Labview but not an expert. I have a USB-6525 DAQ and I just want it to work as a relay, opening and closing a gate as shown in the manual of the DAQ (se attached). But I not find the solution. Iownload the ".vi" that Cheebers and Knutson did,and it sems the software works well on my PC, no error on the card is reveal by message but I can't "see" that the terminal closes.

I'm connecting the wires of the load in P0.0A and P0.0B terminal and controling if they close (when runing the "Simpler LED Control .vi"for example) using a multimeter. How do I make this simple instruction in Labview? i.e. opening and closing P0.0B P0.0A terminals (as I can and check for continuity in the multimeter)?

Thanks very much

0 Kudos
Message 17 of 18
(1,759 Views)

Hey jmoya,

 

The relay in the 6525 is normally open, so make sure you are checking the high and low states. 

 

You may try something simpler than a spreadsheet just to be certain.

 

Also, the knowledgebase article located here has some information on what you are trying to do.

Regards,
Jake G.
National Instruments
Applications Engineer
0 Kudos
Message 18 of 18
(1,724 Views)