frappy_psi.dpm: replace initwrite by value=2
initwrite seems not to work anymore
This commit is contained in:
+1
-1
@@ -54,7 +54,7 @@ class DPM3(HasIO, Readable):
|
||||
ioClass = DPM3IO
|
||||
|
||||
value = Parameter(datatype=FloatRange(unit='N'))
|
||||
digits = Parameter('number of digits for value', IntRange(0, 5), initwrite=True, readonly=False)
|
||||
digits = Parameter('number of digits for value', IntRange(0, 5), value=2, readonly=False)
|
||||
# Note: we have to treat the units properly.
|
||||
# We got an output of 150 for 10N. The maximal force we want to deal with is 100N,
|
||||
# thus a maximal output of 1500. 10=150/f
|
||||
|
||||
Reference in New Issue
Block a user