HWTimestamper#
- class HWTimestamper(last_timestamp: int)[source]#
Bases:
objectContiguous nanosecond timestamps for hardware-timed DAQ batches.
Anchors to the wall clock exactly once via
seed(), then advances by sample period on everynext_batch()call — eliminates timestamp overlap when consecutive reads return in rapid succession.Methods
Return
lengthns timestamps atdtspacing, continuing from the previous batch.Anchor the timeline at
t_wallns (read-return time of the first batch).