<div>We gave up on using E-Prime to present videos of 7000 ms in length; they 
just wouldn't run reliably.  Instead we went to Matlab,  then discovered that 
the PST SRBox is sending random bytes to Matlab which are being misinterpreted 
as button presses.  The biggest consequence is that Matlab skips presenting 
videos unpredictably when there is extra information in the buffer.  </div>
<div> </div>
<div>I'm using the same SRBox for an audio experiment that E-Prime is 
presenting, so of course I was concerned when I discovered the visual 
bug.  E-Prime evidently "knows" about the problem because NetStation isn't 
recording more than one button press during the audio experiment. </div>
<div> </div>
<div>Has anyone else had this problem?  It does <em>not</em> appear to be the 
cable.  Moving the cable, even violently! :)), does nothing to the amount of noise 
we're recording; in contrast, button presses, particularly late in the video 
presentation just before a timeout, do.  Do these boxes send random bytes of 
information that E-Prime deals with routinely, or is there some problem with the 
way we've set it up (e.g., grounding?).  Or maybe it's a defective box. The 
'wait' code for Matlab from this thread lessened the problem but didn't solve 
it.</div>
<div> </div>
<div>thanks,</div>
<div>Margot<br><br></div><div class="gmail_quote">On Tue, Jun 19, 2012 at 2:43 PM, Chris Jones <span dir="ltr"><<a href="mailto:c.jones.phd@gmail.com" target="_blank">c.jones.phd@gmail.com</a>></span> wrote:<br><blockquote style="margin:0px 0px 0px 0.8ex;padding-left:1ex;border-left-color:rgb(204,204,204);border-left-width:1px;border-left-style:solid" class="gmail_quote">
<div>I'd also like to thank Ben very much for this information.  I came to this group looking for instructions on how to build a serial or parallel response box.  My department won't be able to approve a response box until the fall and I want some data now... </div>

<div> </div>
<div>The game controller option makes sense for so many reasons, including the psychological effect or context effect - perhaps pulling for more valid data - particularly in a stop signal paradigm.   Seems to fit with what Mich (Psychology, Nottingham; sorry don't have thread handy) elsewhere about psychological effects as being under-rated in comparison with timing precision... </div>

<div> </div>
<div>Just to review: I can use a Logitech game pad - for example <a href="http://www.logitech.com/en-ca/gaming/controllers/7360" target="_blank">http://www.logitech.com/en-ca/gaming/controllers/7360</a></div>
<div> </div>
<div>and download a driver...  I don't actually see a place to download drivers of the type Ben describes, but there is this information:  </div>
<div> </div>
<div>____________________________________</div>
<div>
<p><span style="font-weight:bold">DirectInput (D)</span></p>
<p>DirectInput mode works with Windows drivers to enable basic input functionality. This input mode also lets you use the Logitech Gaming Software to customize the inputs for games that don't normally allow you to do so, or don't have gamepad support at all.</p>

<p>You can use the Logitech Gaming Software with DirectInput mode to assign a specific key or key combination to any of the buttons or thumbsticks on the gamepad. You can also assign each thumbstick to work like a joystick or mouse.</p>

<p><font color="#bb1515">NOTE:</font> Logitech doesn't provide configuration software for non-Windows systems, but many games allow you to configure inputs in-game. DirectInput mode lets the gamepad communicate with the drivers on many such systems.</p>
</div>
<div>__________________________________________</div>
<div> </div>
<div>...And so using a driver and/or the above information, I will be able to assign an ASCII key or number to one or more gamepad buttons, right? </div>
<div> </div>
<div>And e-prime will be able to add this device - as an input device or the type, "response box"?  </div>
<div> </div>
<div>And then what about the timing errors?   I'm not so concerned, but can anyone estimate the timing errors for data logging?  Is there a way to minimize the error by changing the input refresh rate somewhere?  </div>

<div> </div>
<div>Thanks so much, </div>
<div>Chris </div>
<div> </div>
<div>Chris Jones, Ph.D.</div>
<div>Department of Psychology</div>
<div>Kwantlen Polytechnic University</div>
<div>Surrey, BC, Canada </div>
<div> </div>
<div><br>On Wednesday, April 22, 2009 6:17:25 AM UTC-7, ben wrote:</div>
<blockquote style="margin:0px 0px 0px 0.8ex;padding-left:1ex;border-left-color:rgb(204,204,204);border-left-width:1px;border-left-style:solid" class="gmail_quote">i've used a couple different USB controllers for this purpose over the years.  they're so much cheaper than the cedrus boxes or the pst response boxes. 
<div>both controllers i've used, and i would imagine all controllers of this type, have an accompanying driver which you download from the manufacturer's website and which allows you to assign a value to the various controller buttons.  presses on the controller mimic keyboard button presses, so all you need to do in eprime is set the object collecting responses to look for a keyboard response (as opposed to a response from a mouse or a pst response box).  for instance, set the object to accept '0' or '1', and then assign one button on the controller to be '0' and the other to be '1', turn off all the other buttons, and you're good to go.</div>

<div>pretty straight forward.</div>
<div><a href="http://www.logitech.com/index.cfm/gaming/pc_gaming/gamepads/devices/301&cl=US,EN" target="_blank">http://www.logitech.com/index.<u></u>cfm/gaming/pc_gaming/gamepads/<u></u>devices/301&cl=US,EN</a><br>
</div>
<div><br></div>
<div>ben<br><br>
<div class="gmail_quote">On Wed, Apr 22, 2009 at 7:56 AM, Jeffrey Bedwell <span dir="ltr"><<a href="mailto:jbedwell@mail.ucf.edu" target="_blank">jbedwell@mail.ucf.edu</a>></span> wrote:<br>
<blockquote style="margin:0px 0px 0px 0.8ex;padding-left:1ex;border-left-color:rgb(204,204,204);border-left-width:1px;border-left-style:solid" class="gmail_quote"><br>Thanks for this info. Are you using this gamepad with E-Prime? If so,<br>
do you write script to tell the software how to interact with the<br>gamepad?<br><br>-Jeff<br>
<div><br>On Apr 21, 9:20 am, <a>baltimore....@gmail.com</a> wrote:<br></div>
<div>> we use the logitech precision usb gamepad.<br>><br></div>
<div>> On Apr 10, 2009 2:09pm, Jeffrey Bedwell <<a>jbedw...@mail.ucf.edu</a>> wrote:<br>><br>><br>><br>> > Hi. I was wondering if anyone has suggestions for a button response<br>> > unit to use with E-Prime 2.0 Professional in the context of ERP/EEG<br>
> > experiments? The PST response unit does not appear to be ideal for<br>> > this because it has an A/C power cable coming up to the unit that may<br>> > cause interference with the ERP signal. I'd like some type of video<br>
> > game controller or wireless unit that the participant can hold in<br>> > their lap comfortably. Also, if it can plug into USB port, that may be<br>> > ideal. Does anyone have any suggestions? Also, if anyone has<br>
> > successfully used the PST response unit in the context of ERP/EEG<br>> > equipment, please let me know your thoughts on this. Thanks. I'd<br>> > appreciate any feedback!<br>> > Jeffrey S. Bedwell, Ph.D.<br>
> > Assistant Professor<br>> > Department of Psychology<br></div>> > University of Central Florida- Hide quoted text -<br>><br>> - Show quoted text -<br>
<div>
<div></div>
<div><br></div></div></blockquote></div><br></div></blockquote><span class="HOEnZb"><font color="#888888">

<p></p>

-- <br>
You received this message because you are subscribed to the Google Groups "E-Prime" group.<br>
To view this discussion on the web visit <a href="https://groups.google.com/d/msg/e-prime/-/cEXjWgmdWi0J" target="_blank">https://groups.google.com/d/msg/e-prime/-/cEXjWgmdWi0J</a>.<br> 
To post to this group, send email to <a href="mailto:e-prime@googlegroups.com" target="_blank">e-prime@googlegroups.com</a>.<br>
To unsubscribe from this group, send email to <a href="mailto:e-prime%2Bunsubscribe@googlegroups.com" target="_blank">e-prime+unsubscribe@googlegroups.com</a>.<br>

For more options, visit this group at <a href="http://groups.google.com/group/e-prime?hl=en" target="_blank">http://groups.google.com/group/e-prime?hl=en</a>.<br>


</font></span></blockquote></div><br>

<p></p>

-- <br />
You received this message because you are subscribed to the Google Groups "E-Prime" group.<br />
To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe@googlegroups.com.<br />
To post to this group, send email to e-prime@googlegroups.com.<br />
For more options, visit <a href="https://groups.google.com/groups/opt_out">https://groups.google.com/groups/opt_out</a>.<br />
 <br />
 <br />