Milliseconds in Timestamp for External Synchronization

I am trying to time synchronize measurements from external sensors to a continuous readout of my TCP position.
Is there a way I can get CTime() to return milliseconds as well as seconds?

Currently I have a semistatic task with a loop that when activated grabs an initial timestamp and then starts a clock variable which is read on every loop iteration. However, I don't know where within the second of that first timestamp the time was when the clock variable started. Leaving me with a +/- 500 millisecond uncertainty in my alignment of TCP position and my external data.

Any help or alternate suggestions would be appreciated.
Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!