LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

continuous run vs cycle time running (Boolean controlled)

From the front panel I would like a boolean switch to decide between continuous run and a 55 minutes on (true) and a 5 minutes off (false) This logic will be within a compressor on/off boolean which is fed to the daqassist dig out.  Im having trouble creating the logic for this timing sequence.  I was able to do x on and y off using a shift register in a while loop, but I cannot send that data out of the while loop. back to the compressor on/off structure.   I would like to know for the the 55 minutes on it will read in data, and for the 5 minutes off, the main boolean will be off (compressor off).  And when i switch to continuous mode, I will be able to output to the main loop.  Does labview offer a timing structure like this that is easily implemented.
0 Kudos
Message 1 of 3
(2,582 Views)
It's hard to tell what you're doing without seeing some code.
 
Why does the data need to exit the running while loop? Maybe you can place the compressor structure inside a case structure inside the loop.
 
(LabVIEW can do anything you want, once you know what you want. ;))
0 Kudos
Message 2 of 3
(2,576 Views)
Found a new solution to this problem using the functionality from the  Elapsed Time and some conditionals.
 
So no need to reply to the original post.
 
0 Kudos
Message 3 of 3
(2,564 Views)