Closed iandobbie closed 1 year ago
I have been trying to understand why this works with long experiments on the original dsp which appears to go through a similar code path, and yet the Red Pitaya timesout and kills the data collection.
Additionally, no updates to the status bar occur while this process is waiting. Its almost like it ought to be running in another thread but isn't.
I now believe this is at its heart a networking issue, but maybe needs some error checking code to fix it.
I rebooted the red pitaya and magically the expriments started to work normally. There is no longer a timeout issue and the status bar is updating as expected. I suspect that I managed to break the existing pryo backwards connection from the red pitaya to cockpit on a PC. The Red Pitaya is on a private network but a briefly shared the main internet link from the PC to allow the raspberry PI to synch its git repository with github, this changed the red Pitaya network address and I think broke things.
Will investigate further but closing this for now as I think this is a total red herring.
Any experiment that takes longer than the pyro timeout defined in devices/executorDevices.py initialize(), current main branch has this as 6 seconds, will truncate the experiment with a pyro timeout error.
The error I get is below. I think that cockpit is expecting a return from the executor once the experiment is setup and started, but nothing is being returned.