LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

clock where i need a pause in it

I have created a vi with 2 clocks in it. I need a pause function in this clock. When i press pause it should wait for the start butten to run the rest of the time.
When i press reset the clock stops totaly. When i press start then the Clock starts to run from the first clock.
How to fix this???


I'm using Labview 6.1 and Fieldpoint hardware.

Tia William
Running with Labview 6.1
Fieldpoint hardware
0 Kudos
Message 1 of 4
(2,585 Views)
Hello William,

Thank you for your inquiry regarding a pause in your application. I didn't completely understand the question that you were asking. Which clock did you need the pause function in? Could you provide a clearer description of how you would like the vi to run? The vi that you provided me was missing a subVI called THOR timer.vi. If you could provide this and some more information I could take a look at it. One possible solution depending on how you would like the VI to run is to place a breakpoint in your application. This would pause the VI until you choose to continue the program by pressing the pause button. The breakpoint tool can be found in the tools pallet of LabVIEW.

Other resources can be found on the ni.com website by clicking the support ta
b at the top of the home page. Then search for �YOUR TOPIC� from Technical Resources at the top of the page or topics similar yours. I hope these resources help. Let me know if I can further assist you.

Shea C.
Applications Engineering
0 Kudos
Message 2 of 4
(2,585 Views)
Hello Shea,

I need for the part Endurance a pause function.
I'm using this VI to control a endurance sequence for High Pressure Cleaners.
This means it runs for a time with control over the Liquid flow and Pressure.
If the Pressure is to high or to low / if the flow is to high or to low the endurance sequence should be paused. When i have checked the HPC on failure and somthing is broken (example: the high pressure hose) is replace that part, and press then pause on the screen and the system runs again. But when the HPC is broken the in reset the clock to 0 with the reset button.

i have also changed the vi with the clock in it. Placed in the VI: Flow and Pressure control.

I didn't try the breakpoint function yet, because i'm still le
arning with Labview. i'll try it later on today when i get the time for it.

Thanks, William Strijks

Service Engineer
Kinzo tooling - Holland
Running with Labview 6.1
Fieldpoint hardware
Download All
0 Kudos
Message 3 of 4
(2,585 Views)
William,

I am starting to better understand how you would like your application to execute. It sounds like if there is a fluctuation in the pressure of the HPC you would like the VI to pause until you have a chance to fix the problem and then it should continue when you press the pause button on the front panel. If this is indeed how you would like the VI to behave, you may want to take a look at the Wait For Front Panel Activity function. This should allow you to pause the execution of the VI until there is input from the pause button on the front panel. If you want the VI to restart you might consider using an event structure that would execute code (the HPC process) on the value change of a control i.e. the reset button.

I hope these resources help.
Let me know if these functions are relevant to your application.

Shea C.
Applications Engineering
0 Kudos
Message 4 of 4
(2,585 Views)