Firmata manual reward

Hi Chris,

I’m using an arduino (firmata) command to trigger a solenoid reward system (digital 1 for reward, 0 no reward). Is there a way to remap the ‘Reward Window’ such that I can trigger this variable? I’d like to use the software to be able to manually trigger a reward if I like.

Travis

Hi Travis,

I’ve attached an example that demonstrates how to make the reward window work with a Firmata-based reward system. Be sure to set the variable name in the reward window to “reward”.

Cheers,
Chris

Attachment: firmata_reward.mwel.zip (1.1 KB)

Thanks,

Sorry in advance for this stupid question, but what in the world is an mwel format? I tried opening it in editor and client with no luck. I just searched your knowledge think and it doesn’t say, and in the discussion it seems to be a format that someone asked if there was an xml → mwel converter.

T

Hi Travis,

MWEL is an alternative to XML-based experiments, available as of MWorks 0.8. You view and edit MWEL files in a text editor (TextEdit, BBEdit, vi, emacs, etc.), not in MWEditor.

For more information, see the user manual.

Cheers,
Chris