Duke-UNC Brain Imaging and Analysis Center
BIAC Forums | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password   Forgot your Password?
 All Forums
 Support Forums
 Experimental Control
 Getting Event Signals from Windows PCs (BIAC5)
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

sh252
Starting Member

2 Posts

Posted - Oct 09 2012 :  5:35:17 PM  Show Profile  Reply with Quote
We plan to conduct an fMRI experiment on BIAC5 that will involve concurrent recording of behavioral and psychophysiological data. The program we are using is written in C++ and accepts input and scanner signal input. The program needs to be coded such that event signals (i.e. signals that indicate the presentation of cues/fixations to the subject) are sent from the stimulus presentation computer to the computer that is recording the psychophysiological data so that timing can be matched during analysis.

Originally this program was prepared to send these event signals as TTL signals from the parallel port, however, the system on BIAC5 appears to require that these be sent via USB or possibly via the serial port. Can anyone with experience with this clarify the port these signals should be generated on? Also, if anyone has some C or C++ code showing how this is done on the BIAC5 fMRI system that would be most helpful.

jim.voyvodic
BIAC Faculty

138 Posts

Posted - Oct 09 2012 :  7:21:54 PM  Show Profile  Reply with Quote
As you probably know, there are many existing programs that can do this already (e.g., CIGAL, Presentation). CIGAL in particular can record all your physiological channels (cardiac, respiratory, GSR, eye-tracking, etc) with sub-millisecond synchronization accuracy and absolutely no programming required.
But if you want to write your own C/C++ code then the first step is to figure out which program/device you are writing to and what form it expects as input. I suggest you come by some time to discuss this because it is too complicated to teach via the Forum.
Jim
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
BIAC Forums © 2000-2010 Brain Imaging and Analysis Center Go To Top Of Page
This page was generated in 0.58 seconds. Snitz Forums 2000