labscript-suite-temp / labscript_devices

Module containing labscript suite hardware compatibility, separate from the main programs. Device compatibility is implemented with a plugin architecture, for modularity and extensibility. Each file in this module contains a labscript device class, a BLACS tab class, a BLACS worker class and a runviewer parser class for a particular device. These implement functionality for the device which the programs in question call on when they encounter each device in user labscript code, hdf5 files, or connection tables.
0 stars 0 forks source link

imaqdx_server should optionally propagate exceptions if it cannot acquire images #32

Closed philipstarkey closed 5 years ago

philipstarkey commented 5 years ago

Original report (archived issue) by Chris Billington (Bitbucket: cbillington, GitHub: chrisjbillington).


It might sometimes be the desired behaviour to keep going if images weren't acquired, but I think the default should be to crash loudly.

Where transition_to_static has the prinline:

print('Acquisition not finished before transition_to_static. Aborting.')

after which it returns, it should instead raise an exception such that it will be re-raised in BLACS.

philipstarkey commented 5 years ago

Original comment by Chris Billington (Bitbucket: cbillington, GitHub: chrisjbillington).