LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Event time stamp

Between the Event common data, there is Time value which is U32, and the LV7 User Manual says that it is time stamp in miliseconds, that specifies when the event was generated. What is the reference (starting point) for that value, and where that time stamp is generated? Is it in the local PC where the event is received and stamped or it is stamped on the machine where it is generated and send with that stamp?
0 Kudos
Message 1 of 3
(2,975 Views)
The clock that is references is the internal system clock. This is an arbitrary counter that starts with a random number and counts up when your computer is turned on. It is not referenced to anything and it's information is only valid in reference to itself for information like time elapsed.

If you want to know more about this clock, you will need to dig through a computer hardware manual. Perhaps google would have something useful.
Message 2 of 3
(2,975 Views)
I always thought the clock started when the computer (or more accurately the motherboard) is powered up. It IS only really useful when used as a differential, to measure the passing of time, not to get the current date and time.

It`s important to bear in mind that, being a U32, the counter will roll over after approximately 50 Days. If you have a program which runs for longer than this, you need to take this into consideration, otherwise you`re timing will be off eventually.

Having said all this, I don`t have LV 7, so I`m assuming this timer is identical to the Timer (ms) function in LV 6.1.

Shane
Using LV 6.1 and 8.2.1 on W2k (SP4) and WXP (SP2)
Message 3 of 3
(2,975 Views)