Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix incorrect mappigns in the Fluke 28x unit table #250

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

andysan
Copy link
Contributor

@andysan andysan commented Oct 13, 2024

The Fluke 28x unit mapping has a couple of bugs: 'dBm' incorrectly maps to SQ_MQ_VOLTAGE and 'AAC_PLUS_DC' incorrectly maps to SR_MQ_VOLTAGE. Fix these issues and set both the AC and DC flags for sum measurements.

There is no need to modify the various lookup tables at
runtime. Declare these as const to avoid surprises.

Signed-off-by: Andreas Sandberg <andreas@sandberg.uk>
The Fluke 28x unit mapping has a couple of bugs: 'dBm' incorrectly
maps to SQ_MQ_VOLTAGE and 'AAC_PLUS_DC' incorrectly maps to
SR_MQ_VOLTAGE. Fix these issues.

Signed-off-by: Andreas Sandberg <andreas@sandberg.uk>
The VAC_PLUS_DC and AAC_PLUS_DC units measure the sum of the AC and DC
components. Set both the SR_MQFLAG_AC and SR_MQFLAG_DC flags in these
cases.

Signed-off-by: Andreas Sandberg <andreas@sandberg.uk>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants