Commit 66e90fa0 authored by Achim Morschhauser's avatar Achim Morschhauser
Browse files

Triggered Timestamps

parent 02d513ed
......@@ -304,7 +304,8 @@ int driver_obs_obsdaq::run(double freq) {
N++;
}
// TODO Check if N gets to large (no trigger signal received)
recv_time.tv_nsec = (__syscall_slong_t) 156.25*1e6+N*250*1e6;
fprintf(stderr,"%3.0f ",round(recv_time.tv_nsec/1e6 - (156.25 + N*250)));
recv_time.tv_nsec = (__syscall_slong_t) (156.25+N*250)*1e6;
data.set_time(&recv_time);
// Write measurement to buffer
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment