PsychoPy to NetStation: sending multiple triggers

Hi! I’m using PsychoPy 2020.2.8 and Mac OS 10.9.5. I’m using pynetstation code to send triggers to netstation for each presentation of an image. I have two images appearing in sequence in a trial, but the code I have will only drop a tag for one image. Is there code to send one tag for each image in a trial? The code I have is pasted below (in the “Each Frame” tab).

Please forgive me if this is a naive question, I’m very new to PsychoPy! Thanks for your help

if image.status == STARTED and not triggerSent:
win.callOnFlip(eci_client.send_event, event_type = ‘vep1’)
triggerSent = True