I confirm that I see a variable duration of OUT shutoff, usually on the order of 10 ms, when you use ‘auto’ and use pyjoulescope to open a connected Joulescope. I used a bench supply set to 2.5V as the supply. I connected a banana to BNC adapter, a BNC cable, and BNC T with one end connected to a 50 ohm BNC termination and the other connected to my oscilloscope. I triggered at 2.4V falling edge.
I took a closer look, and I found the root cause. In the ‘auto’ configuration, the ‘source’ setting is applied immediately, but the default for ‘i_range’ is ‘off’. It’s not until the next settings is applied that ‘i_range’ is turned back on. This produces the temporary glitch. By rearranging the order of applying settings, we can avoid this glitch with no bad effects.
This code no longer exhibits a glitch:
with joulescope.scan_require_one(config='auto') as js:
data = js.read(contiguous_duration=1)
The change is to the order of lines 333-337 in joulescope/parameters_v1.py:
I just created a new Joulescope 0.8.13, which is now available on pypi:
pip3 install -U joulescope
Please let me know either way if this fixes the issue for you!