Howdy, Stranger!

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

Supported by

Odd Triggers - EEG

Hi All,

I'm currently using a Mind Media Nexus Trigger Interface, and I've managed to get the triggers to appear in the BioTrace software using the following code:

OpenConnection

import serial

exp.serial_port = serial.Serial('COM4', baudrate=115200, bytesize=serial.EIGHTBITS)

Write Trigger

exp.serial_port.write('target'.encode('utf-8'))

I have numerous triggers including 'target', 'dynamic', 'standard', 'filler', 'startle', etc. What I've noticed is that only the first letter of each trigger is being sent through (t,d,s,f,s, etc), but not the whole trigger string. Also, the triggers appear to be sending more than one piece of information. Instead of sending a single trigger, they are sending numerous. The attached excel sheet shows the different triggers being sent through.

Does anyone know how to modify the above code so that only one letter, or better yet, the whole trigger word, is sent through? Alternatively, can anyone explain the different triggers being sent through - or the numbers associated with each trigger?

Thanks in advance

Comments

  • Why don't you just send numbers?

    Like 1 = target, 2 = dynamic ...

    Maybe oldschool, but should work.

    Cheers, Stephan

  • Thanks Stephan. The numbers work fine!!

Sign In or Register to comment.