I am a happy (new) user of a picoscope 6407.
I have installed the firmware on linux and it works great with the picoscope software.
However, when I use a python lib, it crashes at the initialization step.
I tried with pico-python (installed from a pip repository) and I get a PICO_COUPLING_NOT_SUPPORTED at this line
I tried very small DC values but it always raises the same exception.
I have the feeling that the errors I get with the two librairies are linked but I can't tell what I am doing wrong.
Could anybody help me with this?
Are you able to post the full code that you're using from the python-wrappers including the settings you're using for the scope?
Have you checked in the programmer's guide that you're passing values that are correct for the 6407? https://www.picotech.com/download/manua ... -guide.pdf
Thank you for your answer.
According to the programmer's guide, the voltage range should be +- 100mV, and it should be set to DC, which is what I think I am doing in the code I am testing.
For picosdk-python-wrappers I try to run the code provided in examples (block.py): https://pastebin.com/Pt0DXXqT
Where, in constants.py, the make_enum function is defined.
I tried using the enum, and also passing integers for the range in the ChannelConfig function, and also just leaving them blank since the function says it is optional. Nothing worked.