fNIRS Hyperscanning study

Hi. I am trying to build my first fNIRS hyperscanning study using Psychopy 3. The study requires two participants to discuss two topics (two conditions) in each run. I am new to Python syntax and I don’t know how to send serial port and condition markers to the fNIRS device (LABNIRS, Shimadzu). Could anyone be so kind as to show me how to do this? I’ll be highly appreciated!