09-15-2008 09:32 AM
Good day to all
IM trying to find the time that have passed between two events.
To do that I have converted the two time stamps to doubles and subtracted one from the other.
For some reason when the time stamps are the same the result of the above is about 17 Seconds instead of 0
what is my mistake?
thanks
Shai
09-15-2008 09:53 AM
09-15-2008 10:12 AM - edited 09-15-2008 10:16 AM
You don't have to covert the timestamps...
http://thinkinging.com/2007/06/08/labview-tip-easy-relative-timestamp-calculations/
This example shows adding a relative time to an absolute. If you subtract two timestamps, you will get a relative time (double, in seconds). You can format the numeric indicator you create from the subtraction to show hours, minutes and seconds.