Hello Sandy,
as I can see in your programming, you retrieve the timestamp
information from your GPS device via the serial port. Can you configure
the device to send the millisecond information you need?
Otherwise you would have to generate your own timestamp in LabVIEW.
Maybe you can use the VI "Tick count (ms).vi" out of the
time&dialog palette to get the ms information. This VI is reading
out an internal timer and displaying the result in milliseconds. You
could calculate an offset from a starting point of the measurement and
add the information to the timestamp you get from your device.
Generating a timestamp beyond the millisecond resolution is tricky on
windows systems, because 1ms is the smallest unit in software timing.
You would need a counter signal or some other kind of hardware you
could use to time your loop.
Ingo Schumacher
Systems Engineering Manager CEERNational Instruments Germany