pico-python
pico-python copied to clipboard
Find a better way to deal with USB power for ps5000a
The last comment in #44 was
I do agree that implementing the change power source function by default isn't pretty and could potentially hide other bugs. Would it possibly make sense to add a parameter to _lowLevelOpenUnit that by default is set to use DC power but could be set by a user for USB power. Then an if function after ps5000aOpenUnit can change the power source if the parameter is set to USB?
I want to continue the discussion here because the original bug was technically fixed. This is a new one.