Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Supported by

Triggers not being sent

Hey All,

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.

Comments

  • edited October 2020

    Hi, have you tried adding a sequence to the loop then including the ad and triggers into the sequence?

  • Hey Mate,

    Skilli, you my friend, are a genius. Thanks!!

    SOLVED

Sign In or Register to comment.