predicted output time
Hi Chris,
I saw a discussion recently in which you showed Beshoy how to predict stimulus onset to reduce jitter in timing. We'd like to use this as well- could you tell me how to do this in the XML (we're not using MWEL).
Along these lines- could you put back some "legacy" pages for syntax for XML? Or is there a standard way to convert XML files into MWEL automatically?
Thanks,
Lindsey.
Comments are currently closed for this discussion. You can start a new one.
Keyboard shortcuts
Generic
? | Show this help |
---|---|
ESC | Blurs the current field |
Comment Form
r | Focus the comment reply box |
---|---|
^ + ↩ | Submit the comment |
You can use Command ⌘
instead of Control ^
on Mac
Support Staff 1 Posted by Christopher Sta... on 01 Oct, 2018 03:01 PM
Hi Lindsey,
The XML version of the code I shared with Beshoy looks like this:
The component and expression references apply to both XML- and MWEL-based experiments. The handful of things that work only in MWEL are clearly marked as such.
The bit that might not be clear is how to use the type signature (e.g.
action/update_stimulus_display
for the Update Stimulus Display action) in XML. The process isThe part before the slash (e.g.
action
) becomes the XML tag:The part after the slash (if any) becomes the value of the "type" attribute:
All other parameters are just attributes in the XML.
I wrote a rough XML-to-MWEL converter for Mark Histed. Making a better version is on my to-do list, but I haven't done it yet.
Cheers,
Chris
2 Posted by Lindsey Glickfe... on 01 Oct, 2018 03:48 PM
Great- thanks for your help!
Lindsey.
Christopher Stawarz closed this discussion on 02 Oct, 2018 04:19 PM.