Welcome! Log In Create A New Profile

Advanced

Userloop "C" taskobject output format

Posted by curiousgeorge 
Userloop "C" taskobject output format
September 15, 2022 02:24PM
Hi,

I'd like to write a userloop function that chooses my stimuli and passes it on to the timing script to be displayed using the ImageGraphic adapter.

However ImageGraphic input format is not the same as the "taskobject format" (e.g. 'pic(A.jpg,0,0,320,240,[0 0 0])') which appears to be the necessary format for outputting ("C") stimuli information from the userloop function.

Can I output out of the userloop function in any other format than the "taskobject format" indicated above?

I appear to be getting an error doing so, therefore I wanted to double check.

Thanks
Re: Userloop "C" taskobject output format
September 15, 2022 05:38PM
See the TrialRecord.User part in the userloop manual.
https://monkeylogic.nimh.nih.gov/docs_CreatingTask.html#Userloop

The National Institute of Mental Health (NIMH) is part of the National Institutes of Health (NIH), a component of the U.S. Department of Health and Human Services.