-
Type:
Bug
-
Resolution: resolved
-
Priority:
Low
-
Component/s: None
-
None
I have the following code:
self.add(pr.LocalVariable( name = 'HvModule', description = 'Max Voltage of the HV module', mode = 'RW', value = 200.0, minimum = 200.0, maximum = 500.0, units = 'V', )) self.add(pr.LocalVariable( name = 'R4', description = 'Voltage Divider (R5) values on the HV module', mode = 'RW', value = 3.92E+3, minimum = 0.0, units = 'Ohm', )) self.add(pr.LocalVariable( name = 'R5', description = 'Voltage Divider (R5) values on the HV module', mode = 'RW', value = 8.06E+3, minimum = 0.0, units = 'Ohm', ))
For R4 and R5, only minimum defined. But for HvModule both minimum and maximum defined. As you can see from the screenshot image, the "V" units is not displaying on the HvModule but R4 and R5 is
