I tried to look into what Zak suggested, and I found that the limiting factor isn't firmware of the devices we use (prawnblaster and NIDAQ cards) but handling the h5 file before the shot, which takes around 1 second (shortened timestamps below). Does anyone have any suggestions on how to speed it up? The experimental sequence I am using is attached to this email.
In addition, is it possible to use the function runner to extract the timeout status of a specified wait? I could figure out how to access the information since it is not written in the h5 file and as of now, I do not have analogue inputs available on my card.
2022-07-06 11:31:29,436 INFO BLACS.queue_manager.thread: All devices are back in static mode.
... processes form last to next shot
2022-07-06 11:31:29,437 INFO BLACS.AnalysisSubmission.mainloop: Processed signal: file
2022-07-06 11:31:29,463 INFO BLACS: received filepath: Z:\Experiments\test_apparatus\feedback_tst\2022\07\06\0131\2022-07-06_0131_feedback_tst_0.h5
2022-07-06 11:31:29,463 INFO BLACS: local filepath: C:\Experiments\test_apparatus\feedback_tst\2022\07\06\0131\2022-07-06_0131_feedback_tst_0.h5
2022-07-06 11:31:29,463 DEBUG BLACS.ConnectionTable: Parsing connection table from C:\Experiments\test_apparatus\feedback_tst\2022\07\06\0131\2022-07-06_0131_feedback_tst_0.h5
2022-07-06 11:31:29,469 INFO BLACS: Request handler: Experiment added successfully
2022-07-06 11:31:30,443 INFO BLACS.queue_manager.thread: Got a file: C:\Experiments\test_apparatus\feedback_tst\2022\07\06\0131\2022-07-06_0131_feedback_tst_0.h5
... preparing the h5 file
2022-07-06 11:31:30,474 DEBUG BLACS.DIO_card.mainloop: Processing event _transition_to_buffered
... programming the devices
2022-07-06 11:31:30,523 DEBUG BLACS.queue_manager.thread: About to start the master pseudoclock
2022-07-06 11:31:30,524 DEBUG BLACS.prawn.mainloop: Processing event _start_run
2022-07-06 11:31:30,525 DEBUG BLACS.prawn.mainloop: Instructing worker main_worker to do job start_run
... running the shot
2022-07-06 11:31:30,627 INFO BLACS.queue_manager.thread: All devices are back in static mode.
... ending the shot
2022-07-06 11:31:30,657 INFO BLACS: Request handler: Experiment added successfully
2022-07-06 11:31:31,634 INFO BLACS.queue_manager.thread: Got a file: C:\Experiments\test_apparatus\feedback_tst\2022\07\06\0132\2022-07-06_0132_feedback_tst_0.h5