Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations KootK on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

Labview Timer 1

Status
Not open for further replies.

lamantarraya

Electrical
Nov 10, 2006
2
Hello,

I want to trigger a timer in Labview 7.1 once a signal is sent to the computer and to stop the timer once another signal in sent (I don’t know if that can be done through the same data-acquisition channel) . Immediately after that I want to store the elapsed time to make some calculations.

Is it possible that someone will help me with this or at least give me some tips?

Thanks in advanced. :)

lamantarraya
 
Replies continue below

Recommended for you

Do a state machine, assuming that Labview doesnt already have a component for that. Did you look in the help file?

TTFN



 
I actually went to the help file, but I didn't find any timer that will reset after each exection.

I made a while loop sequence that works, but the problem is that it doesn't reset.

I've been trying but I haven't find a reset function. Is just that I'm not a pro at Labview and believe me I have expend a lot of time looking into the help file.

:(
 
I don't know about 7.1 but 8.0 has an event structure
and an elapsed time function.

You can also do it with a loop structure and the
wait untill millisec.(function)then read the index
of the loop and multiply by the millisecond timer.

As far as your while loop, If the condition is outside
the loop it will run once (ie. a button on the frontpanel).
Try putting it inside the while loop.

Hope this helps
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor