﻿<?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  » Can a missing XID device only give a warning, not throw an error</title><generator>InstantForum 2017-1 Final</generator><description>Millisecond Forums</description><link>https://forums.millisecond.com/</link><webMaster>Millisecond Forums</webMaster><lastBuildDate>Sun, 10 May 2026 00:15:18 GMT</lastBuildDate><ttl>20</ttl><item><title>Can a missing XID device only give a warning, not throw an error</title><link>https://forums.millisecond.com/Topic15294.aspx</link><description>We only have a limited number of Cedrus response boxes in our lab. Hence, programming and testing of experiments is mostly done on our office computers without a Cedrus device attached. We just add both Cedrus and keyboard codes as valid/correct responses. With Inquisit 3, changing one single line in the &amp;lt;defaults&amp;gt; section of a script allowed to switch between XID devices and keyboard. With the new &amp;lt;xid&amp;gt; element in Inquisit 4 we have to delete the whole XID element to test or run scripts on non-lab computers.&lt;br/&gt;&lt;br/&gt;It would be nice if Inquisit could throw an XID error only if the xid device was used as an "/ inputdevice" somewhere, and give just a warning message otherwise.&lt;br/&gt;&lt;br/&gt;Kind regards, Malte&lt;br/&gt;</description><pubDate>Sat, 10 Jan 2015 07:06:24 GMT</pubDate><dc:creator>Blackadder</dc:creator></item><item><title>RE: Can a missing XID device only give a warning, not throw an error</title><link>https://forums.millisecond.com/Topic15327.aspx</link><description>This is a great idea! I wasn't aware that conditional include statements were even possible.&lt;br/&gt;&lt;br/&gt;This solves the problem, indeed with minimal changes.&lt;br/&gt;&lt;br/&gt;Thanks a lot!&lt;br/&gt;Malte&lt;br/&gt;</description><pubDate>Sat, 10 Jan 2015 07:06:24 GMT</pubDate><dc:creator>Blackadder</dc:creator></item><item><title>RE: Can a missing XID device only give a warning, not throw an error</title><link>https://forums.millisecond.com/Topic15295.aspx</link><description>Since the &amp;lt;xid&amp;gt; element allows for interfacing (w/ e.g. a stimtracker) even if the respective device is *not* designated as inputdevice anywhere in the script, I'm personally not sure whether merely emitting a warning would be advisable. This would open the road to data loss in cases where a device is supposed to be present (i.e. in your "lab" configuration), but Inquisit is unable to communicate with it.&lt;br/&gt;&lt;br/&gt;One alternative I can think of is to use conditional &amp;lt;include&amp;gt; elements with e.g. a "special" subject id to automatically run your non-lab vs. lab configuration. This would require *zero* changes to the actual script (minimal example attached; use subject id "test").&lt;br/&gt;&lt;br/&gt;Hope this helps.&lt;br/&gt;</description><pubDate>Mon, 05 Jan 2015 12:44:03 GMT</pubDate><dc:creator>Dave</dc:creator></item></channel></rss>