mirror of
https://github.com/bec-project/ophyd_devices.git
synced 2025-07-10 10:41:53 +02:00
update timestamp on read
This commit is contained in:
@ -250,6 +250,7 @@ class GalilReadbackSignal(GalilSignalRO):
|
|||||||
return current_pos / step_mm
|
return current_pos / step_mm
|
||||||
|
|
||||||
def read(self):
|
def read(self):
|
||||||
|
self._metadata["timestamp"] = time.time()
|
||||||
val = super().read()
|
val = super().read()
|
||||||
if self.parent.axis_Id_numeric == 2:
|
if self.parent.axis_Id_numeric == 2:
|
||||||
try:
|
try:
|
||||||
|
Reference in New Issue
Block a user