Triggering failed although Xidon2 works well

Dear all,

I am struggling with problems regarding triggering.
I just bought Stimtracker Duo, and connected it to our EEG.

Xidon2 works well, only when I checked box6 (topline, value=64)
However, when I write the following codes in Python (or Psychopy),


ser=serial.Serial(’/dev/tty.usbserial-1420’)
ser.write(1)


any error does not occur in the program window, but triggering doesn’t work.
I used MAC, but same problems happened even when I used Windows and wrote similar codes.
Is it possible to let me know how to solve this problem?

Thanks,