Thanks for the reply. However, my concern is not how to match the time stamps but rather how to match the time since the R200 was up to the time the PC was up.
I mean the PC is up since X mSec. The time stamp that came from R200 means that the frame has been captured Y mSec since the R200 was up. X and Y lays in totally different time spaces.
How to bring them into the same time space in order to apply some time matching algorithm?
Thanks again for your time!
I wonder if rs_timestamp_domain might help.
The easiest way to sync the camera timestamp with an external sensor may be to use GPIO though. The R200's successor the ZR300 has these hardware connection pins (two), as does the new 400 Series cameras (four).
Taken from the documentation page link above:
"When you have an external device (such as a compass, magnetometer, light sensor, or other) and wish to synchronize it precisely with image and motion streams, you can connect that sensor to a GPIO that is available on some devices. Every time the sensor signals, you get a timestamp callback with a frame number, source ID, and a timestamp".