Dear Allen and other who have experience with the subject above (and
possibly using the VSG2/5 with TEMPO),
A group here at the Vanderbilt Vision Research Center is drawing up a
budget, asking me for advice, and I would like to advise them to use
the MATLAB and Psychtoolbox for visual stimulus presentation in their
new lab which will also use TEMPO for experimental control and PLEXON
for signal and event acquisition. It is sure to be a lot of work even
if it goes well, but I am hoping that you can screen my ideas to help
me avoid any major pitfalls at this time.
1. As MATLAB will need some way of communicating with TEMPO, should
the following MEX-files (created with CodeWarrior) currently used in a
different lab on an older OS9 Mac for communication with an installed
National Instruments PCI-DIO-96 card and TEMPO VideoSync protocol work
as well in "Classic" mode on a new Mac with MATLAB 5.2.1 and the same
PCI-DIO-96 card installed?:
Board_ID.mex
DIG_In_Port.mex
DIG_Out_Port.mex
DIG_Prt_Config.mex
RVS.mex
2. I have the source C-files and H-files for all, so should it be
possible to recompile the OS9 MEX-files into MEXMAC-files on OSX,
maybe using MATLAB's own "Lcc" compiler from the MATLAB command line?
(I have made small simple MEXMAC-files in OSX this way recently.)
3. The current protocol between the NI PCI-DIO-96 card and TEMPO
involves 20 digital input pins and 4 digital output pins (on the
MATLAB/NI PCI-DIO-96 side). I do not have experience using OSX's
PsychHID.mex yet, but looking at the Denis' USB page, do you think
that any of the USB-HID devices would be an acceptable alternative to
an NI PCI-DIO-96 card and porting the OS9 MEX-files to OSX
MEXMAC-files? (My first concern would be that the USB-HID devices
shown do not have enough pins. But theoretically, could it accomplish
the same thing?)
4. What does one need to consider before splitting a VGA video output
to 2 monitors instead of 1, one for the subject, and the other for the
user running the experiment to see the same.
5. I program visual stimuli on Cambridge Research System's VSG2/5
with Windows MATLAB in yet another lab. In addition to its video
output to the stimulus monitor, the VSG2/5 has 10 input and 10 output
pins for digital communication and triggering. Anyone out there
successfully using a VSG2/5 with TEMPO?
Thanks very much for any and all feedback.
Daniel Shima
Vanderbilt Vision Research Center
possibly using the VSG2/5 with TEMPO),
A group here at the Vanderbilt Vision Research Center is drawing up a
budget, asking me for advice, and I would like to advise them to use
the MATLAB and Psychtoolbox for visual stimulus presentation in their
new lab which will also use TEMPO for experimental control and PLEXON
for signal and event acquisition. It is sure to be a lot of work even
if it goes well, but I am hoping that you can screen my ideas to help
me avoid any major pitfalls at this time.
1. As MATLAB will need some way of communicating with TEMPO, should
the following MEX-files (created with CodeWarrior) currently used in a
different lab on an older OS9 Mac for communication with an installed
National Instruments PCI-DIO-96 card and TEMPO VideoSync protocol work
as well in "Classic" mode on a new Mac with MATLAB 5.2.1 and the same
PCI-DIO-96 card installed?:
Board_ID.mex
DIG_In_Port.mex
DIG_Out_Port.mex
DIG_Prt_Config.mex
RVS.mex
2. I have the source C-files and H-files for all, so should it be
possible to recompile the OS9 MEX-files into MEXMAC-files on OSX,
maybe using MATLAB's own "Lcc" compiler from the MATLAB command line?
(I have made small simple MEXMAC-files in OSX this way recently.)
3. The current protocol between the NI PCI-DIO-96 card and TEMPO
involves 20 digital input pins and 4 digital output pins (on the
MATLAB/NI PCI-DIO-96 side). I do not have experience using OSX's
PsychHID.mex yet, but looking at the Denis' USB page, do you think
that any of the USB-HID devices would be an acceptable alternative to
an NI PCI-DIO-96 card and porting the OS9 MEX-files to OSX
MEXMAC-files? (My first concern would be that the USB-HID devices
shown do not have enough pins. But theoretically, could it accomplish
the same thing?)
4. What does one need to consider before splitting a VGA video output
to 2 monitors instead of 1, one for the subject, and the other for the
user running the experiment to see the same.
5. I program visual stimuli on Cambridge Research System's VSG2/5
with Windows MATLAB in yet another lab. In addition to its video
output to the stimulus monitor, the VSG2/5 has 10 input and 10 output
pins for digital communication and triggering. Anyone out there
successfully using a VSG2/5 with TEMPO?
Thanks very much for any and all feedback.
Daniel Shima
Vanderbilt Vision Research Center