the button box has no manufacturer and we have little to no information about it. The button box does work in Presentation software and from there I was able to learn this information about the device:
port type: serial / device: COM1 / Identifier: COM1 / Rate: 19200 / Data Bits: 8 /Stop Bits: 1.
By using the following code I learned that python is recognizing the port (as it prints ‘COM1’) :
ser = serial.Serial()
ser = serial.Serial('COM1', 19200, timeout=0, parity=serial.PARITY_EVEN, rtscts=0)
Now that I know the port is being recognized. I need Psychopy to get the responses from each button that is connected to the serial port and for the program to recognize that responses from the serial port are the ones to be expected (and also record their reaction time and accuracy).
Also note that I have tried to use this button box as an ioLab, cedrus, joy buttons and the buttons do not trigger any response. Any suggestions? @Becca @JensBoelte @mdc @Michael
Thanks for the help,