.. DO NOT EDIT. .. THIS FILE WAS AUTOMATICALLY GENERATED BY SPHINX-GALLERY. .. TO MAKE CHANGES, EDIT THE SOURCE PYTHON FILE: .. "auto_examples\micro-examples\download_file.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_download_file.py: Download File Example ===================== This is a mini-example for downloading a file from your FemtoDAQ device. .. GENERATED FROM PYTHON SOURCE LINES 7-17 .. rst-class:: sphx-glr-script-out .. code-block:: none Vireo-000019 (http://Vireo-000019.tek) Controller : downloaded `inspection_example_10.55.11AM_May09_2025_seq000001.geb` to 'C:\Users\Jeff\AppData\Local\Temp\inspection_example_10.55.11AM_May09_2025_seq000001.geb' ['C:\\Users\\Jeff\\AppData\\Local\\Temp\\inspection_example_10.55.11AM_May09_2025_seq000001.geb'] | .. code-block:: Python from skutils import FemtoDAQController import tempfile controller = FemtoDAQController("Vireo-000019.tek", skip_version_check=True) # Download all of the data files from the previous run, # we're placing it in a temporary directory here as part of trying to not save this # particular one to disk, but for your purposes you will want to save to a known directory, # e.g. "C:\User\%user%\Downloads\..." or simply even "." controller.downloadLastRunDataFiles(tempfile.gettempdir()) .. rst-class:: sphx-glr-timing **Total running time of the script:** (0 minutes 0.501 seconds) .. _sphx_glr_download_auto_examples_micro-examples_download_file.py: .. only:: html .. container:: sphx-glr-footer sphx-glr-footer-example .. container:: sphx-glr-download sphx-glr-download-jupyter :download:`Download Jupyter notebook: download_file.ipynb ` .. container:: sphx-glr-download sphx-glr-download-python :download:`Download Python source code: download_file.py ` .. container:: sphx-glr-download sphx-glr-download-zip :download:`Download zipped: download_file.zip ` .. only:: html .. rst-class:: sphx-glr-signature `Gallery generated by Sphinx-Gallery `_