Note
Go to the end to download the full example code.
Timestamp clearing
How to clear the timestamp before a run
Traceback (most recent call last):
File "C:\Users\Jeff\Documents\projects\skutils\examples\micro-examples\timestamp_clear.py", line 14, in <module>
controller.zeroTimestamp()
File "C:\Users\Jeff\Documents\projects\skutils\src\skutils\FemtoDAQController.py", line 1376, in zeroTimestamp
self.__post(route, data)
File "C:\Users\Jeff\Documents\projects\skutils\src\skutils\FemtoDAQController.py", line 197, in __post
raise BusyError(f"FemtoDAQ device responded busy! {resp_json['message']}")
skutils.FemtoDAQController.BusyError: FemtoDAQ device responded busy! Capture is currently running and force option was not requested
from skutils import FemtoDAQController
controller = FemtoDAQController("Vireo-000019.tek", skip_version_check=True)
# This clears the timestamp counter internally in the FemtoDAQ device, the timestamp counter is not updated until an event is latched however,
# so it is not possible to see this effect without triggers
controller.zeroTimestamp()
Total running time of the script: (0 minutes 0.093 seconds)