I am developing a straightforward program that performs the following steps:
- Captures a datapoint from a Joulescope device.
- Modifies certain settings on other measurement devices.
- Captures another datapoint, and so on in a loop.
I found some example code on the Joulescope forum (Get actual input voltage - Technical Discussion) that helped me achieve this. However, I’ve noticed an issue: the accumulators are not reset when restarting the program.
While I discovered that the device
class has a function called statistics_accumulators_clear()
to reset accumulators, I couldn’t find a similar function in the driver
class. Does the driver
class offer a way to achieve this?
Additionally, I learned that settings on the device can be changed using the publish
method, as shown in the example:
jsdrv.publish(f'{device_path}/s/i/range/select', 'auto')
I would like to know about all functionality available through the publish
method. Is there an overview or documentation listing all commands and their expected parameters?