Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
COSYLAB-8 Added support for per-record timestamping, currently the ti…
…mestamp is packed into unsigned 64bit int. To retreive the timestamp in python client the following snippet can be used: ##Note that the timestamp needs to be received as two unsigned 32 bit integers ## instead of a single 64bit int. This due to the fact the rshift on 64bit int doesn't ## work on numpy [numpy/numpy#2524] raw_data=socket.recv() value = numpy.fromstring(raw_data, dtype='u4') secPastEpich = value[1] nsec = value[0]
- Loading branch information