Serial port input device
David McFarlane
mcfarla9 at msu.edu
Mon Aug 23 15:34:21 UTC 2010
J,
Stock reminder: 1) I do not work for PST. 2) PST's trained staff
really does like to take any and all questions at
http://support.pstnet.com/e%2Dprime/support/login.asp , and they strive
to respond to all requests in 24-48 hours -- this is pretty much their
substitute for proper documentation, so make full use of it. 3) If you
do get an answer from PST Web Support, please extend the courtesy of
posting their reply back here for the sake of others.
That said, here is my take ...
Just to clarify, you actually have a completely different problem from
Daniel -- Daniel has some unknown custom-made devices that he wants to
get working through a serial port, whereas you simply have a standard
serial mouse that already works on the machines. Also, you most
certainly did not use a SerialDevice when you added the PST Serial
Response Box to E-Prime, you instead used the SRBox device. But let's
move on...
You neither need nor want to use the SerialDevice to use an ordinary
serial mouse in E-Prime. As long as the serial mouse already works
within Windows as an ordinary mouse, you need do nothing more in EP than
to add a Mouse device to the input mask of your stimulus object, and
then use a response of 1 for left button and 2 for right (if you also
want mouse coordinates then you will have to use some inline code). The
SerialDevice has nothing to do with the serial mouse.
Now a bit of unsolicited technical background: E-Prime does not even
know whether your mouse connects through a USB port, serial port, or any
other oddball port. It is the job of the operating system (in this
case, Windows) to handle the mouse hardware and then make that data
available to any other application as a generic mouse device.
-- David McFarlane, Professional Faultfinder
On Friday 20 Aug 2010 KiwiPG wrote:
> Hey David,
>
> Sorry for emailing you directly! I thought I posted here orginally :)
>
> I have this exact same problem right now..
>
> We are in the process of switching our class computers from superlab
> to Eprime2. We used good Ol' cheap serial mice to record RTs in
> superlab with no problems. I was under the impression that with the
> new Eprime2 I can simply add a serial device which was the case when I
> added the PST response box to our lab computer. However, when I tried
> to add a serial device (aka serial mouse) for class projects and got
> the same results as Daniel. Is inline script the only way to fix
> this? Really hope not...
>
> J
--
You received this message because you are subscribed to the Google Groups "E-Prime" group.
To post to this group, send email to e-prime at googlegroups.com.
To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com.
For more options, visit this group at http://groups.google.com/group/e-prime?hl=en.
More information about the Eprime
mailing list