Diff for "ResponseCollection" - Meg Wiki
location: Diff for "ResponseCollection"
Differences between revisions 27 and 28
Revision 27 as of 2009-09-16 13:14:10
Size: 3137
Comment:
Revision 28 as of 2009-09-16 13:21:16
Size: 3097
Comment:
Deletions are marked like this. Additions are marked like this.
Line 2: Line 2:
Line 4: Line 3:

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. These
boxes can be used with the table insert for the MEG seat. They are a bit slippery and produce
an audible click when pressed, and it might be good to put them on a mouse mat for these
reasons (the mat prevents the table insert to resonate with the button click, making it
a bit quieter). Alternatively a pillow can be used instead of the insert.
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. These boxes can be used with the table insert for the MEG seat. They are a bit slippery and produce an audible click when pressed, and it might be good to put them on a mouse mat for these reasons (the mat prevents the table insert to resonate with the button click, making it a bit quieter). Alternatively a pillow can be used instead of the insert.
Line 14: Line 7:
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.
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.
Line 20: Line 9:
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.
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.
Line 24: Line 12:

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 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.
Line 33: Line 18:
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, where
S7 is hardware inverted, which is corrected in E-Prime. The corresponding values
for these channels in E-Prime are 4, 5, 6, 7 and 8 when used with the &H379
port adress.
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, where S7 is hardware inverted, which is corrected in E-Prime. The corresponding values for these channels in E-Prime are 4, 5, 6, 7 and 8 when used with the &H379 port adress.
Line 39: Line 20:
The recommended way to use the port in E-Prime is to specify separate 'Port'
objects in your script for input and output. The output port should have the
&H378 adress and is used for sending triggers. The input port uses the &H379
adress and is used for receiving button presses.
The recommended way to use the port in E-Prime is to specify separate 'Port' objects in your script for input and output. The output port should have the &H378 adress and is used for sending triggers. The input port uses the &H379 adress and is used for receiving button presses.
Line 44: Line 22:
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.
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.
Line 49: Line 25:

The EN 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 PIO card
or 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.
The EN 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 PIO card or 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.
Line 58: Line 28:

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.
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.

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. These boxes can be used with the table insert for the MEG seat. They are a bit slippery and produce an audible click when pressed, and it might be good to put them on a mouse mat for these reasons (the mat prevents the table insert to resonate with the button click, making it a bit quieter). Alternatively a pillow can be used instead of the insert.

ImageLink(buttonboxes.pgn, //MegCBU, height=700)

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 port device, adress &H378, 16 bits or &H379, 8 bits.

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, where S7 is hardware inverted, which is corrected in E-Prime. The corresponding values for these channels in E-Prime are 4, 5, 6, 7 and 8 when used with the &H379 port adress.

The recommended way to use the port in E-Prime is to specify separate 'Port' objects in your script for input and output. The output port should have the &H378 adress and is used for sending triggers. The input port uses the &H379 adress and is used for receiving button presses.

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 EN 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 PIO card or 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.

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