Open orgua opened 2 years ago
Sorry, i got no notification about new messages in this thread :( I added a doc-string and extended the main readme with the example.
Any chance that it gets ever mainlined? It's a small but helpful feature for cleaner and more pythonic code.
Is there a reason to stall this? Your requested changes were implemented almost 2 years ago. i rather prefer that this PR is closed if it is unwanted so I can delete my fork.
main problem I had: faulty scripts leave the SMU in a weird state - so restarting the script often fails at basic tasks (like accessing keithley.smua) because the TSP-Commant-Set wasn't read successfully (or other weird behavior).
i added the option to use this module in a context and haven't had the problem since. This way of accessing remote devices allows to automatically disconnect on exceptions.