User Tools

Site Tools


jvs:cigal:manual:chapter1:background

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
jvs:cigal:manual:chapter1:background [2014/03/18 18:43]
voyvodic [Sharing hardware resources on the BIAC scanner computers]
jvs:cigal:manual:chapter1:background [2023/02/23 18:43] (current)
Line 4: Line 4:
 If you already have your behavioral tasks set up using other software (e.g. EPrime, Presentation, Matlab, etc.) you can run that software for task stimulus and button response recording, and run CIGAL simultaneously to record synchronized physiological and eye-tracking signals.  This works well provided that your computer has 2 video monitors so that each program can be run on a different screen. In that case you can run CIGAL on the secondary monitor while you run your regular behavioral software on the primary monitor. Both programs can be automatically triggered by the scanner so that they run in synchrony. You (and your subject) will see your task stimuli displayed on the main screen, and you can watch the physiological and eye-position signals displayed simultaneously in real-time on the second screen. CIGAL uses almost no computer time for its data recording and very little for its display; running on a modern dual-core computer CIGAL has no significant impact on the timing accuracy of the other program. If you already have your behavioral tasks set up using other software (e.g. EPrime, Presentation, Matlab, etc.) you can run that software for task stimulus and button response recording, and run CIGAL simultaneously to record synchronized physiological and eye-tracking signals.  This works well provided that your computer has 2 video monitors so that each program can be run on a different screen. In that case you can run CIGAL on the secondary monitor while you run your regular behavioral software on the primary monitor. Both programs can be automatically triggered by the scanner so that they run in synchrony. You (and your subject) will see your task stimuli displayed on the main screen, and you can watch the physiological and eye-position signals displayed simultaneously in real-time on the second screen. CIGAL uses almost no computer time for its data recording and very little for its display; running on a modern dual-core computer CIGAL has no significant impact on the timing accuracy of the other program.
  
-==== Running two programs simultaneously without interference ====+==== Links for configuring and running CIGAL for background recording ==== 
 +  * [[jvs:cigal:manual:chapter1:background_config_cigal|Configuring CIGAL for background recording]]\\ 
 +  * [[jvs:cigal:manual:chapter1:background_config_eprime|Configuring EPrime for compatibility with CIGAL in background]]\\ 
 +  * [[jvs:cigal:manual:chapter1:background_config_presentation|Configuring Presentation for compatibility with CIGAL in background]]\\ 
 +  * [[jvs:cigal:manual:chapter1:background_config_matlab|Configuring Matlab for compatibility with CIGAL in background]]\\ 
 +  * [[jvs:cigal:manual:chapter1:background_start|Starting CIGAL and your other behavioral software]]  
 +  * [[jvs:cigal:manual:chapter1:background_running|Running CIGAL for background recording]] 
 + 
 +==== Understanding how to run two programs simultaneously without interference ====
 In order to run two programs simultaneously you must configure each so that they do not attempt to compete for the same limited resources when they run.  As long as they don't compete for resources you can run each program independently, without either having to know anything about what the other is doing.  In order to run two programs simultaneously you must configure each so that they do not attempt to compete for the same limited resources when they run.  As long as they don't compete for resources you can run each program independently, without either having to know anything about what the other is doing. 
  
Line 29: Line 37:
 The scanner trigger pulse is the most important external input signal you need to think about when running two programs, because that is the best way to make sure they are accurately synchronized with each other (and with the scanner). BIAC provides the scanner trigger signal on multiple different input devices, which means that two programs can read the same trigger signal, provided they read it on different hardware channels. CIGAL should be configured, therefore, to read the scanner trigger from the analog input device, which it has open anyway in order to record the physiological waveforms. That allows the other program to access the scanner trigger pulse from the serial response box (EPrime SRbox), or from a parallel port input (probably no longer available on Windows 7 computers), or by simply manually starting the program by pressing a keyboard key. Since CIGAL will trigger from the scanner automatically, you are free to start your other program however you like, provided it does not use the Measurement Computing USB analog/digital device. The scanner trigger pulse is the most important external input signal you need to think about when running two programs, because that is the best way to make sure they are accurately synchronized with each other (and with the scanner). BIAC provides the scanner trigger signal on multiple different input devices, which means that two programs can read the same trigger signal, provided they read it on different hardware channels. CIGAL should be configured, therefore, to read the scanner trigger from the analog input device, which it has open anyway in order to record the physiological waveforms. That allows the other program to access the scanner trigger pulse from the serial response box (EPrime SRbox), or from a parallel port input (probably no longer available on Windows 7 computers), or by simply manually starting the program by pressing a keyboard key. Since CIGAL will trigger from the scanner automatically, you are free to start your other program however you like, provided it does not use the Measurement Computing USB analog/digital device.
  
-==== Configuring and running CIGAL for background recording ====+**See Also:**\\ 
 +[[jvs:cigal:manual:chapter1:background_config_cigal|Configuring CIGAL for background recording]]\\ 
 +[[jvs:cigal:manual:chapter1:background_config_eprime|Configuring EPrime for compatibility with CIGAL in background]]\\ 
 +[[jvs:cigal:manual:chapter1:background_config_presentation|Configuring Presentation for compatibility with CIGAL in background]]\\ 
 +[[jvs:cigal:manual:chapter1:background_config_matlab|Configuring Matlab for compatibility with CIGAL in background]]\\ 
 +[[jvs:cigal:manual:chapter1:background_start|Starting CIGAL and your other behavioral software]]\\[[jvs:cigal:manual:chapter1:background_running|Running CIGAL for background recording]]
  
-  * [[jvs:cigal:manual:chapter1:background_config_cigal|Configuring CIGAL for background recording]]\\ +[[jvs:cigal:manual:chapter1|Topics]], 
-  * [[jvs:cigal:manual:chapter1:background_config_eprime|Configuring EPrime for compatibility with CIGAL in background]]\\ +[[jvs:cigal:manual:chapter1:physiology|Physiology]]
-  * [[jvs:cigal:manual:chapter1:background_config_presentation|Configuring Presentation for compatibility with CIGAL in background]]\\ +
-  * [[jvs:cigal:manual:chapter1:background_config_matlab|Configuring Matlab for compatibility with CIGAL in background]]\\ +
-  [[jvs:cigal:manual:chapter1:background_run_cigal|Running CIGAL for background recording]]+
  
-**See Also:**\\ 
 [[jvs:cigal|CIGAL Home]],  [[jvs:cigal|CIGAL Home]], 
 [[jvs:cigal:manual|CIGAL Manual]],  [[jvs:cigal:manual|CIGAL Manual]], 
jvs/cigal/manual/chapter1/background.1395168222.txt.gz · Last modified: 2014/08/04 16:03 (external edit)