LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

completely new to lab view and need to get some stop watch help please

OK I am new to lab view so please be patient with me. I have a need for a stop watch that is triggered to start when two voltage values differ by more than 0.110V and then stop counting when they return to within 0.110v my goal is to capture the total amount of time the two voltages differ and record it along with the rest of the data is this possible and how would I do it? Thanks I am running 8.5

0 Kudos
Message 1 of 6
(2,592 Views)

You need a function that will return the current time.  You need a while loop, probably some shift registers also.

 

You need conditional statements and some case structures.

 

Try to put something together as a VI.  Try it out.  When you get stuck, then post back with a question explaining what you want it to do and how your attempt is not doing it.

0 Kudos
Message 2 of 6
(2,587 Views)

thanks for the quick response but thats not really enough info to help me as I am very very unfamiliar with lab view and have only been using it for a few days(mainly just plugging in copied sections) so hopefully someone can give me a little more help. But the good news is I am now looking into taking one of the Lab view courses but that probably won't help me with this problem this week. thanks again for your help

0 Kudos
Message 3 of 6
(2,564 Views)

@danger831 wrote:

thanks for the quick response but thats not really enough info to help me as I am very very unfamiliar with lab view and have only been using it for a few days(mainly just plugging in copied sections) so hopefully someone can give me a little more help. But the good news is I am now looking into taking one of the Lab view courses but that probably won't help me with this problem this week. thanks again for your help


For starters, try to write the name correctly. It is LabVIEW, not lab view. Smiley Wink

 

Seriously though, your best way of learning to is try some things yourself first. Look through the examples that ship with LabVIEW for the components Raven suggested (while loops, shift registers, etc.) We could give you a working example but you will learn far more by trying things for yourself. As suggested, try a few things and then post what you have done and what you are having trouble with. From there we can answer your questions rather than just do it for you.



Mark Yedinak
Certified LabVIEW Architect
LabVIEW Champion

"Does anyone know where the love of God goes when the waves turn the minutes to hours?"
Wreck of the Edmund Fitzgerald - Gordon Lightfoot
Message 4 of 6
(2,562 Views)

I would suggest you do a search of the forum for "stopwatch."  But here is a link to get you started.  There are many others, you just have to search the forum.

 

http://forums.ni.com/t5/LabVIEW/boolean-start-reset-stopwatch/m-p/1390582/highlight/true#M544285

-----------------------------------------------------------------------------------------
Reese, (former CLAD, future CLD)

Some people call me the Space Cowboy!
Some call me the gangster of love.
Some people call me MoReese!
...I'm right here baby, right here, right here, right here at home
0 Kudos
Message 5 of 6
(2,552 Views)

Since you've only been using it for a few days, you might not have had a chance to view the tutorials yet.

 

LabVIEW Introduction Course - Three Hours
LabVIEW Introduction Course - Six Hours

Message 6 of 6
(2,541 Views)