.. DO NOT EDIT. .. THIS FILE WAS AUTOMATICALLY GENERATED BY SPHINX-GALLERY. .. TO MAKE CHANGES, EDIT THE SOURCE PYTHON FILE: .. "auto_examples\micro-examples\timestamp_clear.py" .. LINE NUMBERS ARE GIVEN BELOW. .. only:: html .. note:: :class: sphx-glr-download-link-note :ref:`Go to the end ` to download the full example code. .. rst-class:: sphx-glr-example-title .. _sphx_glr_auto_examples_micro-examples_timestamp_clear.py: Timestamp clearing ================== How to clear the timestamp before a run .. GENERATED FROM PYTHON SOURCE LINES 7-15 .. rst-class:: sphx-glr-script-out .. code-block:: pytb Traceback (most recent call last): File "C:\Users\Jeff\Documents\projects\skutils\examples\micro-examples\timestamp_clear.py", line 14, in 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 | .. code-block:: Python 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() .. rst-class:: sphx-glr-timing **Total running time of the script:** (0 minutes 0.093 seconds) .. _sphx_glr_download_auto_examples_micro-examples_timestamp_clear.py: .. only:: html .. container:: sphx-glr-footer sphx-glr-footer-example .. container:: sphx-glr-download sphx-glr-download-jupyter :download:`Download Jupyter notebook: timestamp_clear.ipynb ` .. container:: sphx-glr-download sphx-glr-download-python :download:`Download Python source code: timestamp_clear.py ` .. container:: sphx-glr-download sphx-glr-download-zip :download:`Download zipped: timestamp_clear.zip ` .. only:: html .. rst-class:: sphx-glr-signature `Gallery generated by Sphinx-Gallery `_