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
 Triggering problem with Kulpe (4T)
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

diaz
BIAC Alum

USA
212 Posts

Posted - Jan 18 2005 :  1:20:55 PM  Show Profile  Reply with Quote
I tried using Cigal on Kulpe(the computer on the left at the 4T) this morning. The wait for scanner option was not working, (I pressed 'w', the scanner was started, and the screen continued to say "waiting for scanner" but never started counting disdaqs or displaying the files.

Michele T. Diaz, Ph.D.
Associate Director
Brain Imaging and Analysis Center

jim.voyvodic
BIAC Faculty

138 Posts

Posted - Jan 18 2005 :  4:38:26 PM  Show Profile  Reply with Quote
The digital trigger is not connected to Kulpe yet because we do not have an a/d board on that machine. We are working on an alternative triggering scheme for CIGAL but for now you will have to manually start CIGAL paradigms on Kulpe.

Jim
Go to Top of Page

stjacques
New Member

12 Posts

Posted - Mar 06 2007 :  01:58:53 AM  Show Profile  Reply with Quote
I tried using the scanner trigger last week via Matlab on Kulpe at the 4T, but it did not work. Is it possibly related to this same problem with using the trigger via CIGAL? And if so, just wondering when it might be fixed. Thanks.
Go to Top of Page

Dichter
BIAC Faculty

190 Posts

Posted - Mar 06 2007 :  08:36:56 AM  Show Profile  Visit Dichter's Homepage  Reply with Quote
Triggering Cigal on the computer on the RIGHT at the 4T does work.

Gabriel S. Dichter, PhD
UNC Departments of Psychiatry & Psychology
http://www.can.unc.edu/
Go to Top of Page

diaz
BIAC Alum

USA
212 Posts

Posted - Mar 06 2007 :  08:40:30 AM  Show Profile  Reply with Quote
You can certainly use either computer at the 4T, and if you're using the computer on the right, manually triggering is an option. Is there any reason why you wouldn't want to use the computer on the left? I believe that machine is equipped with an a/d board and will trigger from the scanner.

Michele T. Diaz, Ph.D.
Associate Director
Brain Imaging and Analysis Center
Go to Top of Page

stjacques
New Member

12 Posts

Posted - Mar 06 2007 :  09:46:49 AM  Show Profile  Reply with Quote
Kulpe is the only computer hooked up to the 8-button box, which we are using in our study. Thanks.
Go to Top of Page

jim.voyvodic
BIAC Faculty

138 Posts

Posted - Mar 06 2007 :  10:30:31 AM  Show Profile  Reply with Quote
Trigger pulses are available on both computers at the 4T. Each software program however has only limited ways that it can use the trigger pulse so the problem is probably a software configuration issue. What software are you using on Kulpe with the 8-button box?

Jim
Go to Top of Page

stjacques
New Member

12 Posts

Posted - Mar 06 2007 :  11:27:11 AM  Show Profile  Reply with Quote
We are using Matlab & Cogent, with the following code to trigger the scanner:

ainidaq = analoginput('nidaq',1);
chan = addchannel(ainidaq,2);
duration = 2; % two second acquisition
set(ainidaq,'SampleRate',44100);
ActualRate = get(ainidaq,'SampleRate');
set(ainidaq,'SamplesPerTrigger',ActualRate*duration);
set(ainidaq,'TriggerChannel',chan);
set(ainidaq,'TriggerType','Software');
set(ainidaq,'TriggerCondition','Rising');
set(ainidaq,'TriggerConditionValue',1);
set(ainidaq,'TriggerFcn','scannertrigger');
start(ainidaq);
waittilstop(ainidaq,26);
delete(ainidaq)
clear ainidaq

Thanks.
Go to Top of Page

jim.voyvodic
BIAC Faculty

138 Posts

Posted - Mar 06 2007 :  11:54:10 AM  Show Profile  Reply with Quote
So the problem is that Cogent is a Matlab program, and apparently the only way MatLab can see a scanner trigger is via the National Instruments a/d board (NIDAQ interface). Only Darwin has an NI a/d board installed.

The best solution is probably to move the 8-button response box, and the e-prime SR response box to Darwin, and use that PC as our primary behavioral control computer. All software programs can run on that machine and it would have all 3 response boxes. Before making this change though we will have to see if any users will be adversely affected by running on Darwin.

Please respond here if moving the 8-button box or e-prime box to Darwin will cause you problems.

Jim

Go to Top of Page

Dichter
BIAC Faculty

190 Posts

Posted - Mar 06 2007 :  12:26:34 PM  Show Profile  Visit Dichter's Homepage  Reply with Quote
As I discussed with Jim, we use the 8-button box with Eprime on Kulpe, so installation and testing of Eprime on Darwin will have to precede permanently moving the 8-button box to Darwin. Thanks.

Gabriel S. Dichter, PhD
UNC Departments of Psychiatry & Psychology
http://www.can.unc.edu/
Go to Top of Page

rkozink
Junior Member

31 Posts

Posted - Mar 06 2007 :  12:36:05 PM  Show Profile  Reply with Quote
We also use e-prime, the 8-button box, and the e-prime SR response box on Kulpe. We don't foresee any problems with moving it to Darwin, but would like to be kept informed and/or provide input regarding dates and times of the transition.
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.54 seconds. Snitz Forums 2000