diff --git a/PSL/sciencelab.py b/PSL/sciencelab.py index baaf238e..52dfc69c 100644 --- a/PSL/sciencelab.py +++ b/PSL/sciencelab.py @@ -2432,7 +2432,7 @@ def fetch_long_data_from_LA(self, bytes, chan=1): self.H.__sendByte__(chan - 1) ss = self.H.fd.read(int(bytes * 4)) self.H.__get_ack__() - tmp = np.zeros(bytes) + tmp = np.zeros((bytes)) for a in range(int(bytes)): tmp[a] = CP.Integer.unpack(ss[a * 4:a * 4 + 4])[0] tmp = np.trim_zeros(tmp)
Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.
Alternative Proxies: