Migration guide
Jump to navigation
Jump to search
Whenever a new version is released, there might be some changes needed to use your old settings and Device Classes. Here, you can find instructions that are needed to be performed. In case you change to a new version by skipping a version, you might have to follow the instructions of the skipped versions as well.
Migration to version 1.5.5.x
- 'Stop'-functionality was removed as the feature was difficult to explain and understand. In order to switch off all instruments and wait for certain time, we recommend to create a new branch in the sequencer that has just a Hold. You can also use modules like ReadValues or TableValues to create a list of values and hold times that are handed over to other modules to replace the 'Stop'-functionality.
- All custom and setup-specific files are now stored outside the SweepMe! installation folder. It might be that some configurations need to be done again but so far it worked seamlessly.
- Several Device modules have a field 'Channel' now in order to select the channel of the instrument. Thus, the static variable 'multichannel' of device classes ist deprecated and the field 'Device' is no longer used to select the channel. Old device classes still work, but setting that use device classes with channel have to reconfigured and resaved.
- Parameters like "%Y%m%d" for year-month-day, do not exist anymore in 1.5.5. Instead you can use the parameter system. All available parameters are shown in the widget Parameters. For example, "%Y%m%d" is now "{Y}{m}{d}". Please check your setting and revise all fields accordingly.
- The SweepEditor was revised. "Stop" was removed and different scaling modes can be selected. Your SweepEditor settings should work as they are. Please contact us if your SweepEditor was not restored as expected.
- Timestamps are save to measurement files using ISO format (https://en.wikipedia.org/wiki/ISO_8601), e.g. "2022-01-24T19:03:32"
Migration to version 1.5.4.x
- SweepScripts have been removed. Please use modules like ReadValues to load sweep values from an external file.
Migration to version 1.5.3.x
- When using the installer, a path like "C:\SweepMe!\SweepM!x.x.x.x." will be suggested. Thus, different versions can be installed at the same time. However, please make sure that there is no old version in "C:\SweepMe!" that has not yet any version-related subfolder.
- Setting are now stored in a public folder of the public user of the operating system. Copy your old settings from your previous version to the public settings folder that you can find via File -> Open Folder -> Settings
- SweepScripts are now stored in a public folder of the public user of the operating system. Copy your old SweepScripts from your previous version to the public SweepScripts folder that you can find via File -> Open Folder -> Public
- Calibration files, e.g. used for the Device Classes of the Spectrometer module, are now stored inside a public folder as well. Copy your calibrations to the folder 'CalibrationFiles' inside the public folder which can be found via File -> Open Folder -> Public.
- Whenever Device Classes need external libraries such as dll files, they can be saved now in the folder 'ExternalLibraries' which can be found inside the public folder (File -> Open Folder -> Public)
- Your measurement data will be saved now in the folder 'Measurement' located in the public folder (File -> Open Folder -> Public). Please renew any desktop link that you created to easily find your data.
- The Module PlotData does not exist anymore and therefore will not be correctly. Plots are automatically updated whenever new data is available. If your settings use PlotData at the end of the sequencer, you will get an error message, but the rest of the setting should work as usual. If PlotData is used at a higher position of the sequencer, all following modules will not be loaded. At the moment, the only workaround is to open the setting and remove all used "PlotData" from where the sequencer is saved and move all following modules one level up.
- The Module MakeFile now creates a header with three rows. When you load and evaluate your data later on, you might have to change your import filters and scripts. Please, find a guide how to import SweepMe! data here: Loading data files
- Check your settings and renew them if needed.
- Device Class development: It might be necessary to change the use of the function "set_GUIparameter". The dictionary which is returned by this function must now contain all keys related to GUI elements that should be enabled and a corresponding default values. Thus, users can see which parameters are supported by a Device Class.
- Device Class development: In case your Device Class was developed for the Module Logger or Switch, the Parameters-Line is no longer available. Instead, you can dynamically create GUI elements yourself, just by returning keys and default values using "set_GUIparmeter"