Recording Data Stream with running PsychoPy program

Hi, I am trying to run my PsychoPy program that requires timed markers and synch it with the data stream coming from the Cyton board. The PsychoPy program can send to a virtual port, but the GUI can only pair with a USB port to get to the actual Cyton board. I know there is a way to record marker information, so any information about it would be helpful. I think the main issue that I'm having trouble with is that I can't find a way to start the session with an additional specific channel that will read from a specific port, but if anyone has any other tips that would be great.
Comments
Hi Mocker,
It is likely that your best resource for PsychoPy tips, are other users of that app. Here is what the "Google Advanced Search" button in upper right column turns up:
https://www.google.com/search?as_q=psychopy&as_sitesearch=openbci.com
If you find a person or thread topic that looks promising, you can click on the user's name, then use the 'Message' button at the top of their profile to send a message.
William
This tutorial was posted in 2020:
https://towardsdatascience.com/hacking-your-brain-with-openbci-and-psychopy-3c59b98e88ef
https://github.com/fahd09/OpenBCI-visual-discrimination-exp
https://github.com/fahd09
https://www.linkedin.com/in/fahd-alhazmi/
https://falhazmi.com/ [email address]
@wjcroft I think the issue is that we cannot find a way to add another channel to OpenBCI_Gui that would be listening to the virtual serial port (the same one that is used by the PsychoPy to write to markers to). The only option is 12 or 24 channels to be read from the bluetooth USB feed that are streamed from the dongle.
The above said might not hold, if there is an alternative way of marking/recording the serial port markers written by PsychoPy that synchronize the stimulus presentation and the raw EEG data (this is to be able to process signals for ERP).
The GUI has no ability to "add another channel". It only reads from hardware channels in Cyton or Ganglion.
I suggest emailing Fahd, links above.
Cyton has an 'external trigger' capability that may apply to your situation, provided your "synced timing markers" are of the appropriate type.
https://docs.openbci.com/Cyton/CytonExternal/
Some P300 experiments use a photo sensor at the corner of your display to record the external trigger.
https://docs.openbci.com/Examples/VideoExperiment/