Thanks for the additional information. In all cases, you need to prepare the host computer. See Performing long-term captures on Windows.
You have options:
-
The downsample_logging script is made for this purpose, but it only supports 2 Hz for the JS110. You would need to upgrade to the JS220 to use it at 10 Hz.
-
The Joulescope UI should work with the instructions provided above. For best reliability, do not have a Waveform widget in the active view you use while performing this recording. While it should work, it exercise a LOT more code that can only reduce reliability.
-
The command line as shown above should work. It will record more statistics than you want.
-
You can write your own python script to do exactly what you want. For maximum reliability, use pyjoulescope_driver. You can use the statistics entry point as an example.
Do one of these options work for you?