<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Dear Davide,<div><br></div><div>the ADR-100 (Ontrak Control Systems, Sudbury, Ontario, Canada) is what I would recommend. It is inexpensive ($99) and robust. It works on the serial port, but I use an usb to serial converter. A hint below that took me a long time to figure out. You will need to change the terminator to 13 so the card functions properly.</div><div><br></div><div>I have been able to address 2 of these cards simultaneously to sync EEG acquisition with other signal and was able to sync EEG down to almost ms precision (I did not try ms precision only 250 Hz and synchronization was perfect). </div><div>I have also used the measurement computing card under Matlab that Pat mentions and it works as well (but I think it is more expensive).</div><div>Best,</div><div><br></div><div>Arno</div><div><br></div><div><a href="http://www.ontrak.net/products.htm#ADR100">http://www.ontrak.net/products.htm#ADR100</a></div><div><br></div><div><b>Below, all the code you will need</b></div><div>port = 'COM5'; % change the port here</div><div><div>serialPort = serial(port, 'baudrate', 9600);</div><div>set(serialPort, 'terminator', 13);<br>fopen(serialPort);<br><br></div><div><div>fwrite(serialPort1, ['CPA00000000' char(13)]);</div><div>fwrite(serialPort1, ['SPA00000000' char(13)]);</div><div>fwrite(serialPort1, ['SPA00000001' char(13)]);</div><div>pause(0.05);</div><div>fwrite(serialPort1, ['SPA00000000' char(13)]);</div><div>disp('Testing - bytes sent to serial port 1!');</div></div><div><br></div><div>The card has 8 bit output. For example, if you want to send 255, you send 'SPA11111111'.</div></div><div><br></div><div><div><div>On Jul 12, 2012, at 2:35 PM, Patrick Simen wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite">
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Davide,<div><br></div><div>We used a USB device from Measurement Computing for which PsychToolbox has a controller toolbox (found in in your PTB folder under PsychHardware/DAQ; see <a href="http://www.mccdaq.com/usb-data-acquisition/USB-1208FS.aspx">http://www.mccdaq.com/usb-data-acquisition/USB-1208FS.aspx</a> ). We sent analog outputs from a Mac laptop out of this device (a USB 1208-FS, approx $200), and soldered two wires from the DAQ device into a parallel port connector. (If you go this route, make sure you get the right device, a 1208-FS or 1608-FS --- other similar devices by Measurement Computing ending in LS do not work with the DAQ toolbox.)<div><br></div><div>More recently, I also solved the problem of wiring up the USB device to a parallel port connector without soldering by selecting ribbon cable and a snap-together parallel port connector from a company called SparkFun. This solution seems to work fine.</div><div><br></div><div>I've had no serious problems with this approach so far, but you can be limited in the number of distinct events you can encode, depending on whether your amplifier and recording software accept different voltage levels as different event triggers (in which case, no problem), or whether they accept only ON vs. OFF on each of several different pins of the parallel port (in that case, you can only encode a few distinct event types, although you might increase the number by using two of those USB devices -- not sure if PTB can handle that though). </div><div><br></div><div>Good luck,</div><div><br></div><div>Pat.</div><div><br><div><div>On Jul 12, 2012, at 4:47 PM, Andrew Smart wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite">If you have a Dell laptop you can just use a docking station with the right ports - we get fine results for the triggers using these: <br><br><a href="http://accessories.us.dell.com/sna/productdetail.aspx?c=us&l=en&s=gen&sku=310-2873">http://accessories.us.dell.com/sna/productdetail.aspx?c=us&l=en&s=gen&sku=310-2873</a><br>
<br>Andy<br><br><div class="gmail_quote">On Thu, Jul 12, 2012 at 2:28 PM, Ruud Kalis <span dir="ltr"><<a href="mailto:rkalis@ant-neuro.com" target="_blank">rkalis@ant-neuro.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Dear Davide,<br>
<br>
We have done some pilot tests at ANT with an express card to paralel port adapter. The manufacturer is Delock:<br>
<a href="http://www.delock.de/produkte/G_66220/merkmale.html?setLanguage=en" target="_blank">http://www.delock.de/produkte/G_66220/merkmale.html?setLanguage=en</a><br>
<br>
The results for trigger accuracy are ok since express cards are on pci slots on the motherboard. The timing is much better than with the asynchronous usb port. Keep in mind that the lcd screen takes different time for changes in colours. A black - white transition might be slower than a grey - white. Also soundcards in laptops might not have vary good timing.. There is a lot to optimize if you want to achieve a high trigger / stimulus synchronization. But for mobile labs a laptop is just more easy to use.<br>
<br>
Good luck with setting up your experiments!<br>
Best,<br>
Ruud Kalis<br>
<div class="HOEnZb"><div class="h5"><br>
----- Original Message -----<br>
From: Davide Baldo <<a href="mailto:davidebaldo84@gmail.com">davidebaldo84@gmail.com</a>><br>
To: <a href="mailto:eeglablist@sccn.ucsd.edu">eeglablist@sccn.ucsd.edu</a><br>
Sent: Thu, 12 Jul 2012 15:20:58 +0200 (CEST)<br>
Subject: [Eeglablist] The parallel port - TRIGGERS<br>
<br>
Hello all,<br>
<br>
When running EEG experiments, I use Psychtoolbox (in Matlab) to<br>
present subjects with different stimuli<br>
So far, I have been using a desktop, that has a parallel port that<br>
allows me to send out the triggers related to the stimuli.<br>
The triggers are accepted in input from the EEG recording system again<br>
via a parallel port.<br>
<br>
I would like to use a laptop rather than a desktop to present the<br>
subjects with the stimuli and to send out the related triggers.<br>
The problem is that is hard to find a laptop with a parallel port. I<br>
was wondering if any of you found a solution to this problem.<br>
<br>
That would be very helpful!<br>
<br>
Thanks in advance,<br>
<br>
<br>
Davide.<br>
_______________________________________________<br>
Eeglablist page: <a href="http://sccn.ucsd.edu/eeglab/eeglabmail.html" target="_blank">http://sccn.ucsd.edu/eeglab/eeglabmail.html</a><br>
To unsubscribe, send an empty email to <a href="mailto:eeglablist-unsubscribe@sccn.ucsd.edu">eeglablist-unsubscribe@sccn.ucsd.edu</a><br>
For digest mode, send an email with the subject "set digest mime" to <a href="mailto:eeglablist-request@sccn.ucsd.edu">eeglablist-request@sccn.ucsd.edu</a><br>
<br>
</div></div><span class="HOEnZb"><font color="#888888">--<br>
Ruud Kalis<br>
Sales and Support Germany<br>
ANT (Advanced Neuro Technology)<br>
Berlin, Germany<br>
T: <a href="tel:%2B49%20%280%29%20163%2079%2016%20114" value="+491637916114">+49 (0) 163 79 16 114</a><br>
F: <a href="tel:%2B31%20%280%2953%20430%203795" value="+31534303795">+31 (0)53 430 3795</a><br>
I: <a href="http://www.ant-neuro.com/" target="_blank">www.ant-neuro.com</a><br>
===<br>
This message, including attachments, may contain confidential information that is proprietary and/or legally privileged. If you are not an intended recipient, or a person responsible for delivering it to the intended recipient, please notify the sender and then delete and destroy the original message and all copies. You should not copy, forward, or disclose this message, in whole or in part, without permission of the sender. Thank you for helping us to maintain the confidentiality of this information.<br>
</font></span><div class="HOEnZb"><div class="h5">_______________________________________________<br>
Eeglablist page: <a href="http://sccn.ucsd.edu/eeglab/eeglabmail.html" target="_blank">http://sccn.ucsd.edu/eeglab/eeglabmail.html</a><br>
To unsubscribe, send an empty email to <a href="mailto:eeglablist-unsubscribe@sccn.ucsd.edu">eeglablist-unsubscribe@sccn.ucsd.edu</a><br>
For digest mode, send an email with the subject "set digest mime" to <a href="mailto:eeglablist-request@sccn.ucsd.edu">eeglablist-request@sccn.ucsd.edu</a><br>
</div></div></blockquote></div><br>
_______________________________________________<br>Eeglablist page: <a href="http://sccn.ucsd.edu/eeglab/eeglabmail.html">http://sccn.ucsd.edu/eeglab/eeglabmail.html</a><br>To unsubscribe, send an empty email to <a href="mailto:eeglablist-unsubscribe@sccn.ucsd.edu">eeglablist-unsubscribe@sccn.ucsd.edu</a><br>For digest mode, send an email with the subject "set digest mime" to <a href="mailto:eeglablist-request@sccn.ucsd.edu">eeglablist-request@sccn.ucsd.edu</a></blockquote></div><br><div apple-content-edited="true">
<div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><br class="Apple-interchange-newline">Patrick Simen, Ph.D.<br>Assistant Professor, Neuroscience Department</div><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Oberlin College<br><a href="mailto:psimen@oberlin.edu">psimen@oberlin.edu</a><br><a href="http://www.oberlin.edu/faculty/psimen">www.oberlin.edu/faculty/psimen</a><br><br></div></div>
</div>
<br></div></div></div>_______________________________________________<br>Eeglablist page: <a href="http://sccn.ucsd.edu/eeglab/eeglabmail.html">http://sccn.ucsd.edu/eeglab/eeglabmail.html</a><br>To unsubscribe, send an empty email to <a href="mailto:eeglablist-unsubscribe@sccn.ucsd.edu">eeglablist-unsubscribe@sccn.ucsd.edu</a><br>For digest mode, send an email with the subject "set digest mime" to <a href="mailto:eeglablist-request@sccn.ucsd.edu">eeglablist-request@sccn.ucsd.edu</a></blockquote></div><br></div></body></html>