ThisTemba / autosa

Autosa is custom Tenco software used to automate data acquisition using a signal analyzer
0 stars 0 forks source link

Auto-release #36

Open ThisTemba opened 8 months ago

ThisTemba commented 8 months ago

super confusing to have to go to the release tab every time you want to interact with the device. Should really look into making it such that you can just do it without having to turn off autosa.

Perhaps can make autosa disconnect itself when idle, then reconnect when buttons on autosa are pressed

another option is to find out if there's a setting for the device where that block is just disable entirely.

mae2055 commented 2 months ago

Put an instrument connection check in each button cmd. Release mode not necessary in ctk (bug does not exist)

ThisTemba commented 2 months ago

Release mode kind of not needed for tkinter / customtkiner version of autosa. Something to do with how the two main loops work in the two programs.

The new program should only check for a missing instrument when making an action that requires a connection e.g. preparing a band.

Ideally want a method of checking that does not require modification of every function in instrument.py. There should be some kind safety net that looks for failed instrument commands and determines if the instrument is still connected.