ā07-28-2011 03:56 AM
Can any explain with an example the working of tick count and what what value it get displays. please mail me on pnraja89@yahoo.com
Solved! Go to Solution.
ā07-29-2011
10:59 AM
- last edited on
ā10-02-2024
05:55 PM
by
Content Cleaner
Hi raja8989!
Does that help?
ā07-29-2011 11:57 PM
can u please clearly explain with help of a example . i am not able to get a perfet clarity on this please
ā07-30-2011 04:18 AM - edited ā07-30-2011 04:20 AM
Thanks for getting back to me. The following example shows the functionality of the function:
If you run the VI you will see the current value of the free running timer, and this will update every 100 milliseconds due to the "Wait on Next ms Multiple".
Another example can be found by following these steps; press Ctrl+H to display Context Help, mouse over the Tick Count (ms) function, select Detailed Help and navigate to Open Example. This example gives a common use case for Tick Count (ms); timing how long some code takes to execute.
ā07-30-2011 06:11 AM
thanks a lot sir
now i came know what is tick count now exactly
but when i runned ur code at first count this is displaying the value 24651619 . why doesnt this start from zero ?
ā08-02-2011 10:52 AM
Per Help:
The base reference time (millisecond zero) is undefined. That is, you cannot convert millisecond timer value to a real-world time or date. Be careful when you use this function in comparisons because the value of the millisecond timer wraps from (2^32)ā1 to 0.
I believe the initial zero occurs when the computer is powered up or rebooted. Give it a try.
-AK2DM