dmm: vc870: fix AC conversion factors
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 <wsa@the-dreams.de>
This commit is contained in:
parent
b89462e457
commit
b4a0770ef8
|
@ -46,11 +46,17 @@ static const float factors[][8] = {
|
|||
{1e-4, 0, 0, 0, 0, 0, 0, 0}, /* Diode */
|
||||
{1e-3, 1e-2, 1e-1, 1, 1e1, 1e2, 1e3, 1e4}, /* Frequency */
|
||||
{1e-2, 0, 0, 0, 0, 0, 0, 0}, /* Loop current */
|
||||
/*
|
||||
* Note: Measurements showed that AC and DC differ
|
||||
* in the factors used, although docs say they should
|
||||
* be the same.
|
||||
*/
|
||||
{1e-8, 1e-7, 0, 0, 0, 0, 0, 0}, /* DCµA */
|
||||
{1e-8, 1e-7, 0, 0, 0, 0, 0, 0}, /* ACµA */
|
||||
{1e-7, 1e-6, 0, 0, 0, 0, 0, 0}, /* ACµA */
|
||||
{1e-6, 1e-5, 0, 0, 0, 0, 0, 0}, /* DCmA */
|
||||
{1e-6, 1e-5, 0, 0, 0, 0, 0, 0}, /* ACmA */
|
||||
{1e-5, 1e-4, 0, 0, 0, 0, 0, 0}, /* ACmA */
|
||||
{1e-3, 0, 0, 0, 0, 0, 0, 0}, /* DCA */
|
||||
/* TODO: Verify factor for ACA */
|
||||
{1e-3, 0, 0, 0, 0, 0, 0, 0}, /* ACA */
|
||||
{1e-1, 0, 0, 0, 0, 0, 0, 0}, /* Act+apparent power */
|
||||
{1e-1, 0, 0, 0, 0, 0, 0, 0}, /* Power factor / freq */
|
||||
|
|
Loading…
Reference in New Issue