diff --git a/frappy_psi/dpm.py b/frappy_psi/dpm.py index bf2dc509..488f2467 100644 --- a/frappy_psi/dpm.py +++ b/frappy_psi/dpm.py @@ -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