Download File Example

This is a mini-example for downloading a file from your FemtoDAQ device.

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']

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())

Total running time of the script: (0 minutes 0.501 seconds)

Gallery generated by Sphinx-Gallery