ok, so this seems like a hw issue on the PSU side. Wrote a bit of C code to poll measured voltage and current via /dev/usbtmc0. Anything faster than 1Hz polling had the same issue I am seeing with the scpi-pps driver on sigrok.
On Sat, 26 Aug 2023 at 11:18, Sahaj Sarup <sahajsa...@gmail.com> wrote: > As you can see from the output, the scpi driver gets confused between the > amp and and volt readout. > The PSU is set to 12V and is switched off. > reading directly from /dev/usbtmc0 works fine. > > ``` > $ sigrok-cli -d scpi-pps --continuous > I1: 12.000 A DC > P1: 0 mW > V1: 0 mV DC > I1: 12.000 A DC > P1: 0 mW > V1: 0 mV DC > I1: 12.000 A DC > P1: 0 mW > V1: 0 mV DC > I1: 12.000 A DC > P1: 0 mW > V1: 12.000 V DC > I1: 0 mA DC > P1: 0 mW > V1: 0 mV DC > I1: 12.000 A DC > P1: 0 mW > V1: 0 mV DC > I1: 12.000 A DC > > $ sigrok-cli -d scpi-pps --show > Driver functions: > Power supply > Scan options: > conn > serialcomm > scpi-pps - OWON P4305 FV:V1.5.0 [S/N: 2001593] with 3 channels: V1 I1 P1 > Channel groups: > 1: channels V1 I1 P1 > Supported configuration options across all channel groups: > continuous: on, off > limit_samples: 0 (current) > limit_time: 0 (current) > ``` > -- > Best Regards > Sahaj Sarup > -- Best Regards Sahaj Sarup
_______________________________________________ sigrok-devel mailing list sigrok-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sigrok-devel