Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

NI Spy Time stamp format

I'm Using NI spy. I want to calculate the elapsed time between write and read.
Write 08:50:56.5346
Read 08:50:56.5358
Hour:Mimute:Second
The second portion contains decimal point and 4 digits. What should I consider the fraction? as we know the fraction of a second is the millisecond. 

 

Thanks

 

0 Kudos
Message 1 of 2
(2,159 Views)

Shamsan,

 

The decimal refers to the accuracy of the second. In the example you posted below, the Write time is 8 hours, 50 minutes, 56 seconds, and 534.6 milliseconds. The 4th decimal digit marks ten-thousandths of a second.

 

I hope this helps.

Patrick O.
Applications Engineering
National Instruments
0 Kudos
Message 2 of 2
(2,119 Views)