From f139bc5d4d86d3cdbfab1c299f12cbd3312eef67 Mon Sep 17 00:00:00 2001 From: gac-x04sa Date: Mon, 29 Oct 2018 17:17:24 +0100 Subject: [PATCH] Script execution --- script/device/Pixel.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/script/device/Pixel.py b/script/device/Pixel.py index f0368b3..94371ef 100644 --- a/script/device/Pixel.py +++ b/script/device/Pixel.py @@ -191,7 +191,8 @@ class Pixel(DeviceBase, Readable): self.get_count_id() def read(self): - return None + #Readable interface: current + return get_count_id() add_device( Pixel("pixel", "X04SA-ES3-CCD"), True) pixel.polling = 1000