diff --git a/src/dynamic_graph/signal_base.py b/src/dynamic_graph/signal_base.py index e925e2c250d249dea5d53e097ac00fec6679786a..a2454c8243981b325a34e9db36df76b3b7d77304 100644 --- a/src/dynamic_graph/signal_base.py +++ b/src/dynamic_graph/signal_base.py @@ -29,17 +29,15 @@ class SignalBase: """ return wrap.signalBaseGetTime(self.object) - @property - def value(self) : + def get_value(self) : """ Read the value of a signal """ return wrap.signal_base_get_value(self.object) - @value.setter - def value(self) : + def set_value(self, val) : """ Set the signal as a constant signal with given value. If the signal is plugged, it will be unplugged """ - return wrap.signal_base_set_value(self.object, value) + return wrap.signal_base_set_value(self.object, val)