Hello folks, It seems since I started using "master" branch instead of pip package, I have an issue with read_chan method (It's for Real-time Thomson, that use SOD, non-demuxed)
In [1]: import acq400_hapi
In [2]: uut = acq400_hapi.Acq2106("rtthom001", monitor=False)
In [3]: uut.read_chan(0, -1)
---------------------------------------------------------------------------
AttributeError Traceback (most recent call last)
Cell In[3], line 1
----> 1 uut.read_chan(0, -1)
File /usr/local/pyenvs/tcvpy39env/from-source/acq400_hapi/acq400_hapi/acq400.py:636, in Acq400.read_chan(self, chan, nsam, data_size)
633 data_size = 4 if self.s0.data32 == '1' else 2
635 if chan == 0:
--> 636 nsam = int(self.s0.raw_data_size) // data_size
637 if chan != 0 and nsam == 0:
638 nsam = self.pre_samples()+self.post_samples()
File /usr/local/pyenvs/tcvpy39env/from-source/acq400_hapi/acq400_hapi/netclient.py:214, in Siteclient.__getattr__(self, name)
212 else:
213 msg = "'{0}' object has no attribute '{1}'"
--> 214 raise AttributeError(msg.format(type(self).__name__, name))
AttributeError: 'Siteclient' object has no attribute 'raw_data_size'
Working version is the latest installed by pip: acq400_hapi-2.9.4
Hello folks, It seems since I started using "master" branch instead of pip package, I have an issue with
read_chanmethod (It's for Real-time Thomson, that use SOD, non-demuxed)Working version is the latest installed by pip: acq400_hapi-2.9.4