P_port properties: end EEG trigger on varied duration of movie/audio files within loop

Hello,

In Builder, I have audio and video files of varied durations in separate loops followed by rating scale components. I would like to create EEG triggers that start and stop at the end of each audio and video file. I am not quite sure how to go about doing so.

My initial thought is that I might set the ‘Stop’ attribute in the ParallelOut Properties dialogue box to ‘condition’ and then create a variable in the .csv file that contains the varied duration of each video?

Any suggestions would be much appreciated!

Thank you,
Santi