Send trigger from psychopy to powerlab

Hi, I am trying to sync psychhopy with powerlab from AD Instrumentes. Could someone guide me on this? I have the “stim tracker cedrus” module to connect them.

Our pyxid2 library would be a good starting point:

https://cedrus.com/support/xid/libraries.htm