By lwise - 1/22/2017
Is it possible to control stimulus presentation times via a variable?
For example: / stimulustimes = [1=Fixation; 1000=Video1; 1500=TextLT; 2000=MaskLT]
if I wanted to display the TextLT and MaskLT at different times, can I control this programmatically (replacing 1500 and 2000 with a value or parameter), or do I need different types of trials with pre-specified stimulus times for each stimulus presentation sequence?
Lisa
|
By Dave - 1/22/2017
+xIs it possible to control stimulus presentation times via a variable? For example: / stimulustimes = [1=Fixation; 1000=Video1; 1500=TextLT; 2000=MaskLT] if I wanted to display the TextLT and MaskLT at different times, can I control this programmatically (replacing 1500 and 2000 with a value or parameter), or do I need different types of trials with pre-specified stimulus times for each stimulus presentation sequence? Lisa You can control this programmatically, but not via the /stimulustimes attribute. Instead you ought to use the /insertstimulustime function /ontrialbegin. See e.g.
https://www.millisecond.com/forums/FindPost19286.aspx or https://www.millisecond.com/forums/FindPost19694.aspx
|
By lwise - 1/23/2017
+x+xIs it possible to control stimulus presentation times via a variable? For example: / stimulustimes = [1=Fixation; 1000=Video1; 1500=TextLT; 2000=MaskLT] if I wanted to display the TextLT and MaskLT at different times, can I control this programmatically (replacing 1500 and 2000 with a value or parameter), or do I need different types of trials with pre-specified stimulus times for each stimulus presentation sequence? Lisa You can control this programmatically, but not via the /stimulustimes attribute. Instead you ought to use the /insertstimulustime function /ontrialbegin. See e.g. https://www.millisecond.com/forums/FindPost19286.aspx or https://www.millisecond.com/forums/FindPost19694.aspx Thanks for that - it solves my problem.
Where do I find documentation on the various things one can do with /ontrialbegin ?
Thanks again Lisa
|
By Dave - 1/23/2017
+x+x+xIs it possible to control stimulus presentation times via a variable? For example: / stimulustimes = [1=Fixation; 1000=Video1; 1500=TextLT; 2000=MaskLT] if I wanted to display the TextLT and MaskLT at different times, can I control this programmatically (replacing 1500 and 2000 with a value or parameter), or do I need different types of trials with pre-specified stimulus times for each stimulus presentation sequence? Lisa You can control this programmatically, but not via the /stimulustimes attribute. Instead you ought to use the /insertstimulustime function /ontrialbegin. See e.g. https://www.millisecond.com/forums/FindPost19286.aspx or https://www.millisecond.com/forums/FindPost19694.aspx Thanks for that - it solves my problem. Where do I find documentation on the various things one can do with /ontrialbegin ? Thanks again Lisa /ontrialbegin, /ontrialend, etc. are event attributes. They execute logic at the start or end of a trial. See the documentation on event atributes, the functions reference, as well as the available properties and functions in a given element's language reference topic.
|
|