Returns onset time of the stimulus in milliseconds relative to the start of the script.
<button> <clearScreen> <clock> <html> <picture> <port> <shape> <sound> <systemBeep> <text> <video> <xid>
stimulus.name.stimulusOnsetTimestamp
Read Only
array
If a stimulus is presented multiple times in a trial, the onset times for each presentation can be obtained by treating property as an array and specifying the index of the presentation to return.
The following displays the value of stimulusOnsetTimestamp in a text stimulus:
<text myText>
/ items = ("stimulusOnsetTimestamp = <% text.myText.stimulusOnsetTimestamp[0] %>")
</text>
The following displays the value of stimulusOnsetTimestamp in an instruction page:
<page myPage>\stimulusOnsetTimestamp = <% picture.target.stimulusOnsetTimestamp[0] %>\n</page>