This is probably not helpful to you, but in my experience parallel port converters are difficult to get to work for these applications (in fact, I never got one to work how I wanted) . So far I’ve either built my own hardware for TTL signals, or used a “real” lpt port…
I have used psychopy with USB parallel port adapters on a mac, but they probably all differ. Since buying a labjack I haven’t used parallel ports though - the labjack offers the same functionality and more
I’ll order a USB/parallel adapter to see if the code generally works. But let’s also try and find out about your system.
Can you tell us what the device is (brand and model if possible)?
Possibly PsychoPy isn’t finding the right address for it. You can find this out in the mac terminal window by entering these command before and after inserting the usb cable and seeing which addresses change (when you plug in the usb cable a new address should appear):
We are using a Macbook air, mac OS Sierra, version 10.12.5.
We bought a Redlink USB male to DB25 female cable, which is supposed to be compatible with MacOS/Linux.
I looked at the list of tty* and cu* files before and after inserting the USB-parallel port cable, but it didn’t show any new file.
Any additional insight would be greatly appreciated. Does it work properly on your side? Thank you very much for your help.
Im getting a similar error as this : "AttributeError: ‘ParallelPort’ object has no attribute ‘status’ " when I try to run my builder-based MEG experiment on my Mac Mojave 10.14.
I think that is because the attribute status is missing in the dummy constructor for parallel.ParallelPort on Mac.
If you go into the source code, there is no self.status = None as there should be.
However, I think even if you add the status attribute, the ParallelPort object still won’t do anything. I think it won’t throw an error but it won’t send triggers either because it is just a placeholder for Mac users. I might be mistaken though.
I was struggling with this for a while, but this works for me:
1-Check the correct port in mi Mac (fall 2020 M1 chip) in the terminal as Jon said.
2-Run an example script as a SERIAL port, not as parallel. For this, you need to use a code object rather than a parallel object from the builder.
@Sebastian_Espinoza Hello, can you share which USB-parallel adaptor you used?
Also, didn’t you experience voltage issue? (as far as I know, some serial device is over voltage issue when directly connect to the most biosignal amplifiers (i.e. Biopac)).