Back
Login
Register
Login
Register
Millisecond Forums
Home
»
Millisecond Forums
»
Inquisit 5
»
time in datasheet
time in datasheet
Post Reply
Like
18
time in datasheet
View
Flat Ascending
Flat Descending
Threaded
Options
Subscribe to topic
Print This Topic
RSS Feed
Goto Topics Forum
Author
Message
nrouhani
nrouhani
posted 5 Years Ago
ANSWER
Topic Details
Share Topic
Group: Forum Members
Posts: 83,
Visits: 261
hello!
is there away to get different time stamps for when people start different blocks? in my datafile i only see a single time stamp for each participant.
thank you so much!
Reply
Like
18
Dave
Dave
posted 5 Years Ago
ANSWER
Post Details
Share Post
Group: Administrators
Posts: 13K,
Visits: 104K
+
x
nrouhani - 9/11/2019
hello!
is there away to get different time stamps for when people start different blocks? in my datafile i only see a single time stamp for each participant.
thank you so much!
You can log the given <block> element's timestamp properties or the current time at the start of a given block. Something like
<values>
/ blockstarttime = -1
/ blocktimestamp = -1
</values>
<block a>
/ onblockbegin = [
values.blockstarttime = script.currenttime;
values.blocktimestamp = block.a.timestamp;
]
/ trials = [1-4 = mytrial]
</block>
<block b>
/ onblockbegin = [
values.blockstarttime = script.currenttime;
values.blocktimestamp = block.b.timestamp;
]
/ trials = [1-4 = mytrial]
</block>
<trial mytrial>
/ posttrialpause = 500
/ stimulusframes = [1=mytext]
/ validresponse = (57)
</trial>
<text mytext>
/ items = ("Press SPACE")
</text>
<data>
/ columns = (date time subject group blocknum blockcode values.blockstarttime values.blocktimestamp trialnum trialcode stimulusitem response latency correct)
</data>
Reply
Like
26
nrouhani
nrouhani
posted 5 Years Ago
ANSWER
Post Details
Share Post
Group: Forum Members
Posts: 83,
Visits: 261
+
x
Dave - 9/11/2019
+
x
nrouhani - 9/11/2019
hello!
is there away to get different time stamps for when people start different blocks? in my datafile i only see a single time stamp for each participant.
thank you so much!
You can log the given <block> element's timestamp properties or the current time at the start of a given block. Something like
<values>
/ blockstarttime = -1
/ blocktimestamp = -1
</values>
<block a>
/ onblockbegin = [
values.blockstarttime = script.currenttime;
values.blocktimestamp = block.a.timestamp;
]
/ trials = [1-4 = mytrial]
</block>
<block b>
/ onblockbegin = [
values.blockstarttime = script.currenttime;
values.blocktimestamp = block.b.timestamp;
]
/ trials = [1-4 = mytrial]
</block>
<trial mytrial>
/ posttrialpause = 500
/ stimulusframes = [1=mytext]
/ validresponse = (57)
</trial>
<text mytext>
/ items = ("Press SPACE")
</text>
<data>
/ columns = (date time subject group blocknum blockcode values.blockstarttime values.blocktimestamp trialnum trialcode stimulusitem response latency correct)
</data>
thank you!
Reply
Like
20
nrouhani
nrouhani
posted 5 Years Ago
ANSWER
Post Details
Share Post
Group: Forum Members
Posts: 83,
Visits: 261
+
x
nrouhani - 9/11/2019
+
x
Dave - 9/11/2019
+
x
nrouhani - 9/11/2019
hello!
is there away to get different time stamps for when people start different blocks? in my datafile i only see a single time stamp for each participant.
thank you so much!
You can log the given <block> element's timestamp properties or the current time at the start of a given block. Something like
<values>
/ blockstarttime = -1
/ blocktimestamp = -1
</values>
<block a>
/ onblockbegin = [
values.blockstarttime = script.currenttime;
values.blocktimestamp = block.a.timestamp;
]
/ trials = [1-4 = mytrial]
</block>
<block b>
/ onblockbegin = [
values.blockstarttime = script.currenttime;
values.blocktimestamp = block.b.timestamp;
]
/ trials = [1-4 = mytrial]
</block>
<trial mytrial>
/ posttrialpause = 500
/ stimulusframes = [1=mytext]
/ validresponse = (57)
</trial>
<text mytext>
/ items = ("Press SPACE")
</text>
<data>
/ columns = (date time subject group blocknum blockcode values.blockstarttime values.blocktimestamp trialnum trialcode stimulusitem response latency correct)
</data>
thank you!
I am now having a problem where when i'm declaring the data columns (see below), the stimulusnumber/item/onset only appears for the first stimulus and no longer includes stimulusitem2-6 (perhaps also because each block has a different number of stimuli appearing on each trial), however when i separately declare "stimulusitem2, stimulusitem3" etc. in data, it gives warnings and doesn't appear to record that data.
<data>
/ columns = (date time values.blockstarttime values.blocktimestamp group subject blocknum trialnum blockcode trialcode pretrialpause posttrialpause trialduration trialtimeout response latency stimulusnumber stimulusitem stimulusonset)
</data>
thank you for your help!!
Reply
Like
16
Dave
Dave
posted 5 Years Ago
ANSWER
Post Details
Share Post
Group: Administrators
Posts: 13K,
Visits: 104K
+
x
nrouhani - 9/18/2019
+
x
nrouhani - 9/11/2019
+
x
Dave - 9/11/2019
+
x
nrouhani - 9/11/2019
hello!
is there away to get different time stamps for when people start different blocks? in my datafile i only see a single time stamp for each participant.
thank you so much!
You can log the given <block> element's timestamp properties or the current time at the start of a given block. Something like
<values>
/ blockstarttime = -1
/ blocktimestamp = -1
</values>
<block a>
/ onblockbegin = [
values.blockstarttime = script.currenttime;
values.blocktimestamp = block.a.timestamp;
]
/ trials = [1-4 = mytrial]
</block>
<block b>
/ onblockbegin = [
values.blockstarttime = script.currenttime;
values.blocktimestamp = block.b.timestamp;
]
/ trials = [1-4 = mytrial]
</block>
<trial mytrial>
/ posttrialpause = 500
/ stimulusframes = [1=mytext]
/ validresponse = (57)
</trial>
<text mytext>
/ items = ("Press SPACE")
</text>
<data>
/ columns = (date time subject group blocknum blockcode values.blockstarttime values.blocktimestamp trialnum trialcode stimulusitem response latency correct)
</data>
thank you!
I am now having a problem where when i'm declaring the data columns (see below), the stimulusnumber/item/onset only appears for the first stimulus and no longer includes stimulusitem2-6 (perhaps also because each block has a different number of stimuli appearing on each trial), however when i separately declare "stimulusitem2, stimulusitem3" etc. in data, it gives warnings and doesn't appear to record that data.
<data>
/ columns = (date time values.blockstarttime values.blocktimestamp group subject blocknum trialnum blockcode trialcode pretrialpause posttrialpause trialduration trialtimeout response latency stimulusnumber stimulusitem stimulusonset)
</data>
thank you for your help!!
> however when i separately declare "stimulusitem2, stimulusitem3" etc. in data, it gives warnings and doesn't appear to record that data.
You don't declare stimulusitem
2
, stimulusitem
3
, etc. You simply declare additional stimulusitem columns, without any numbering, as detailed in the documentation:
https://www.millisecond.com/support/docs/v5/html/language/attributes/columns.htm
/ columns = (date time values.blockstarttime values.blocktimestamp group subject blocknum trialnum blockcode trialcode pretrialpause posttrialpause trialduration trialtimeout response latency stimulusnumber stimulusitem stimulusonset
stimulusnumber stimulusitem stimulusonset stimulusnumber stimulusitem stimulusonset stimulusnumber stimulusitem stimulusonset
...)
Reply
Like
20
GO
Merge Selected
Merge into selected topic...
Merge into merge target...
Merge into a specific topic ID...
Open Merge
Post Reply
Like
18
Post Quoted Reply
Reading This Topic
Login
Login
Remember Me
Reset Password
Resend Validation Email
Login
Facebook
Explore
Messages
Mentions
Search