﻿<?xml version="1.0" encoding="UTF-8"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>Millisecond Forums » Millisecond Forums » Inquisit 3  » Sending TTL Signals as Event Markers to Biopac MP35 amplifier</title><generator>InstantForum 2017-1 Final</generator><description>Millisecond Forums</description><link>https://forums.millisecond.com/</link><webMaster>Millisecond Forums</webMaster><lastBuildDate>Sun, 13 Sep 2026 21:10:58 GMT</lastBuildDate><ttl>20</ttl><item><title>Sending TTL Signals as Event Markers to Biopac MP35 amplifier</title><link>https://forums.millisecond.com/Topic9440.aspx</link><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I've been working to send TTL signals to a Biopac MP35 amplifier in order to record event markers for collecting GSR data.&amp;nbsp; What I would like to do is insert an event marker at the beginning and end of each trial.&amp;nbsp; I've been successful with this before using a different amplifier (BioLog), but have not found a way to do this with the Biopac system.&lt;/p&gt;
&lt;p&gt; Another problem I am having is that when I attempt to run the parallel port monitor inquisit crashes.&amp;nbsp; Finally, I've also attempted to run the script to determine if the biopac will receive the TTL signal and I've had no success with this either.&amp;nbsp; Below is a portion of script I'm using, first part is defining the TTL signal and below that you can see where I am attempting to insert these signals during a trial. Any advice would be appreciated.&lt;/p&gt;
&lt;p&gt;Best,&lt;/p&gt;
&lt;p&gt;Patrick&lt;/p&gt;

&lt;p&gt;&amp;lt;port EM0&amp;gt;&lt;br /&gt;/ port = lpt1&lt;br /&gt;/ subport = data&lt;br /&gt;/ items = ("00000000")&lt;br /&gt;&amp;lt;/port&amp;gt;&lt;/p&gt;
&lt;p&gt;&amp;lt;port EM1&amp;gt;&lt;br /&gt;/ port = lpt1&lt;br /&gt;/ subport = data&lt;br /&gt;/ items = ("00000001")&lt;br /&gt;&amp;lt;/port&amp;gt;&lt;/p&gt;
&lt;p&gt;&amp;lt;trial CSM_H&amp;gt;&lt;br /&gt;/ stimulustimes = [1=CSM, EM1; 7000 = blank, EM0]&lt;br /&gt;/ inputdevice = mouse&lt;br /&gt;/ correctresponse = (lbuttondown)&lt;br /&gt;/ pretrialpause = 1500&lt;br /&gt;/ timeout = 10000&lt;br /&gt;&amp;lt;/trial&amp;gt;&lt;br /&gt;&lt;/p&gt;</description><pubDate>Wed, 13 Feb 2013 11:30:41 GMT</pubDate><dc:creator>pspowell</dc:creator></item><item><title>RE: Sending TTL Signals as Event Markers to Biopac MP35 amplifier</title><link>https://forums.millisecond.com/Topic9676.aspx</link><description>&lt;p&gt;Hi Sean,&lt;/p&gt;
&lt;p&gt;Thanks for the advice the LapLink cable works perfectly, and definitely was a much more economical option than the proprietary cable offered by biopac.&lt;/p&gt;
&lt;p&gt;Thanks again!&lt;/p&gt;
&lt;p&gt;Patrick&lt;/p&gt;</description><pubDate>Wed, 13 Feb 2013 11:30:41 GMT</pubDate><dc:creator>pspowell</dc:creator></item><item><title>RE: Sending TTL Signals as Event Markers to Biopac MP35 amplifier</title><link>https://forums.millisecond.com/Topic9489.aspx</link><description>&lt;p&gt;
&lt;p&gt;As Dave mentioned, no software program can send signals out of pins 10-13 as the hardware of the port simply doesn't support this. However, you have a couple of options, neither of which requires building your own cable:&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size: 12px;"&gt;1) Presumably&lt;/span&gt;&lt;span style="font-size: 12px;"&gt;&amp;nbsp;you are using a straight-through parallel port cable, which maps each pin directly to its counterpart on the other side. Instead, you need a "LapLink" or "InterLink" parallel port cable, which maps pins 3-6 of the data register on the PC to pins 10-13 of the status register on the amp). Here's a &lt;a href="http://pinouts.ru/ParallelPortsCables/InterLink_pinout.shtml"&gt;pin-out diagram for a LapLink cable&lt;/a&gt;. &lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size: 12px;"&gt;As you can see from the diagram, 4 bits can be sent and received using this scheme - specifically bits 1-4 make up the signal, whereas bits 0, 5-7 are ignored. Given the ignored bits, "11111111" and "00011110" are the same value as far as BioPac is concerned, but "00011010" and "00010110" are different values. T&lt;/span&gt;&lt;span&gt;he highest value you can send is "00011110", which equals 16.&lt;/span&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size: 12px;"&gt;If Biopac only registers input on its status port, I'd be surprised if they didn't include such a cable, but if not, you can easily find them &lt;a href="http://www.cablestogo.com/product/02896"&gt;online&lt;/a&gt;&amp;nbsp;or at places like&amp;nbsp;RadioShack.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size: 12px;"&gt;2) Just about every modern parallel ports allow the data register (pins 2-9) to both read and write data. I'd be surprised if there wasn't a way to switch the BioPac data register into read mode, in which case you could use a straight through cable and send 8-bit signals to BioPac's pins 2-9. Possibly you've already pursued this with BioPac support resources, but if not, it might be worth a try.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;Hope this helps,&lt;br /&gt;&lt;span style="font-size: 12px;"&gt;Sean&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size: 12px;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p&gt;&lt;span style="font-size: 12px;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;
&lt;/p&gt;</description><pubDate>Tue, 22 Jan 2013 15:38:09 GMT</pubDate><dc:creator>seandr</dc:creator></item><item><title>RE: Sending TTL Signals as Event Markers to Biopac MP35 amplifier</title><link>https://forums.millisecond.com/Topic9488.aspx</link><description>&lt;p&gt;Inquisit can send via the data and control registers. You specify the register to use via the /subport attribute. Details are available in the language reference for the &amp;lt;port&amp;gt; element in the documentation. A schematic overview is available in the documentation's "&lt;span class="header1"&gt;How to Present TTL Signals Through the Parallel 
Port" topic.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span class="header1"&gt;Pins 22-25 are ground pins which Inquisit cannot set. Pins 10-13 are status pins, which are for input only. See e.g. http://www.probotix.com/manuals/images/parallel_port_pinout.jpg for an illustration.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span class="header1"&gt;If the Biopac amp provides no means to change / select the pins used for sending and receiving data, I don't see a way to pull this of short of rewiring the cable (which should only be done with the aid of a trained electronics professional).&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;</description><pubDate>Tue, 22 Jan 2013 13:33:36 GMT</pubDate><dc:creator>Dave</dc:creator></item><item><title>RE: Sending TTL Signals as Event Markers to Biopac MP35 amplifier</title><link>https://forums.millisecond.com/Topic9487.aspx</link><description>&lt;p&gt;Yes the amp is designed to recognize TTL signals.&amp;nbsp; I think the problem is that it records digital inputs on pins 10 -13 and 22-25.&amp;nbsp; This seems like it would pose a problem since inquisit seems to send data signals on pins 2-9.&amp;nbsp; Is there anyway to tell inquisit to send the signal on a different pin other than pins 2-9?&lt;/p&gt;</description><pubDate>Tue, 22 Jan 2013 13:15:47 GMT</pubDate><dc:creator>pspowell</dc:creator></item><item><title>RE: Sending TTL Signals as Event Markers to Biopac MP35 amplifier</title><link>https://forums.millisecond.com/Topic9486.aspx</link><description>&lt;p&gt;Have you ruled out that the Biopac amp is part of the problem? I.e., does the amp catch TTL signals from that machine at all (not using Inquisit)?&lt;/p&gt;</description><pubDate>Tue, 22 Jan 2013 13:06:14 GMT</pubDate><dc:creator>Dave</dc:creator></item><item><title>RE: Sending TTL Signals as Event Markers to Biopac MP35 amplifier</title><link>https://forums.millisecond.com/Topic9485.aspx</link><description>&lt;p&gt;Hi Dave,&lt;/p&gt;
&lt;p&gt;I was able to fix the parallel port tool problem by adding the inpout32.dll to the inquisit program directory like you mentioned.&amp;nbsp; So far so good, the parallel port tool seems to be working properly.&amp;nbsp; Now I'm on to my next problem, which is getting my biopac amplifier to record a ttl signal from inquisit.&amp;nbsp; I've tried using the parallel port tool to see what which signal the biopac will recognize but I've had no luck.&amp;nbsp; I've also tried running my script to send event signals (see earlier post), but this hasn't worked either.&amp;nbsp; I'm open to any other suggestions you guys might have.&amp;nbsp;&amp;nbsp; &lt;/p&gt;
&lt;p&gt;Thanks in advance!&lt;/p&gt;</description><pubDate>Tue, 22 Jan 2013 11:51:15 GMT</pubDate><dc:creator>pspowell</dc:creator></item><item><title>RE: Sending TTL Signals as Event Markers to Biopac MP35 amplifier</title><link>https://forums.millisecond.com/Topic9443.aspx</link><description>&lt;p&gt;The thread mentioned in my previous reply includes a download link to the library. Repeating it here: &lt;a href="http://logix4u.net/InpOutBinaries.zip"&gt;http://logix4u.net/InpOutBinaries.zip&lt;/a&gt;. Extract the zip and put inpout32.dll in the Inquisit program directory (i.e., where Inquisit.exe is located).&lt;/p&gt;</description><pubDate>Thu, 10 Jan 2013 14:25:51 GMT</pubDate><dc:creator>Dave</dc:creator></item><item><title>RE: Sending TTL Signals as Event Markers to Biopac MP35 amplifier</title><link>https://forums.millisecond.com/Topic9442.aspx</link><description>&lt;p&gt;Hi Dave,&lt;/p&gt;
&lt;p&gt;I've tried all your suggestions, and I even attempted to run the script and the port monitor tool in Inquisit 2, with not luck.&amp;nbsp; However, I was having a little trouble finding the port library you suggested.&amp;nbsp; Also, just to clarify, do I simply remove the old port library and replace it the version you suggested in the forum?&amp;nbsp; If there is anything else that needs to be done or that I could try just let me know.&lt;/p&gt;
&lt;p&gt;Thanks again,&lt;/p&gt;
&lt;p&gt;Patrick&lt;/p&gt;</description><pubDate>Thu, 10 Jan 2013 13:31:15 GMT</pubDate><dc:creator>pspowell</dc:creator></item><item><title>RE: Sending TTL Signals as Event Markers to Biopac MP35 amplifier</title><link>https://forums.millisecond.com/Topic9441.aspx</link><description>&lt;p&gt;Regarding the crash:&lt;/p&gt;
&lt;p&gt;- try running things on a 32-bit Windows system. The Inquisit 3 port monitor may not work properly under 64-bit Windows editions.&lt;/p&gt;
&lt;p&gt;- make sure you have the latest Inquisit 3 version installed (check http://www.millisecond.com/download)&lt;/p&gt;
&lt;p&gt;- try using a different port library than the one shipping with Inquisit 3 by default. See http://www.millisecond.com/forums/Topic7461.aspx#7461.&lt;/p&gt;</description><pubDate>Thu, 10 Jan 2013 12:36:25 GMT</pubDate><dc:creator>Dave</dc:creator></item></channel></rss>