Psychopy sending event code to biopac via parallel port

Hi Becca,
I’m trying to communicate with biopac via serial port as you’ve mentioned here. I posted a question with some details here.

Would you be able to explain a bit about how the code that you posted here works (either as reply to this thread or the other)? One issue that I encountered is that I only seem to be able to send bytes without error. Thanks!