Hi all,
I am working with Stephany and we wanted to clarify some of the trouble we are having. We are still having trouble getting
psychopy version 1.80.03 to send triggers from a Windows 7 32 bit computer to a Windows
XP computer. Currently, EPrime 2.0 is
able to send triggers between the two computers. We have now confirmed that both a Windows XP and a computer running a Linux operating system (with some minor changes in script) can successfully send triggers to the Windows XP computer which our Windows 7 32bit computer is having difficulty with. To clarify, InpOut32 does not work on the Windows 7 32bit computer, it simply does not cause psychopy to crash as DLPortIO does. While using InpOut32 and
setting the pins to specific values, pins 1, 3, 4, 5, and 6 are high and give a value of 128, but does not respond to the triggers defined by psychopy. We have another set of two windows XP computers which are able to successfully send triggers to one another using DLPortIO. If we import parallel on the windows 7 32 bit computer, we receive the following error:
Python 2.7.3 (default, Apr 10 2012, 23:31:26) [MSC v.1500 32 bit (Intel)] on win
32
Type "help", "copyright", "credits" or "license" for more information.
>>> import parallel
>>> p = parallel.Parallel()
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "C:\Program Files\PsychoPy2\lib\site-packages\parallel\parallelwin32.py",
line 74, in __init__
self.ctrlReg = _pyparallel.inp(self.ctrlRegAdr)
WindowsError: exception: priviledged instruction
We receive the same error when attempting to import parallel on the two connected Windows XP computers (when using InpOut32), but if we attempt to import the parallel from psychopy such as:
>>> from psychopy import parallel
>>> port = parallel.ParallelPort(address=0x0378)
>>> port.setData(0)
>>> port.setData(1)
>>> port.setData(0)
>>> port.setData(1)
>>> port.setData(0)
The two windows XP computers will successfully show the output of triggers (even when using InpOut32), but the Windows 7 32 bit computer still gives no output, even when using a multimeter to detect.
To summarize:
On the Windows 7 32 bit computer. We have:
Installed InpOut32, which causes psychopy to report that is is giving triggers, but a multimeter confirms that this is not so.
Installed DLPortIO, which causes psychopy to crash when ran (but DLPortIO successfully outputs triggers using psychopy when used with two Windows XP systems).
Confirmed that triggers will be outputted when using Eprime.
I have attached a simple experiment which we are using to detect triggers and the corresponding .py file.
Thank you,
Nick