Skip to content

rpitx-control-dev-0.3

Pre-release
Pre-release
Compare
Choose a tag to compare
@IgrikXD IgrikXD released this 31 Oct 10:55
· 3 commits to master since this release
17f28fa

Transferring directories of model files and saved configurations

The FiltersList and AmplifiersList directories have been moved to the ControlApplication directory. Now, dumps of components and configurations of expansion boards are saved taking into account the parent directory in which the application source files are located.

Changing in application execution flow

The application execution order has been changed. Now, when you start the program, you are asked to choose one of two possible actions: creating a new device configuration or loading an existing one.
When creating a new configuration, you are prompted to select the type of device for which the configuration is being created.
When loading an existing configuration, you are prompted to select a configuration file from the list (the board type is determined automatically). If the application does not find information about saved configurations, an information message is displayed, after which you will be returned to the main menu.

Checking for the presence of .csv files of component models

When the program starts, it checks whether .csv files exist in the FiltersList and AmplifiersList directories. These files are used to build a list of available components when creating a device configuration. If it is not possible to load the previously created .pkl dump of the list of components and the necessary .csv files to build the list of components are missing, an error message is displayed in the console and the program ends.
image

Implementation of the Logger class

Now, logging is performed using a separate Logger class. Logger is initialized when the ComponentsList, RFSwitch, RFSwitchWrapper, and UserInterface classes are created if the class constructors were passed the path to the logging file, by default: log_filename = None (no logging is performed) and the application launch parameter --show-debug-info is used.

Codebase refactoring