LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How do i make a clock/timer that can be reset to zero?

I need to make this clock/timer to run my control off of. To be more detailed I need to ouput a steadily increasing voltage slowly over a period of time. I have my DAQ assist set up to output a voltage to my device but i can't figure out how to make the timer/clock correctly.

0 Kudos
Message 1 of 5
(4,031 Views)

Can you post the code that you're trying to use?  Have you looked at the Ramp VIs?  (Search the palettes for Ramp)

0 Kudos
Message 2 of 5
(4,025 Views)

Well I'm pretty new to using labview and the only version I have available is 7.1. If you can could you show me how to make a working clock/timer that's where I need the most assistance. I need to be able to set an end time and reset to 0 afterward.

0 Kudos
Message 3 of 5
(4,022 Views)

there was a brief discussion in the Minneapolis LabVIEW users group where such a timer.vi was discussed


"Should be" isn't "Is" -Jay
0 Kudos
Message 4 of 5
(4,013 Views)

It seems you simply want to update the ramp at a constant dt, why would you need to reset anything?

 

There are two main ways to do this:

 

software timed: use a loop with a given delay and write single points to the output.

hardware timed: setup timing for your task and send the entire ramp to the hardware. It will do the rest. No extra code needed.

0 Kudos
Message 5 of 5
(4,010 Views)