Hi Zak,
I want to first close the previous issue as resolved as I see that I sent a private email and perhaps there are others who will read this and would like to know if the suggested solution indeed was one - unpausing the sequence worked. I was under the impression the pausing was happening because of some wrong configuration somewhere but that was not the case. Later, there were a few errors in the script with regard to the number of defined channels and their appropriate names but, after sweeping those away, the whole script executed like a charm.
I have now another issue with PrawnBlaster which also maybe is oversight on my part. We are writing a test sequence to load a MOT. I wrote a separate module with a method for loading a MOT and called it in a different script (as you would in an experimental sequence). To make life easier I used import_or_reload() to import the connection table each time but upon executing the sequence script, I obtain this error -
Traceback (most recent call last):
File "C:\Users\control\labscript-suite\userlib\labscriptlib\DyBEC\Sequences\MOT_3D_Loading.py", line 5, in <module>
from labscriptlib.DyBEC.Subroutines.MOT import *
File "C:\Users\control\labscript-suite\userlib\labscriptlib\DyBEC\Subroutines\MOT.py", line 4, in <module>
import_or_reload('labscriptlib.DyBEC.connection_table')
File "C:\Users\control\anaconda3\envs\py39\lib\site-packages\labscript_utils\__init__.py", line 44, in import_or_reload
importlib.reload(sys.modules[modulename])
File "C:\Users\control\anaconda3\envs\py39\lib\importlib\__init__.py", line 169, in reload
_bootstrap._exec(spec, module)
File "C:\Users\control\labscript-suite\userlib\labscriptlib\DyBEC\connection_table.py", line 10, in <module>
PrawnBlaster(name='prawn', com_port='COM5', num_pseudoclocks=2)
File "C:\Users\control\anaconda3\envs\py39\lib\site-packages\labscript\labscript.py", line 192, in new_function
return_value = func(inst, *args, **kwargs)
File "C:\Users\control\anaconda3\envs\py39\lib\site-packages\labscript_devices\PrawnBlaster\labscript_devices.py", line 236, in __init__
PseudoclockDevice.__init__(self, name, trigger_device, trigger_connection)
File "C:\Users\control\anaconda3\envs\py39\lib\site-packages\labscript\labscript.py", line 192, in new_function
return_value = func(inst, *args, **kwargs)
File "C:\Users\control\anaconda3\envs\py39\lib\site-packages\labscript\labscript.py", line 1234, in __init__
raise LabscriptError('There is already a master pseudoclock device: %s.'%
device.name +
labscript.labscript.LabscriptError: There is already a master pseudoclock device: prawn.There cannot be multiple master pseudoclock devices - please provide a trigger_device for one of them.
Compilation aborted.
I have attached the modified connection table and the sequence script here if that helps.