﻿<?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 4  » Getting inquisit to communicate to Power Lab</title><generator>InstantForum 2017-1 Final</generator><description>Millisecond Forums</description><link>https://forums.millisecond.com/</link><webMaster>Millisecond Forums</webMaster><lastBuildDate>Sat, 12 Sep 2026 05:16:14 GMT</lastBuildDate><ttl>20</ttl><item><title>Getting inquisit to communicate to Power Lab</title><link>https://forums.millisecond.com/Topic13346.aspx</link><description>Hi there,&amp;nbsp;&lt;div&gt;&lt;div&gt;&lt;br/&gt;&lt;/div&gt;I don't understand the port definitions and use of binary numbers for inquisit scripting . I am designing a fear conditioning experiment and require Powerlab to automate electrical stimuli for particular trials.&amp;nbsp;&lt;div&gt;&lt;div&gt;&lt;br/&gt;&lt;/div&gt;So in terms of putting this into my script, I am unsure of what the binary numbers indicate (under items). I have been given a demo script with these port definitions, however I don't quite understand what they mean. here are a few examples:&lt;div&gt;&lt;div&gt;&lt;div&gt;&lt;br/&gt;&lt;/div&gt;&lt;div&gt;&amp;lt;port prestimulus_habit&amp;gt;&lt;/div&gt;&lt;div&gt;/ port = lpt1&lt;/div&gt;&lt;div&gt;/ subport = data&lt;/div&gt;&lt;div&gt;/ items = ("00011000")&lt;/div&gt;&lt;div&gt;/ erase = "00000000"&lt;/div&gt;&lt;div&gt;&amp;lt;/port&amp;gt;&lt;/div&gt;&lt;div&gt;&lt;br/&gt;&lt;/div&gt;&lt;div&gt;&amp;lt;port stimulus_onsetred&amp;gt;&lt;/div&gt;&lt;div&gt;/ port = lpt1&lt;/div&gt;&lt;div&gt;/ subport = data&lt;/div&gt;&lt;div&gt;/ items = ("00001000")&lt;/div&gt;&lt;div&gt;/ erase = "00000000"&lt;/div&gt;&lt;div&gt;&amp;lt;/port&amp;gt;&lt;/div&gt;&lt;div&gt;&lt;br/&gt;&lt;/div&gt;&lt;div&gt;&amp;lt;port stimulus_onsetblue&amp;gt;&lt;/div&gt;&lt;div&gt;/ port = lpt1&lt;/div&gt;&lt;div&gt;/ subport = data&lt;/div&gt;&lt;div&gt;/ items = ("00010000")&lt;/div&gt;&lt;div&gt;/ erase = "00000000"&lt;/div&gt;&lt;div&gt;&amp;lt;/port&amp;gt;&lt;div&gt;&lt;br/&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;Hope that makes sense.&amp;nbsp;&lt;div&gt;&lt;div&gt;&lt;br/&gt;&lt;/div&gt;Any help appreciated :)&lt;div&gt;&lt;div&gt;&lt;br/&gt;&lt;/div&gt;Dk57&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;</description><pubDate>Thu, 22 May 2014 03:42:17 GMT</pubDate><dc:creator>dk57</dc:creator></item><item><title>RE: Getting inquisit to communicate to Power Lab</title><link>https://forums.millisecond.com/Topic13348.aspx</link><description>Also see the "How to Present TTL Signals Through the Parallel Port" and "How to Use the Parallel Port Monitor Tool" topics in the Inquisit documentation (How To-section), as well as the language reference for the &amp;lt;port&amp;gt; element.&lt;br/&gt;</description><pubDate>Thu, 22 May 2014 03:42:17 GMT</pubDate><dc:creator>Dave</dc:creator></item><item><title>RE: Getting inquisit to communicate to Power Lab</title><link>https://forums.millisecond.com/Topic13347.aspx</link><description>Hi there,&lt;div&gt;&lt;span style="font-size: 10pt;"&gt;The binary strings are numbers written in base 2 rather than the standard base 10. For port signals, each bit maps to a pin, so with binary you can tell which pin is set high.&lt;div&gt;&lt;span style="font-size: 10pt;"&gt;However, you can also present stimuli as standard 10-base digits. For example:&lt;div&gt;&lt;div style="margin: 0px; padding: 0px; border: 0px; outline: 0px; background-color: rgb(255, 255, 255); color: rgb(136, 136, 136); font-family: Arial;"&gt;&amp;lt;port prestimulus_habit&amp;gt;&lt;/div&gt;&lt;div style="margin: 0px; padding: 0px; border: 0px; outline: 0px; background-color: rgb(255, 255, 255); color: rgb(136, 136, 136); font-family: Arial;"&gt;/ port = lpt1&lt;/div&gt;&lt;div style="margin: 0px; padding: 0px; border: 0px; outline: 0px; background-color: rgb(255, 255, 255); color: rgb(136, 136, 136); font-family: Arial;"&gt;/ subport = data&lt;/div&gt;&lt;div style="margin: 0px; padding: 0px; border: 0px; outline: 0px; background-color: rgb(255, 255, 255); color: rgb(136, 136, 136); font-family: Arial;"&gt;/ items = (20)&lt;/div&gt;&lt;div style="margin: 0px; padding: 0px; border: 0px; outline: 0px; background-color: rgb(255, 255, 255); color: rgb(136, 136, 136); font-family: Arial;"&gt;/ erase = "00000000"&lt;/div&gt;&lt;div style="margin: 0px; padding: 0px; border: 0px; outline: 0px; background-color: rgb(255, 255, 255); color: rgb(136, 136, 136); font-family: Arial;"&gt;&amp;lt;/port&amp;gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;br/&gt;&lt;/div&gt;&lt;div&gt;Perhaps that helps?&lt;div&gt;&lt;div&gt;-Sean&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/span&gt;&lt;/div&gt;&lt;/span&gt;&lt;/div&gt;</description><pubDate>Wed, 21 May 2014 20:43:02 GMT</pubDate><dc:creator>seandr</dc:creator></item></channel></rss>