How do I record randomized numbers that appear on screen?


Author
Message
PileOfTrash
PileOfTrash
Associate Member (101 reputation)Associate Member (101 reputation)Associate Member (101 reputation)Associate Member (101 reputation)Associate Member (101 reputation)Associate Member (101 reputation)Associate Member (101 reputation)Associate Member (101 reputation)Associate Member (101 reputation)
Group: Forum Members
Posts: 8, Visits: 40
Hello! Btw this is my first time using inquisitive and someone's helping me learn it. 

So I'm running a script where I have numbers in an item set run across the screen, and participants make a judgement based off whether or not they think one group's numbers are better than the others.The problem is that I want to find a way to record the numbers that show up onto a separate csv file. 

<trial DemBI_P>
/ validresponse = ("E", "I")
/ correctresponse = ("I")
/ beginresponsetime = 0
/ontrialbegin = [
  trial.DemBI_P.insertstimulustime(list.Demplus_S1.nextvalue, 0);
  trial.DemBI_P.insertstimulustime(list.Demplus_S1.nextvalue, 1000);
  trial.DemBI_P.insertstimulustime(list.Demplus_S1.nextvalue, 2000);
  trial.DemBI_P.insertstimulustime(list.Demplus_S1.nextvalue, 3000);
  trial.DemBI_P.insertstimulustime(list.Demplus_S1.nextvalue, 4000);
  trial.DemBI_P.insertstimulustime(list.Demplus_S1.nextvalue, 5000);
    trial.DemBI_P.insertstimulustime(list.Demplus_S1.nextvalue, 6000);
    trial.DemBI_P.insertstimulustime(list.Demplus_S1.nextvalue, 7000);
    trial.DemBI_P.insertstimulustime(list.Demplus_S1.nextvalue, 8000);
    trial.DemBI_P.insertstimulustime(list.Demplus_S1.nextvalue, 9000);
    trial.DemBI_P.insertstimulustime(list.Demplus_S1.nextvalue, 10000);
    trial.DemBI_P.insertstimulustime(list.Demplus_S1.nextvalue, 11000);
    trial.DemBI_P.insertstimulustime(list.Demplus_S1.nextvalue, 12000);]
/ posttrialpause = 500
/ontrialend= [trial.DemBI_P.resetstimulusframes(7000)]
</trial>

I know you can use <data> to record it but I'm not sure how I can record those numbers (the list.Demplus_S1.nextvalue integers). I'm just not sure what to put with the /columns command.
Thank you!
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
PileOfTrash - 4/20/2020
Hello! Btw this is my first time using inquisitive and someone's helping me learn it. 

So I'm running a script where I have numbers in an item set run across the screen, and participants make a judgement based off whether or not they think one group's numbers are better than the others.The problem is that I want to find a way to record the numbers that show up onto a separate csv file. 

<trial DemBI_P>
/ validresponse = ("E", "I")
/ correctresponse = ("I")
/ beginresponsetime = 0
/ontrialbegin = [
  trial.DemBI_P.insertstimulustime(list.Demplus_S1.nextvalue, 0);
  trial.DemBI_P.insertstimulustime(list.Demplus_S1.nextvalue, 1000);
  trial.DemBI_P.insertstimulustime(list.Demplus_S1.nextvalue, 2000);
  trial.DemBI_P.insertstimulustime(list.Demplus_S1.nextvalue, 3000);
  trial.DemBI_P.insertstimulustime(list.Demplus_S1.nextvalue, 4000);
  trial.DemBI_P.insertstimulustime(list.Demplus_S1.nextvalue, 5000);
    trial.DemBI_P.insertstimulustime(list.Demplus_S1.nextvalue, 6000);
    trial.DemBI_P.insertstimulustime(list.Demplus_S1.nextvalue, 7000);
    trial.DemBI_P.insertstimulustime(list.Demplus_S1.nextvalue, 8000);
    trial.DemBI_P.insertstimulustime(list.Demplus_S1.nextvalue, 9000);
    trial.DemBI_P.insertstimulustime(list.Demplus_S1.nextvalue, 10000);
    trial.DemBI_P.insertstimulustime(list.Demplus_S1.nextvalue, 11000);
    trial.DemBI_P.insertstimulustime(list.Demplus_S1.nextvalue, 12000);]
/ posttrialpause = 500
/ontrialend= [trial.DemBI_P.resetstimulusframes(7000)]
</trial>

I know you can use <data> to record it but I'm not sure how I can record those numbers (the list.Demplus_S1.nextvalue integers). I'm just not sure what to put with the /columns command.
Thank you!

You need to log the respective <text> elements' currentitem properties, not anything to do with the list's nextvalue.

GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Reading This Topic

Explore
Messages
Mentions
Search