Hi,
I’m using the python API to get data from the oscilloscope function of a Moku Go. When I specify a number of measurments frame_length that is greater than 4096, entries toward the end of both ‘ch1’ and ‘ch2’ register as NoneType Object. Changing the timout parameters (both the oscilloscope timout and the .session.read_timeout) did not help. Using wait_complete and wait_reacquire also did not help. The number of list elements registering as NoneType object seems to change based on the timebase, but I have not found a particular timebase that aleviates the probleme completly. The problem is reproducible : for the same parameters, the same list elements register as NoneType objects.
I include here a minimal working exemple :
from moku.instruments import Oscilloscope
osc = Oscilloscope(‘MokuGoIPadress’, force_connect=True)
osc.set_timebase(0,0.5,8192,strict=True)
test = osc.get_data()