×
INTELLIGENT WORK FORUMS
FOR ENGINEERING PROFESSIONALS

Log In

Come Join Us!

Are you an
Engineering professional?
Join Eng-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Eng-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Jobs

Labview Timer

Labview Timer

Labview Timer

(OP)
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

RE: Labview Timer

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

TTFN



RE: Labview Timer

(OP)
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.

:(

RE: Labview Timer

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

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Eng-Tips Forums free from inappropriate posts.
The Eng-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Eng-Tips forums is a member-only feature.

Click Here to join Eng-Tips and talk with other members!


Resources