﻿<?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 6  » Communicate to another program on the same machine</title><generator>InstantForum 2017-1 Final</generator><description>Millisecond Forums</description><link>https://forums.millisecond.com/</link><webMaster>Millisecond Forums</webMaster><lastBuildDate>Mon, 28 Sep 2026 02:01:12 GMT</lastBuildDate><ttl>20</ttl><item><title>Communicate to another program on the same machine</title><link>https://forums.millisecond.com/Topic34887.aspx</link><description>Hello,&amp;nbsp;&lt;br/&gt;&lt;br/&gt;I would like to send real time information from a task in inquisit to another program (using python) on the same computer. Specifically, I would like to send timing information to a python script outside inquisit that controls a robotic device that we want to interact with the task. Is this possible? &lt;br/&gt;&lt;br/&gt;Thanks, &lt;br/&gt;Katrina</description><pubDate>Wed, 26 Oct 2022 14:28:13 GMT</pubDate><dc:creator>KatrinaMcDonough</dc:creator></item><item><title>RE: Communicate to another program on the same machine</title><link>https://forums.millisecond.com/Topic34890.aspx</link><description>&lt;blockquote data-id="34888" class="if-quote-wrapper" unselectable="on" data-guid="1666794458217" contenteditable="false" id="if_insertedNode_1666794457134"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="34888" title="Move Cursor Below" contenteditable="false"&gt;&lt;span unselectable="on"&gt;+&lt;/span&gt;&lt;/a&gt;&lt;a class="quote-delete" unselectable="on" style="display: none;" href="#" data-id="34888" title="Delete Quote" contenteditable="false"&gt;&lt;span unselectable="on"&gt;x&lt;/span&gt;&lt;/a&gt;&lt;span unselectable="on" class="quote-markup"&gt;[quote]&lt;/span&gt;&lt;div unselectable="on" class="if-quote-header" contenteditable="false"&gt;&lt;div unselectable="on" class="if-quote-toggle-wrapper"&gt;&lt;a class="if-quote-toggle quote-link" href="#" data-id="34888" title=" "&gt;&amp;nbsp;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;Dave - 10/25/2022&lt;span unselectable="on" class="quote-markup"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-34888"&gt;&lt;div class="if-quote-message-margin" contenteditable="true"&gt;&lt;blockquote data-id="34887" class="if-quote-wrapper" unselectable="on" data-guid="1666794458217" id="if_insertedNode_1666706351571" contenteditable="false"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="34887" title="Move Cursor Below" contenteditable="false"&gt;&lt;span unselectable="on"&gt;+&lt;/span&gt;&lt;/a&gt;&lt;a class="quote-delete" unselectable="on" style="display: none;" href="#" data-id="34887" title="Delete Quote" contenteditable="false"&gt;&lt;span unselectable="on"&gt;x&lt;/span&gt;&lt;/a&gt;&lt;span unselectable="on" class="quote-markup"&gt;[quote]&lt;/span&gt;&lt;div unselectable="on" class="if-quote-header" contenteditable="false"&gt;&lt;div unselectable="on" class="if-quote-toggle-wrapper"&gt;&lt;a class="if-quote-toggle quote-link" href="#" data-id="34887" title=" "&gt;&amp;nbsp;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;KatrinaMcDonough - 10/25/2022&lt;span unselectable="on" class="quote-markup"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-34887"&gt;&lt;div class="if-quote-message-margin" contenteditable="true"&gt;Hello,&amp;nbsp;&lt;br/&gt;&lt;br/&gt;I would like to send real time information from a task in inquisit to another program (using python) on the same computer. Specifically, I would like to send timing information to a python script outside inquisit that controls a robotic device that we want to interact with the task. Is this possible? &lt;br/&gt;&lt;br/&gt;Thanks, &lt;br/&gt;Katrina&lt;a class="if-quote-goto quote-link" href="#" data-id="34887"&gt;&lt;span class="goto"&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[/quote]&lt;/span&gt;&lt;/blockquote&gt;&lt;br/&gt;You can try something like creating a virtual serial port, having your Inquisit script send TTL signals to that port, having the Python script read from the port and acting on that information.&lt;a class="if-quote-goto quote-link" href="#" data-id="34888"&gt;&lt;span class="goto"&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[/quote]&lt;/span&gt;&lt;/blockquote&gt;&lt;br/&gt;We created a virtual serial port as suggested and this works great, thanks!</description><pubDate>Wed, 26 Oct 2022 14:28:13 GMT</pubDate><dc:creator>KatrinaMcDonough</dc:creator></item><item><title>RE: Communicate to another program on the same machine</title><link>https://forums.millisecond.com/Topic34889.aspx</link><description>&lt;blockquote data-id="34888" class="if-quote-wrapper" unselectable="on" data-guid="1666707399144" id="if_insertedNode_1666707397454" contenteditable="false"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="34888" title="Move Cursor Below" contenteditable="false"&gt;&lt;span unselectable="on"&gt;+&lt;/span&gt;&lt;/a&gt;&lt;a class="quote-delete" unselectable="on" style="display: none;" href="#" data-id="34888" title="Delete Quote" contenteditable="false"&gt;&lt;span unselectable="on"&gt;x&lt;/span&gt;&lt;/a&gt;&lt;span unselectable="on" class="quote-markup"&gt;[quote]&lt;/span&gt;&lt;div unselectable="on" class="if-quote-header" contenteditable="false"&gt;&lt;div unselectable="on" class="if-quote-toggle-wrapper"&gt;&lt;a class="if-quote-toggle quote-link" href="#" data-id="34888" title=" "&gt;&amp;nbsp;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;Dave - 10/25/2022&lt;span unselectable="on" class="quote-markup"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-34888"&gt;&lt;div class="if-quote-message-margin" contenteditable="true"&gt;&lt;blockquote data-id="34887" class="if-quote-wrapper" unselectable="on" data-guid="1666707399144" id="if_insertedNode_1666706351571" contenteditable="false"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="34887" title="Move Cursor Below" contenteditable="false"&gt;&lt;span unselectable="on"&gt;+&lt;/span&gt;&lt;/a&gt;&lt;a class="quote-delete" unselectable="on" style="display: none;" href="#" data-id="34887" title="Delete Quote" contenteditable="false"&gt;&lt;span unselectable="on"&gt;x&lt;/span&gt;&lt;/a&gt;&lt;span unselectable="on" class="quote-markup"&gt;[quote]&lt;/span&gt;&lt;div unselectable="on" class="if-quote-header" contenteditable="false"&gt;&lt;div unselectable="on" class="if-quote-toggle-wrapper"&gt;&lt;a class="if-quote-toggle quote-link" href="#" data-id="34887" title=" "&gt;&amp;nbsp;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;KatrinaMcDonough - 10/25/2022&lt;span unselectable="on" class="quote-markup"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-34887"&gt;&lt;div class="if-quote-message-margin" contenteditable="true"&gt;Hello,&amp;nbsp;&lt;br/&gt;&lt;br/&gt;I would like to send real time information from a task in inquisit to another program (using python) on the same computer. Specifically, I would like to send timing information to a python script outside inquisit that controls a robotic device that we want to interact with the task. Is this possible? &lt;br/&gt;&lt;br/&gt;Thanks, &lt;br/&gt;Katrina&lt;a class="if-quote-goto quote-link" href="#" data-id="34887"&gt;&lt;span class="goto"&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[/quote]&lt;/span&gt;&lt;/blockquote&gt;&lt;br/&gt;You can try something like creating a virtual serial port, having your Inquisit script send TTL signals to that port, having the Python script read from the port and acting on that information.&lt;a class="if-quote-goto quote-link" href="#" data-id="34888"&gt;&lt;span class="goto"&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[/quote]&lt;/span&gt;&lt;/blockquote&gt;&lt;br/&gt;Another potential option: Run a local web server in Python and you should be able to have the Inquisit script send requests to that local web server with &amp;lt;html&amp;gt; elements; your Python script should be able to read in that information and control the robotic device accordingly.</description><pubDate>Tue, 25 Oct 2022 14:33:59 GMT</pubDate><dc:creator>Dave</dc:creator></item><item><title>RE: Communicate to another program on the same machine</title><link>https://forums.millisecond.com/Topic34888.aspx</link><description>&lt;blockquote data-id="34887" class="if-quote-wrapper" unselectable="on" data-guid="1666706353490" id="if_insertedNode_1666706351571" contenteditable="false"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="34887" title="Move Cursor Below" contenteditable="false"&gt;&lt;span unselectable="on"&gt;+&lt;/span&gt;&lt;/a&gt;&lt;a class="quote-delete" unselectable="on" style="display: none;" href="#" data-id="34887" title="Delete Quote" contenteditable="false"&gt;&lt;span unselectable="on"&gt;x&lt;/span&gt;&lt;/a&gt;&lt;span unselectable="on" class="quote-markup"&gt;[quote]&lt;/span&gt;&lt;div unselectable="on" class="if-quote-header" contenteditable="false"&gt;&lt;div unselectable="on" class="if-quote-toggle-wrapper"&gt;&lt;a class="if-quote-toggle quote-link" href="#" data-id="34887" title=" "&gt;&amp;nbsp;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;KatrinaMcDonough - 10/25/2022&lt;span unselectable="on" class="quote-markup"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-34887"&gt;&lt;div class="if-quote-message-margin" contenteditable="true"&gt;Hello,&amp;nbsp;&lt;br/&gt;&lt;br/&gt;I would like to send real time information from a task in inquisit to another program (using python) on the same computer. Specifically, I would like to send timing information to a python script outside inquisit that controls a robotic device that we want to interact with the task. Is this possible? &lt;br/&gt;&lt;br/&gt;Thanks, &lt;br/&gt;Katrina&lt;a class="if-quote-goto quote-link" href="#" data-id="34887"&gt;&lt;span class="goto"&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[/quote]&lt;/span&gt;&lt;/blockquote&gt;&lt;br/&gt;You can try something like creating a virtual serial port, having your Inquisit script send TTL signals to that port, having the Python script read from the port and acting on that information.</description><pubDate>Tue, 25 Oct 2022 14:02:46 GMT</pubDate><dc:creator>Dave</dc:creator></item></channel></rss>