Closed akhuettel closed 3 years ago
As we have already discussed some time ago, there are basically two different types of "settings":
Volatile settings like sweep rates and gate protection limits. In practice these are changed often, depending on the type of measurement/sample. So I think having those in the script is convenient for the user.
Permanent settings like sweep limits and current to field conversion. There is a point that these are configured once. This can be done with subclassing drivers. Example: https://metacpan.org/pod/Lab::Moose::Instrument::OI_IPS::Strunk_3He
Keep in mind that users often take their scripts from setup to setup and it is better to store as much as possible in the script.
Shell we close this one?
Yes let's close it.
A configuration system would be great. E.g., store the default connection type and never specify it again in a script. Or store default sweep rates and gate protect limits. Or store magnet configuration (sweep limits, current to field conversion).
Features: