Triggers not being sent
I've created an exp where participants have to listen to an audio ad break and the two pieces of audio are tagged (in the 'adbreak_loop_1') as either dynamic or standard. Every time an ad is played, I want a trigger to be sent using the following code (which works fine - exp.serial_port.write('8'.encode('utf-8'))). What I'm finding is that the code is being sent for the first ad in the block, but no others.
Things I've tried: I've tried to include this section within a new sequence; I've also checked that they are tagged to run within the sequence (changed to run = always, and also, [stim_type] = dynamic, [stim_type] = standard). Nothing has worked thus far.
Below is the ad_break_loop_1 which contains the tabular list of ad names and their classification, and also, the structure of the exp for this particular section.
Thanks in advance.