﻿<?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  » error after adding practise + instruction trials SC-IAT</title><generator>InstantForum 2017-1 Final</generator><description>Millisecond Forums</description><link>https://forums.millisecond.com/</link><webMaster>Millisecond Forums</webMaster><lastBuildDate>Mon, 01 Jun 2026 05:43:43 GMT</lastBuildDate><ttl>20</ttl><item><title>RE: error after adding practise + instruction trials SC-IAT</title><link>https://forums.millisecond.com/Topic4482.aspx</link><description>&lt;p&gt;Celeste,&lt;/p&gt;
&lt;p&gt;again: no offense, but please, please, please go back and revise your understanding of Inquisit's language from the ground up. Once you've done so, you'll be perfectly able to answer these questions on your own (and as an added bonus you'll actually understand what you're doing, which isn't really the case right now).&lt;/p&gt;
&lt;p&gt;Best,&lt;/p&gt;
&lt;p&gt;~Dave&lt;/p&gt;</description><pubDate>Tue, 18 May 2010 08:17:39 GMT</pubDate><dc:creator>Dave</dc:creator></item><item><title>RE: error after adding practise + instruction trials SC-IAT</title><link>https://forums.millisecond.com/Topic4481.aspx</link><description>&lt;p&gt;Thank you sooo very much!!!!!!!&lt;/p&gt;
&lt;p&gt;The only thing i don't understand now, is why I don't&amp;nbsp;get to see&amp;nbsp;'myinstructions2'&amp;nbsp;&amp;nbsp; (see below) between the to practise trials (practise and practise2), while there is no error referring to it.&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size: x-small;"&gt;
&lt;p&gt;&amp;lt;expt&amp;gt;&lt;/p&gt;
&lt;p&gt;/ blocks = [1=myinstructions; 2=practise; 3=practise2; 4=myinstructions2; 5=block1; 6=block3; 7=myinstructions3; 8=block4; 9=block5; 10=summary]&lt;/p&gt;
&lt;p&gt;&amp;lt;/expt&amp;gt;&lt;/p&gt;
&lt;font size="2"&gt;

&lt;/font&gt;&lt;/span&gt;
&lt;p&gt;And do you have a tip on how to murge the two incompatible (incompatibletest1 + incompatibletest2)&amp;nbsp;and compatible (compatibletest1 +&amp;nbsp;compatibletest2)&amp;nbsp;trials together; so they just form one?&lt;/p&gt;

&lt;p&gt;Thank you again!! &lt;/p&gt;
&lt;/p&gt;
</description><pubDate>Tue, 18 May 2010 08:13:03 GMT</pubDate><dc:creator>celeste</dc:creator></item><item><title>RE: error after adding practise + instruction trials SC-IAT</title><link>https://forums.millisecond.com/Topic4480.aspx</link><description>&lt;p&gt;I've fixed numerous syntax errors in the attached revision of your script. It should parse now. You definitely have to pay more attention to getting the syntax down correctly, e.g. use double quotes for items, include proper close tags for all your elements, etc.&lt;/p&gt;
&lt;p&gt;~Dave&lt;/p&gt;
&lt;p&gt;P.S.: About the tutorials: Don't *read* them, *do* them.&lt;/p&gt;</description><pubDate>Tue, 18 May 2010 07:39:53 GMT</pubDate><dc:creator>Dave</dc:creator></item><item><title>RE: error after adding practise + instruction trials SC-IAT</title><link>https://forums.millisecond.com/Topic4479.aspx</link><description>&lt;p&gt;Hi Dave,&lt;/p&gt;
&lt;p&gt;I understand your suggestion.&amp;nbsp; Everything went well though untill i added the 2nd practise block (incompatible) - called practise 2.&amp;nbsp; The test was running perfectly untill then.&amp;nbsp; I don't understand what went wrong.. now it suddenly says 'expressions.d' (mentioned in the summary) is invalid.&amp;nbsp; I understand this might be the case, because of all of the calculations included in the pratise blocks - but i was under the impression if i include: &lt;span style="font-size: x-small;"&gt;/ recorddata = false&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style="font-size: x-small;"&gt;it shouldn't calculate it.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size: x-small;"&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size: x-small;"&gt;Sorry about the color differences - i could change that!&amp;nbsp; &lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size: x-small;"&gt;Could you maybe give me one tip? I have read the tutorials like 3 times, and everything was going so well.&amp;nbsp; (I made adjustions to the SC-IATpictures).&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size: x-small;"&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size: x-small;"&gt;Thank you! &lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size: x-small;"&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size: x-small;"&gt;I added the script&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size: x-small;"&gt;&lt;/span&gt;&lt;/p&gt;</description><pubDate>Tue, 18 May 2010 07:28:17 GMT</pubDate><dc:creator>celeste</dc:creator></item><item><title>RE: error after adding practise + instruction trials SC-IAT</title><link>https://forums.millisecond.com/Topic4478.aspx</link><description>&lt;p&gt;Hi Celeste,&lt;/p&gt;
&lt;p&gt;at the risk of offending you (which is *not* my intention), I'd like to strongly recommend you take a step back and *first* complete the tutorials* contained in the Inquisit helpfile *before* trying to make changes to / extend existing, more complex scripts. Do yourself a big favor and try to get at least a basic yet solid understanding of how Inquisit's language is structured. That'll help you to (a) answer many of your questions by yourself and (b) present any issues you might come across more clearly, i.e. in a way that other (forum) users / readers will actually be able to understand and follow through. And while we're at it: It usually doesn't make too much sense to paste random code snippets in to the post. Also try to format things in a way that is actually readable (e.g. one typeface, one size, one color). If for some reason you need to post larger chunks of code, the forum software allows you to attach files to your posts (click on the 'Options' tab when posting to find controls for uploading).&lt;/p&gt;
&lt;p&gt;Best wishes from a fellow Inquisit user,&lt;/p&gt;
&lt;p&gt;~Dave&lt;/p&gt;
&lt;p&gt;* If you've already done them, do them *again*.&lt;/p&gt;</description><pubDate>Tue, 18 May 2010 07:09:49 GMT</pubDate><dc:creator>Dave</dc:creator></item><item><title>error after adding practise + instruction trials SC-IAT</title><link>https://forums.millisecond.com/Topic4475.aspx</link><description>&lt;p&gt;Hi, &lt;/p&gt;
&lt;p&gt;could you please help me out with the following:&lt;/p&gt;
&lt;p&gt;I've added a practisetrial and 2 instructions trials (myinstructions2 &amp;amp; myinstructions3).&amp;nbsp; As soon as i try and run it, it comes up with the following error which has to do with the calculations and the summary part:&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size: x-small;"&gt;&amp;lt;text summary&amp;gt;&lt;font size="2"&gt;

&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="color: #ff0000; font-size: x-small;"&gt;&lt;span style="color: #ff0000; font-size: x-small;"&gt;
&lt;p&gt;Expression 'expressions.d' is invalid. Expression contains an unknown element or property name.&lt;/p&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: x-small;"&gt;
&lt;p&gt;&amp;lt;trial summary&amp;gt;&lt;/p&gt;
&lt;/span&gt;&lt;span style="color: #ff0000; font-size: x-small;"&gt;&lt;span style="color: #ff0000; font-size: x-small;"&gt;
&lt;p&gt;Expression 'values.magnitude' is invalid. Expression contains an unknown element &lt;/p&gt;

&lt;p&gt;&lt;strong&gt;--&amp;gt; here's my relevant script:&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size: x-small;"&gt;
&lt;p&gt;&amp;lt;trial summary&amp;gt;&lt;/p&gt;
&lt;p&gt;/ stimulustimes = [0=summary]&lt;/p&gt;
&lt;p&gt;/ validresponse = (" ")&lt;/p&gt;
&lt;p&gt;/ recorddata = false&lt;/p&gt;
&lt;p&gt;/ ontrialbegin = [values.magnitude = "little to no"]&lt;/p&gt;
&lt;p&gt;/ ontrialbegin = [if( abs(expressions.d) &amp;gt; 0.15 ) values.magnitude = "a slight"]&lt;/p&gt;
&lt;p&gt;/ ontrialbegin = [if( abs(expressions.d) &amp;gt; 0.35 ) values.magnitude = "a moderate"]&lt;/p&gt;
&lt;p&gt;/ ontrialbegin = [if( abs(expressions.d) &amp;gt;= 0.65 ) values.magnitude = "a strong"]&lt;/p&gt;
&lt;p&gt;/ ontrialbegin = [if(expressions.d &amp;gt;= 0.0) expressions.attitude = "positive"]&lt;/p&gt;
&lt;p&gt;/ ontrialbegin = [if(expressions.d &amp;lt; 0.0) expressions.attitude = "negative"]&lt;/p&gt;
&lt;p&gt;&amp;lt;/trial&amp;gt;&lt;/p&gt;
&lt;p&gt;&amp;lt;text summary&amp;gt;&lt;/p&gt;
&lt;p&gt;/ items = ("Your IAT score (D) was &amp;lt;% expressions.d %&amp;gt;, which suggests &amp;lt;% values.magnitude %&amp;gt; &amp;lt;% expressions.attitude %&amp;gt; implicit attitude towards &amp;lt;% item.targetALabel.1 %&amp;gt;.~n~n~nPress the spacebar to complete this session.") &lt;/p&gt;
&lt;p&gt;/ size = (60%, 60%)&lt;/p&gt;
&lt;p&gt;/ hjustify = left&lt;/p&gt;
&lt;p&gt;&amp;lt;/text&amp;gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;--&amp;gt; and the practise trial i added:&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size: x-small;"&gt;
&lt;p&gt;block practise&amp;gt;&lt;/p&gt;
&lt;p&gt;/ bgstim = (practiseAleft, orleft, practisetargetAleftmixed, practiseBright, reminder)&lt;/p&gt;
&lt;p&gt;/ trials = [1-10 = noreplace(practisetargetAleft, practiseA, practiseB)]&lt;/p&gt;
&lt;p&gt;/ errormessage = true(error,200)&lt;/p&gt;
&lt;p&gt;/ responsemode = correct&lt;/p&gt;
&lt;p&gt;/ recorddata = false&lt;/p&gt;
&lt;p&gt;/ ontrialend = [if(block.practise.latency &amp;lt;= 10000 &amp;amp;&amp;amp; block.practise.currenttrialnumber != 1 ) values.sum1a = values.sum1a + block.practise.latency]&lt;/p&gt;
&lt;p&gt;/ ontrialend = [if(block.practise.latency &amp;lt;= 10000 &amp;amp;&amp;amp; block.practise.currenttrialnumber != 1 ) values.n1a = values.n1a + 1]&lt;/p&gt;
&lt;p&gt;/ ontrialend = [if(block.practise.latency &amp;lt;= 10000 &amp;amp;&amp;amp; block.practise.currenttrialnumber != 1 ) values.ss1a = values.ss1a + (block.practise.latency * block.practise.latency)]&lt;/p&gt;
&lt;p&gt;&amp;lt;/block&amp;gt;&lt;/p&gt;
&lt;p&gt;&amp;lt;block practise2&amp;gt;&lt;/p&gt;
&lt;p&gt;/ bgstim = (practiseAleft, practisetargetARightmixed, orright, practiseBright, reminder)&lt;/p&gt;
&lt;p&gt;/ trials = [1-10 = noreplace(practisetargetAright, practiseA, practiseB)]&lt;/p&gt;
&lt;p&gt;/ errormessage = true(error,200)&lt;/p&gt;
&lt;p&gt;/ responsemode = correct&lt;/p&gt;
&lt;p&gt;/ recorddata = false&lt;/p&gt;
&lt;p&gt;/ ontrialend = [if(block.practise2.latency &amp;lt;= 10000 &amp;amp;&amp;amp; block.practise2.currenttrialnumber != 1) values.sum2a = values.sum2a + block.practise2.latency]&lt;/p&gt;
&lt;p&gt;/ ontrialend = [if(block.practise2.latency &amp;lt;= 10000 &amp;amp;&amp;amp; block.practise2.currenttrialnumber != 1 ) values.n2a = values.n2a + 1]&lt;/p&gt;
&lt;p&gt;/ ontrialend = [if(block.practise2.latency &amp;lt;= 10000 &amp;amp;&amp;amp; block.practise2.currenttrialnumber != 1 ) values.ss2a = values.ss2a + (block.practise2.latency * block.practise2.latency)]&lt;/p&gt;
&lt;p&gt;&amp;lt;/block&amp;gt;&lt;/p&gt;
&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;

&lt;p&gt;2nd question:&amp;nbsp; I would rather not have a practise trial of the compatible/incompatible trials.&amp;nbsp; how do I join these 2?&lt;/p&gt;
&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size: x-small;"&gt;
&lt;p&gt;&amp;lt;block compatibletest1&amp;gt;&lt;/p&gt;
&lt;p&gt;/ bgstim = (attributeAleft, orleft, targetAleftmixed, attributeBright, reminder)&lt;/p&gt;
&lt;p&gt;/ trials = [1-21 = noreplace(targetAleft, attributeA, attributeB)]&lt;/p&gt;
&lt;p&gt;/ errormessage = true(error,200)&lt;/p&gt;
&lt;p&gt;/ responsemode = correct&lt;/p&gt;
&lt;p&gt;/ ontrialend = [if(block.compatibletest1.latency &amp;lt;= 10000 &amp;amp;&amp;amp; block.compatibletest1.currenttrialnumber != 1 ) values.sum1a = values.sum1a + block.compatibletest1.latency]&lt;/p&gt;
&lt;p&gt;/ ontrialend = [if(block.compatibletest1.latency &amp;lt;= 10000 &amp;amp;&amp;amp; block.compatibletest1.currenttrialnumber != 1 ) values.n1a = values.n1a + 1]&lt;/p&gt;
&lt;p&gt;/ ontrialend = [if(block.compatibletest1.latency &amp;lt;= 10000 &amp;amp;&amp;amp; block.compatibletest1.currenttrialnumber != 1 ) values.ss1a = values.ss1a + (block.compatibletest1.latency * block.compatibletest1.latency)]&lt;/p&gt;
&lt;p&gt;&amp;lt;/block&amp;gt;&lt;/p&gt;
&lt;p&gt;&amp;lt;block compatibletest2&amp;gt;&lt;/p&gt;
&lt;p&gt;/ bgstim = (attributeAleft, orleft, targetAleftmixed, attributeBright, reminder)&lt;/p&gt;
&lt;p&gt;/ trials = [1-40 = noreplace(targetAleft, attributeA, attributeB)]&lt;/p&gt;
&lt;p&gt;/ errormessage = true(error,200)&lt;/p&gt;
&lt;p&gt;/ responsemode = correct&lt;/p&gt;
&lt;p&gt;/ ontrialend = [if(block.compatibletest2.latency &amp;lt;= 10000) values.sum1b = values.sum1b + block.compatibletest2.latency]&lt;/p&gt;
&lt;p&gt;/ ontrialend = [if(block.compatibletest2.latency &amp;lt;= 10000) values.n1b = values.n1b + 1]&lt;/p&gt;
&lt;p&gt;/ ontrialend = [if(block.compatibletest2.latency &amp;lt;= 10000) values.ss1b = values.ss1b + (block.compatibletest2.latency * block.compatibletest2.latency)]&lt;/p&gt;
&lt;p&gt;&amp;lt;/block&amp;gt;&lt;/p&gt;

&lt;p&gt;I guess the error has to do with the fact i chose the first script of the compatible trial and not the 2nd, for the record; the results of the practise trial don't have to be recorded.&lt;/p&gt;
&lt;p&gt;The summary with the score doesn't have to be shown either, this score is more for my own purpose.&lt;/p&gt;

&lt;p&gt;Your help would be greatly appreciated!&lt;/p&gt;
&lt;/span&gt;&lt;/p&gt;
&lt;/span&gt;&lt;/p&gt;

&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;</description><pubDate>Tue, 18 May 2010 06:28:02 GMT</pubDate><dc:creator>celeste</dc:creator></item></channel></rss>