When integrating with our ephys system (Ripple) it is convenient to give an indication of when to start and stop recording as well as pause and unpause recording. This is done via a parallel port strobed word. The way I currently have it setup and working is to start and stop with the data logging flag. This works well but it generates one file per trial. It would be nicer to just have one data file per protocol run, so a more convenient thing to do then would be to start recording with the start of the task protocol and stop recording with the end of the task protocol and to pause / unpause with the data logging flag. I have some ideas on how to do whit within the state flow but wonder if theres a signal floating around that gives this information so that I could grab it directly.