Python SDK voltage ranges PS6000a
Python SDK voltage ranges PS6000a
I did this change to PicoEnumDevices.py.
Could something like this be added to the SDK, or is there a method already?
def _define_voltage_ranges():
PICO_10MV= 0
PICO_20MV = 1
PICO_50MV = 2
PICO_100MV = 3
PICO_200MV = 4
PICO_500MV = 5
PICO_1V = 6
PICO_2V = 7
PICO_5V = 8
PICO_10V = 9
PICO_20V = 10
return {k.upper(): v for k, v in locals().items() if k.startswith("PICO")}
picoEnum.PICO_VOLTAGE_RANGE = _define_voltage_ranges()