LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Calculation of Time taking by VI-Not By Tick count I want other way of calculation

Hi Team,

I want to Calculate the time taken by VI.I am using tick Count but it is not the right way of doing.I want other way of doing it..

 

Regards

DS

0 Kudos
Message 1 of 4
(2,327 Views)

DS,

 

why is Tick Count not the "right way of doing" it? Are you talking about long times (>49 days)?

 

Norbert

Norbert
----------------------------------------------------------------------------------------------------
CEO: What exactly is stopping us from doing this?
Expert: Geometry
Marketing Manager: Just ignore it.
0 Kudos
Message 2 of 4
(2,312 Views)

If the time is short (2^32 ms), tick count is the way to go.  If you are talking for longer times, you should use the Date/Time in Seconds.

 

For both of these, you need to take the time before you run the VI and right after and subtract the two times to get the amount of time the VI took.


GCentral
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
0 Kudos
Message 3 of 4
(2,302 Views)

You could use this as well:

http://forums.ni.com/t5/LabVIEW/New-LV2010-VI-High-Resolution-Relative-Seconds/td-p/1213011


CLA CTAChampionI'm attending the GLA Summit!
Subscribe to the Test Automation user group: UK Test Automation Group
0 Kudos
Message 4 of 4
(2,296 Views)