From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
06-03-2014 12:50 PM
Hi,
I'm new to this forum, so hopefully this is in the right place.
I am using an Ni 6009 with labview 2012 to turn on/off 4 valves. I am to the point where I can manually turn the valves on/off in the front panel, but what I need to do is have a timed cycle.
What I need to have is for example:
1) Valve 1 open, Valve 2 open, Valve 3 closed Valve 4 open.
2) Wait x amount of seconds.
3) Valve 1 open, Valve 2 closed, Valve 3 closed Valve 4 open.
etc.
How can I make this happen?
I'm fairly new to this program, so any help would be greatly appreciated.
This is what my block diagram looks like, it is attatched.
06-03-2014 01:41 PM
06-03-2014 02:28 PM
Great, I will try that and post my results.
Thanks!
06-04-2014 11:44 AM
Am I to have 4 booleans within each cluster? Then have x amount of clusters in the array?
06-04-2014 09:39 PM
I think I almost have this complete but I am getting an error message that I am unfamiliar with, can someone direct me on how I can fix this error, I have a picture of what I have and the message I am receiving. I'm having trouble connecting the physical channels.
06-05-2014 05:26 PM
Try creating the task in MAX, where you can specify the 4 lines (Dev1/port0/line0:3). Then in your DAQmx Create Virtual Channel.vi (in LabVIEW), wire the task you created into the "task in" input as a constant. (It will auto-populate in the pull-down menu.)
06-05-2014 06:02 PM
06-05-2014 08:59 PM
How did you unbundle the array??? Im getting that it is of two different types, one is an array and the other is a cluster.
06-05-2014 09:21 PM
06-09-2014 12:38 PM
I got this working, but is there a way for the array to reiterate? I want this sequence (picture is attatched) to occur over and over until the process needs to stop. I may need to have to run this for hours.