LISE-B26 / pylabcontrol

pylabcontrol: Laboratory Equipment Control for Scientific Experiments.
GNU General Public License v3.0
9 stars 9 forks source link

COM Port in instrument _DEFAULT_SETTINGS #129

Open JanGieseler opened 6 years ago

JanGieseler commented 6 years ago

If the default settings have the wrong com port the instrument doesn't load. This should be handled smarter.

To reproduce the issue for example set COM port in MicrowaveGenerator to a value where the MW generator is not connected.

Similarly for GPIB, if the wrong channel is connected, the instrument doesn't load and we get an error

Try to make this smarter, e.g. by scanning the ports and at least providing a list of available ports to help identify the parameter that has been set incorrectly