Hi Spiros and Richard!

I thought about this problem.

I think it will be good if the driver check the model of ups (NX or GXT2)
and
the model is GXT2 then input and output values multipliers will be 0.1 else
0.01.
The driver could to use #ifdef preprocess struct.

What is your opinion?

2010/4/23 Richard Gregory <[email protected]>

> Hi Spiros,
>
> There appears to be only two routes, ask the ups for a scaling number using
> some obscure command, or make the scaling model specific and build the
> different possibilities into the driver. Obviously the former is preferable
> because it doesn't require prior knowledge of each model.
>
> So... does a command exist? Not sure if the list I have is complete.
>
> If there is no command, we could be lucky and only the 3-phase models
> require this scaling, but that would be a running assumption. From what has
> been said in here, there are basically only two models to hand, the GXT2 and
> the NX, which is a small sample of what is available.
>
>
> Richard
>
> +--                               --+
> |  Biological Sciences, Room 231    |
> |  http://www.csc.liv.ac.uk/~greg <http://www.csc.liv.ac.uk/%7Egreg>   |
> +--                               --+
>
>
> Spiros Ioannou wrote:
>
>> Richard, and others,  I would like some help finding out how to scale
>> measurements for different ups models. If you have any inspiration I'm all
>> ears.
>>
>>
> _______________________________________________
> Nut-upsdev mailing list
> [email protected]
> http://lists.alioth.debian.org/mailman/listinfo/nut-upsdev
>



-- 
Best Regards,

Robert
_______________________________________________
Nut-upsdev mailing list
[email protected]
http://lists.alioth.debian.org/mailman/listinfo/nut-upsdev

Reply via email to