ResponseCollection - Meg Wiki

You can't save spelling words.

Clear message
location: ResponseCollection

Response collection

Button boxes

We have two 4-button optical button boxes for use with the MEG. Usually all 8 outputs will be connected to the trigger box in the stimulus cabinet. The channels used are 9-16. We would normally give the subject a pillow to rest their arms and the button boxes on, as this is much more comfortable.

Elekta Neuromag also supplied us with two button panels, which work in a different way. There's no button but a strip of material that has to be pushed down. The normal button boxes will click when switching, but these EN panels don't give any tactile feedback. They also have a tendency to come on again if the strip is pushed deeper, producing the sequence on-off-on-off-on for a single press and release.

These panels can also be used 'upside down' and will then detect when a finger is put down. This requires the subject to lift their finger in between responses.

Using the button boxes with E-Prime

To access the button presses from E-Prime the signals from the EN box will have to be connected to the parallel port. There are 5 input channels available on a parallel port.

To enable using button presses in E-Prime do:

1 - Enable the parallel port device on LPT1, or adress &HD030 for the port object.

2 - Patch the output(s) from the EN box to one of the Status channels of the parallel port patch box. The status channels are S3, S4, S5, S6 and S7. S7 is hardware inverted, so sends a 'release' when pressed and a 'press' when released, but the latest version of E-Prime compensates for this when using the 'parallel port' object. The corresponding values for these channels in E-Prime are 4, 5, 6, 7 and 8.

If you are not using E-Prime then you have to correct for the channel inversion. As the Status 7 channel is inverted, it will send a -8 value when the button is pressed and a 8 value when it is released. This means that normally the response time that E-Prime records for a button will be the time it is released! To get around this you have to do two things. First, go to the port device and edit the settings. There's a box called 'Collection mode' which by default is set to 'Presses only'. Change this to 'Presses and releases'. Secondly, in the E-Prime object collecting the response go to 'properties' and then 'duration/input'. Add the port to the input devices and in the 'Allowed' field type '567{-8}' (without the quotes, obviously). The '567' part are the first three button, which are normal, and the '{-8}' part is the fourth button, for which we want to respond to the release instead of the press.

The recommended way to use the port in E-Prime is to specify separate 'Parallel Port' objects in your script for input and output. They should both use the LPT1 port.

Normally you don't need to specify the output port, as we usually send triggers using the E-Prime OnsetSignal mechanism. See the Triggers section for this.

Testing the button boxes

The Elekta trigger box on the desk has small LEDs next to each channel which show the incoming or outgoing signal. When a button is pressed, and the the box has been connected properly, one of the lights will come on. To check which channel is being activated on the parallel port there's a small program on the machine, called PortTest that will show the signals coming into either the PIO card or the parallel port.

Microphone

An optical microphone is permanently installed in the MSR, ready for use. It has a flexible arm to enable positioning close to the volunteer. Voice key responses are possible in MEG, although continuous HPI recording is recommended for this to enable correction for head movements, which are difficult to prevent while speaking. Online voice key, using the E-Prime response box, is possible, but off line voice key is recommended. For this you simply record all vocal responses of the subject, in E-Pime, and use a seperate programme later to extract the latencies. The microphone itself is an 'OPTOMIC MEG' made by Opto Acoustics. It is omnidirectional with a frequency response of 30-15,000 Hz (+/- 3dB)

CbuMeg: ResponseCollection (last edited 2015-01-19 16:09:24 by MaartenVanCasteren)