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),


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?