Hi Spiros and Richard!<br><br>I thought about this problem.<br><br>I think it will be good if the driver check the model of ups (NX or GXT2) and <br>the model is GXT2 then input and output values multipliers will be 0.1 else 0.01.<br>
The driver could to use #ifdef preprocess struct.<br><br>What is your opinion?<br><br><div class="gmail_quote">2010/4/23 Richard Gregory <span dir="ltr"><<a href="mailto:R.Gregory@liverpool.ac.uk">R.Gregory@liverpool.ac.uk</a>></span><br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">Hi Spiros,<br>
<br>
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.<br>
<br>
So... does a command exist? Not sure if the list I have is complete.<br>
<br>
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.<br>
<br>
<br>
Richard<br>
<br>
+-- --+<br>
| Biological Sciences, Room 231 |<br>
| <a href="http://www.csc.liv.ac.uk/%7Egreg" target="_blank">http://www.csc.liv.ac.uk/~greg</a> |<br>
+-- --+<div class="im"><br>
<br>
Spiros Ioannou wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
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.<br>
<br>
</blockquote>
<br></div><div><div></div><div class="h5">
_______________________________________________<br>
Nut-upsdev mailing list<br>
<a href="mailto:Nut-upsdev@lists.alioth.debian.org" target="_blank">Nut-upsdev@lists.alioth.debian.org</a><br>
<a href="http://lists.alioth.debian.org/mailman/listinfo/nut-upsdev" target="_blank">http://lists.alioth.debian.org/mailman/listinfo/nut-upsdev</a><br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>Best Regards,<br><br>Robert <br>