LDT as a prime


Author
Message
Dazart
Dazart
Associate Member (144 reputation)Associate Member (144 reputation)Associate Member (144 reputation)Associate Member (144 reputation)Associate Member (144 reputation)Associate Member (144 reputation)Associate Member (144 reputation)Associate Member (144 reputation)Associate Member (144 reputation)
Group: Forum Members
Posts: 3, Visits: 24
Hello,

I am trying to set up an LDT task as a prime for a follow-up task and I need the word/non-word segment to follow a specific order that was created outside of Inquisit. In short I don't want Inquisit to randomize the order or combination of that section. I am having a difficult time figuring out how to do this.

Sincerely,
Lawson
Dave
Dave
Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)
Group: Administrators
Posts: 13K, Visits: 104K
Dazart - Sunday, December 24, 2017
Hello,

I am trying to set up an LDT task as a prime for a follow-up task and I need the word/non-word segment to follow a specific order that was created outside of Inquisit. In short I don't want Inquisit to randomize the order or combination of that section. I am having a difficult time figuring out how to do this.

Sincerely,
Lawson

In essence, you enter the items and/or item numbers into the script in the predetermined order and then you simply set the respective <text> and/or <list> elements responsible for stimulus selection to sequential selection, i.e. /select = sequence.

Dazart
Dazart
Associate Member (144 reputation)Associate Member (144 reputation)Associate Member (144 reputation)Associate Member (144 reputation)Associate Member (144 reputation)Associate Member (144 reputation)Associate Member (144 reputation)Associate Member (144 reputation)Associate Member (144 reputation)
Group: Forum Members
Posts: 3, Visits: 24
Dave - Wednesday, December 27, 2017
Dazart - Sunday, December 24, 2017
Hello,

I am trying to set up an LDT task as a prime for a follow-up task and I need the word/non-word segment to follow a specific order that was created outside of Inquisit. In short I don't want Inquisit to randomize the order or combination of that section. I am having a difficult time figuring out how to do this.

Sincerely,
Lawson

In essence, you enter the items and/or item numbers into the script in the predetermined order and then you simply set the respective <text> and/or <list> elements responsible for stimulus selection to sequential selection, i.e. /select = sequence.

Thank you for the feed back, but now I am receiving an error message ("The stimulustimes attribute specifies the stimulus presentation sequence for trials in terms of time in milliseconds") when I attempt to run the test trial.

<text ready>
/ items = ("*")
</text>


<trial ldtcategory>
/ stimulustimes = [0 = ready, 300 = list.ITEMS]
/ trialduration = 8400
/ validresponse = ("E", "I")
/beginresponsetime = 0
</trial>

I tried as a 300=ITEMS, 300=text.ITEMS (which went through without an error message for awhile but only the first item in the list appeared)

I think it is safe to say I am new with Inquisit.

Sincerely,
Lawson
Dave
Dave
Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)
Group: Administrators
Posts: 13K, Visits: 104K
Dazart - Wednesday, December 27, 2017
Dave - Wednesday, December 27, 2017
Dazart - Sunday, December 24, 2017
Hello,

I am trying to set up an LDT task as a prime for a follow-up task and I need the word/non-word segment to follow a specific order that was created outside of Inquisit. In short I don't want Inquisit to randomize the order or combination of that section. I am having a difficult time figuring out how to do this.

Sincerely,
Lawson

In essence, you enter the items and/or item numbers into the script in the predetermined order and then you simply set the respective <text> and/or <list> elements responsible for stimulus selection to sequential selection, i.e. /select = sequence.

Thank you for the feed back, but now I am receiving an error message ("The stimulustimes attribute specifies the stimulus presentation sequence for trials in terms of time in milliseconds") when I attempt to run the test trial.

<text ready>
/ items = ("*")
</text>


<trial ldtcategory>
/ stimulustimes = [0 = ready, 300 = list.ITEMS]
/ trialduration = 8400
/ validresponse = ("E", "I")
/beginresponsetime = 0
</trial>

I tried as a 300=ITEMS, 300=text.ITEMS (which went through without an error message for awhile but only the first item in the list appeared)

I think it is safe to say I am new with Inquisit.

Sincerely,
Lawson

It is impossible for me to tell you the reason for the error based on such a limited code snippet. At a minimum, you ought to include the code for the referenced elements, i.e. <list ITEMS> and/or <text ITEMS>. Given that, as you say, you are fairly new to Inquisit, giving the tutorials included in the documentation a look might be a good idea. That will definitely help you to better understand and modify any existing code.

That said, let's dissect things a little bit. In the original LDT script, <trial ldtcategory> displays a <text> stimulus called "category":

<trial ldtcategory>
/ stimulustimes = [0=ready; 700=category; 950=blank]
/ validresponse = ("E", "I")
/ correctresponse = ("I")
/beginresponsetime = 700
/ ontrialend = [
    list.catwords.insertitem(trial.ldtcategory.correct, 1);
    list.overallaccuracy.insertitem(trial.ldtcategory.correct, 1);
    if (trial.ldtcategory.correct) {
        list.catwords_correctRT.insertitem(trial.ldtcategory.latency, 1);
        list.overallRT.insertitem(trial.ldtcategory.latency, 1);
    };
]
</trial>

This is the <text category> element

<text category>
/ items = category
</text>

and it use the following items in <item category>:

<item category>
/ 1 = "category1"
/ 2 = "category2"
/ 3 = "category3"
/ 4 = "category4"
/ 5 = "category5"
/ 6 = "category6"
/ 7 = "category7"
/ 8 = "category8"
/ 9 = "category9"
/ 10 = "category10"
/ 11 = "category11"
/ 12 = "category12"
/ 13 = "category13"
</item>

Now, if you want those items to be sampled in a fixed order instead of randomly, you simply set <text category> to sequential selection:

<text category>
/ items = category
/ select = sequence

</text>

The item "category1" will then be displayed in the 1st instance of <trial ldtcategory>. The item "category2" will be displayed in the 2nd instance of <trial ldtcategory> and so forth.



Edited 8 Years Ago by Dave
Dazart
Dazart
Associate Member (144 reputation)Associate Member (144 reputation)Associate Member (144 reputation)Associate Member (144 reputation)Associate Member (144 reputation)Associate Member (144 reputation)Associate Member (144 reputation)Associate Member (144 reputation)Associate Member (144 reputation)
Group: Forum Members
Posts: 3, Visits: 24
Dave - Wednesday, December 27, 2017
Dazart - Wednesday, December 27, 2017
Dave - Wednesday, December 27, 2017
Dazart - Sunday, December 24, 2017
Hello,

I am trying to set up an LDT task as a prime for a follow-up task and I need the word/non-word segment to follow a specific order that was created outside of Inquisit. In short I don't want Inquisit to randomize the order or combination of that section. I am having a difficult time figuring out how to do this.

Sincerely,
Lawson

In essence, you enter the items and/or item numbers into the script in the predetermined order and then you simply set the respective <text> and/or <list> elements responsible for stimulus selection to sequential selection, i.e. /select = sequence.

Thank you for the feed back, but now I am receiving an error message ("The stimulustimes attribute specifies the stimulus presentation sequence for trials in terms of time in milliseconds") when I attempt to run the test trial.

<text ready>
/ items = ("*")
</text>


<trial ldtcategory>
/ stimulustimes = [0 = ready, 300 = list.ITEMS]
/ trialduration = 8400
/ validresponse = ("E", "I")
/beginresponsetime = 0
</trial>

I tried as a 300=ITEMS, 300=text.ITEMS (which went through without an error message for awhile but only the first item in the list appeared)

I think it is safe to say I am new with Inquisit.

Sincerely,
Lawson

It is impossible for me to tell you the reason for the error based on such a limited code snippet. At a minimum, you ought to include the code for the referenced elements, i.e. <list ITEMS> and/or <text ITEMS>. Given that, as you say, you are fairly new to Inquisit, giving the tutorials included in the documentation a look might be a good idea. That will definitely help you to better understand and modify any existing code.

That said, let's dissect things a little bit. In the original LDT script, <trial ldtcategory> displays a <text> stimulus called "category":

<trial ldtcategory>
/ stimulustimes = [0=ready; 700=category; 950=blank]
/ validresponse = ("E", "I")
/ correctresponse = ("I")
/beginresponsetime = 700
/ ontrialend = [
    list.catwords.insertitem(trial.ldtcategory.correct, 1);
    list.overallaccuracy.insertitem(trial.ldtcategory.correct, 1);
    if (trial.ldtcategory.correct) {
        list.catwords_correctRT.insertitem(trial.ldtcategory.latency, 1);
        list.overallRT.insertitem(trial.ldtcategory.latency, 1);
    };
]
</trial>

This is the <text category> element

<text category>
/ items = category
</text>

and it use the following items in <item category>:

<item category>
/ 1 = "category1"
/ 2 = "category2"
/ 3 = "category3"
/ 4 = "category4"
/ 5 = "category5"
/ 6 = "category6"
/ 7 = "category7"
/ 8 = "category8"
/ 9 = "category9"
/ 10 = "category10"
/ 11 = "category11"
/ 12 = "category12"
/ 13 = "category13"
</item>

Now, if you want those items to be sampled in a fixed order instead of randomly, you simply set <text category> to sequential selection:

<text category>
/ items = category
/ select = sequence

</text>

The item "category1" will then be displayed in the 1st instance of <trial ldtcategory>. The item "category2" will be displayed in the 2nd instance of <trial ldtcategory> and so forth.



Little bit of an embarrassment but I realized what the second issue was about 30 minutes ago. I was using the LDT template and I accidentally deleted something and saved it without realizing.

Sorry about that. I really do feel bad about that. Thank you for the help.

Sincerely,
Lawson
Dave
Dave
Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)
Group: Administrators
Posts: 13K, Visits: 104K
Dazart - Wednesday, December 27, 2017
Dave - Wednesday, December 27, 2017
Dazart - Wednesday, December 27, 2017
Dave - Wednesday, December 27, 2017
Dazart - Sunday, December 24, 2017
Hello,

I am trying to set up an LDT task as a prime for a follow-up task and I need the word/non-word segment to follow a specific order that was created outside of Inquisit. In short I don't want Inquisit to randomize the order or combination of that section. I am having a difficult time figuring out how to do this.

Sincerely,
Lawson

In essence, you enter the items and/or item numbers into the script in the predetermined order and then you simply set the respective <text> and/or <list> elements responsible for stimulus selection to sequential selection, i.e. /select = sequence.

Thank you for the feed back, but now I am receiving an error message ("The stimulustimes attribute specifies the stimulus presentation sequence for trials in terms of time in milliseconds") when I attempt to run the test trial.

<text ready>
/ items = ("*")
</text>


<trial ldtcategory>
/ stimulustimes = [0 = ready, 300 = list.ITEMS]
/ trialduration = 8400
/ validresponse = ("E", "I")
/beginresponsetime = 0
</trial>

I tried as a 300=ITEMS, 300=text.ITEMS (which went through without an error message for awhile but only the first item in the list appeared)

I think it is safe to say I am new with Inquisit.

Sincerely,
Lawson

It is impossible for me to tell you the reason for the error based on such a limited code snippet. At a minimum, you ought to include the code for the referenced elements, i.e. <list ITEMS> and/or <text ITEMS>. Given that, as you say, you are fairly new to Inquisit, giving the tutorials included in the documentation a look might be a good idea. That will definitely help you to better understand and modify any existing code.

That said, let's dissect things a little bit. In the original LDT script, <trial ldtcategory> displays a <text> stimulus called "category":

<trial ldtcategory>
/ stimulustimes = [0=ready; 700=category; 950=blank]
/ validresponse = ("E", "I")
/ correctresponse = ("I")
/beginresponsetime = 700
/ ontrialend = [
    list.catwords.insertitem(trial.ldtcategory.correct, 1);
    list.overallaccuracy.insertitem(trial.ldtcategory.correct, 1);
    if (trial.ldtcategory.correct) {
        list.catwords_correctRT.insertitem(trial.ldtcategory.latency, 1);
        list.overallRT.insertitem(trial.ldtcategory.latency, 1);
    };
]
</trial>

This is the <text category> element

<text category>
/ items = category
</text>

and it use the following items in <item category>:

<item category>
/ 1 = "category1"
/ 2 = "category2"
/ 3 = "category3"
/ 4 = "category4"
/ 5 = "category5"
/ 6 = "category6"
/ 7 = "category7"
/ 8 = "category8"
/ 9 = "category9"
/ 10 = "category10"
/ 11 = "category11"
/ 12 = "category12"
/ 13 = "category13"
</item>

Now, if you want those items to be sampled in a fixed order instead of randomly, you simply set <text category> to sequential selection:

<text category>
/ items = category
/ select = sequence

</text>

The item "category1" will then be displayed in the 1st instance of <trial ldtcategory>. The item "category2" will be displayed in the 2nd instance of <trial ldtcategory> and so forth.



Little bit of an embarrassment but I realized what the second issue was about 30 minutes ago. I was using the LDT template and I accidentally deleted something and saved it without realizing.

Sorry about that. I really do feel bad about that. Thank you for the help.

Sincerely,
Lawson

No reason to feel embarrassed at all! And please don't hesitate to post here if you encounter other problems or have further questions, that's what this place is for after all.

GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Reading This Topic

Explore
Messages
Mentions
Search