frappy_psi.dpm: replace initwrite by value=2

initwrite seems not to work anymore
This commit is contained in:
2026-06-09 14:21:21 +02:00
parent ec913278a7
commit a6f5e8fccc
+1 -1
View File
@@ -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