]> jspc29.x-matter.uni-frankfurt.de Git - daqtools.git/commitdiff
fix display of negative voltage for OEPs
authorhadaq <hadaq@hades33.gsi.de>
Wed, 12 Jan 2022 15:46:12 +0000 (16:46 +0100)
committerhadaq <hadaq@hades33.gsi.de>
Wed, 12 Jan 2022 15:46:12 +0000 (16:46 +0100)
xml-db/database/MDC.xml

index 531dbcaac70c1582f6beaab2e7dfd376a6e8ac64..6eb7bda8b0549f363d4cf13cf7a22a382f6bfbb0 100644 (file)
@@ -41,7 +41,7 @@ const char voltages[8][8]={"5V in  ","5V     ","3.5V in","3.3V   ","1.6V in","1.
     </register>  
     <register name="m3V" address="0007">
       <description>-3V input. Nominal 3V. Note that this value is produced using a voltage divider between minus 3 V and plus 5V, value is only approximate and not valid if +5V are not correct.</description>
-      <field name="m3V" start="0" bits="12" format="signed" unit="mV" scale="-1"/>
+      <field name="m3V" start="0" bits="12" format="unsigned" unit="mV" scale="1" scaleoffset="0"/>
     </register>      
 </group>