![]() ![]() ![]() There is another mimic machine in the imaging centre, which you may use for pre-testing in experiments that require a training session just before the scan. You must test your programs thoroughly on the mimic before running any experiment. In the CBU computer user room there is a "CBU mimic" configured exactly as the stimulus delivery machines, and with a pulse generator to simulator the scanner trigger, and a response box. However, make sure that screens that need response via button box do not allow the number 8, or each trigger will seem like a response to E-Prime and your data will be of little use! Now that you have two parallel port devices enabled, all you need to know is that the scanner pulse will be received as a number 8, while the four fingers of the right hand will be (from index to pinky) 7,6,5,4.Īt this point you can just set your starting screen to pause until an 8 is received from the appropriate parallelport device, and that will trigger your stimuli as soon as a scanner pulse comes in. ![]() The device you want to use for the ButtonBox should also be inverted (as mentioned above). For both devices set the port mode to be on Input and the address to be &H379 (not 378 - this will make the input numbering easier to use in E-Prime). First, enable in your project 2 ParallelPort devices (apprently EPrime is touchy about the names you give to devices, so if possible just leave the default names, i.e. Say you want to configure E-Prime to get input from the parallel port for both response box and scanner pule. So if you want to use the ParallelPort as a trigger, please use EPrime2 (professional).Ĭonfiguring E-Prime is relatively easy (this was done with a release candidate for E-Prime2). It may be possible to do it in EPrime too, but this has not been tested. NOTE: the following applies to EPrime2 only. Johan Carlin may be able to provide an example script or two, but if you are starting a new project we strongly encourage you to move to Matlab/Psychtoolbox or Python/Psychopy. Please note that we no longer provide official support for E-prime on the MRI. There's also a little test program on the machines, called 'PortTest', which will show all incoming signals from both PIO and parallel port. The parallel port can be used with E-Prime, without the need for extra libraries or explicit coding in your scripts. The simplest way to solve this is to enable two 'Port' devices in E-Prime, one inverted for the buttons and one not inverted for the scanner pulses. This means that a button press will show as a button release! This can be solved quite simply by setting the 'Invert' property in the port device properties dialog in E-Prime.Īs the scanner pulse is inverted compared to the other buttons, this will now still be the wrong way around, sadly. All signals will be send to both the National Instruments PCI 6503 card and the parallel port.īEWARE!! All signals coming from the parallel port are inverted as compared to the PIO signals. For the moment only the leftmost stimulus presentation machine has this option. There's now also the possibility of using the parallel port as an input/output device in your experiment. This is the recommended route.įrom Eprime and Matlab, you may use the parallel port to synchronise, and to collect button box responses. You can access its functions via ScannerSynch and MEGSynch (Matlab), or python_scansync (Python, MRI only). Installed software is Matlab 2014A, GStreamer V1.12.2, Sliksubversion, Eprime2 pro sp1, Cogent Toolbox versions 1.25, 1.32 and 1.33, Psychophysics Toolbox versions 3.0.12 and 3.0.14, Presentation version 18.2, Anaconda Python 2.7 with Psychopy and Pygaze.įrom Matlab and Python National Instruments PCI 6503 card is used to capture all pulses (scanner synch pulse and button pulses alike). All have identical software and receive the scanner trigger pulse and button box responses. There are three stimulus delivery computers. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |