Most of the experiments conducted in the NIMH MEG lab are programmed in Presentation. Below you'll find some scripts and templates you can use to get started programming your own task.
You don't need to download it, but it's included here so that you can see what standard routines are available.
These are basically templates that don't do anything, but which can be easily changed to do things. The PCL code reads a file that defaults to
stim.txt, containing codes and ISIs. The codes can be used to index an array of stimuli, and are also sent to the MEG system when the stimulus is presented. You'd need to add lines like
This is a simple, but complete, N-back working memory task.