Testing showed that AC current needs to be handled different from DC.
Note that ACA is still untested because of limited testing equipment.
Signed-off-by: Wolfram Sang
---
src/dmm/vc870.c | 10 --
1 file changed, 8 insertions(+), 2 deletions(-)
diff --git a/src/dmm/vc870.c b/src/dmm/vc8
is_power_apparent_power is index 0 of function 0x39, so it is better to
process it first and the later indices after that (we need to add
another one with a different patch later).
Signed-off-by: Wolfram Sang
---
src/dmm/vc870.c | 14 +++---
1 file changed, 7 insertions(+), 7 deletions(-
It was confusing to see the display value (5 digits) printed in debug
output as a float. Print it the same way as shown on the real device,
without comma, of course.
This also allows to simplify the code a little.
Signed-off-by: Wolfram Sang
---
src/dmm/vc870.c | 7 ++-
1 file changed, 2 ins
And rename the status variable because in sigrok the term RMS is used
instead of "effective value".
Signed-off-by: Wolfram Sang
---
src/dmm/vc870.c | 12 ++--
src/libsigrok-internal.h | 2 +-
2 files changed, 11 insertions(+), 3 deletions(-)
diff --git a/src/dmm/vc870.c b/src/
The primary display is the power factor, the secondary is the frequency.
This got mixed up, so change the order. We also need to fix the
conversion factor.
Signed-off-by: Wolfram Sang
---
src/dmm/vc870.c | 12 ++--
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/src/dmm/vc8
There is no status bit for RMS. We know about RMS if certain modes are
active. So, drop this superfluous variable.
Signed-off-by: Wolfram Sang
---
src/dmm/vc870.c | 1 -
src/libsigrok-internal.h | 2 +-
2 files changed, 1 insertion(+), 2 deletions(-)
diff --git a/src/dmm/vc870.c b/src/
Hi,
On 12/31/2015 02:53 PM, Marc Titinger wrote:
>
> On behalf of Hubert Chaumette (author)
>
>
> Clarification on usage:
>
> 'conn' was used for the IP in previous iterations, but the current code
> uses libiio's IIOD_REMOTE variable for that. Instead, conn is now used
> to choose a device, o
7 matches
Mail list logo