From 450455853524420cf9d2df2c22d3ef9722b25ff9 Mon Sep 17 00:00:00 2001 From: Alexandre Gobbo Date: Wed, 20 May 2020 15:04:55 +0200 Subject: [PATCH] Closedown --- script/test/psss.py | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/script/test/psss.py b/script/test/psss.py index 1cf2e4e..9ddbe86 100644 --- a/script/test/psss.py +++ b/script/test/psss.py @@ -17,7 +17,7 @@ class Scalar(RegisterBase): class Waveform(RegisterBase, RegisterArray): def __init__(self, name): RegisterBase.__init__(self, name) - self.val = [0.0] + self.val = [0.0, 1.0, 2.0] def doRead(self): return self.val @@ -37,6 +37,12 @@ add_device(Scalar("smin"), True) add_device(Scalar("smax"), True) +a,b=[],[] +for i in range(659): + a.append(i) + b.append(0) +sx.write(a) +sx.write(b) cas1 = CAS(camera + ":SPECTRUM_Y", sy, 'double') cas6 = CAS(camera + ":SPECTRUM_X", sx, 'double') cas2 = CAS(camera + ":SPECTRUM_CENTER", sc, 'double')