Skip to content

Saving trace settings and markers

Ian edited this page Feb 27, 2024 · 5 revisions

From v0.8.0, the trace and marker settings are saved when the programme is closed and re-opened. This is part of a development whose ultimate aim is to allow save/recall of a selection of settings.

No user action is necessary, it just saves the last used configuration and loads it again at startup. Trace averaging, scan memory size and marker peak threshold are not saved.

For running in Python, it is necessary to have the following files in a single folder:

QtTSAprefs.db
QtTinySA.py
QtTinySpectrum.py
QtTSApreferences.py
tinySAsmall.png
tinySA.ico

The programme saves settings in a SQLite database 'QtTSAprefs.db'. As the programme is used, this is updated. The database can be viewed and amended if desired using DB Browser for SQLite . If some parts of the database are amended, QtTinySA may stop working.

The default configuration database 'QtTSAprefs.db' is now copied to a user configuration directory when the programme is first run and the default is not changed. The database in the user folder, 'QtTSAprefs.db', can be replaced if necessary, e.g. if the database is damaged. The directory is determined by the Operating System but can be identified from the terminal logging messages, or from the Help > about menu in QtTinySA.

In updates of QtTinySA, the database is not likely to be backwards-compatible.

Clone this wiki locally