I'm in the process of writing a tool that will be used for logging input signals from a Picoscope 5000 over a very long period of time. The programming language is C++ and up to now the tool is mostly based on the provided example application (PS5000con.c). I'm using Streaming Mode (data shall be written to disk directly), aggregation is not used.
Now I need to assign each measured value to its measure time. Is there a way to get a timestamp for each measurement directly from the hardware? Operationg system's time functions are of course much too low in resolution. I would appreciate a small code sample if possible.
Thank you very much for helping me out