Thread Subject: MR-scanner synchronization - parallel port, interrupt

Subject: MR-scanner synchronization - parallel port, interrupt

From: Tibor Auer

Date: 5 May, 2008 08:53:03

Message: 1 of 1

Dear Community,

I would like to receive triggering pulse from an MR scanner
(Siemens TIM Trio 3T)(when it acquires the scans) in Matlab
R2008a (Windows XP 32bit).

All I know, trigger comes via LPT1 (0x378), pin12. We also
use a device to produce a wider pulse then is present at the
scanner output.
Till now I tried to read each pins with Data Acquisition
Toolbox, but I have noticed no changes:
- port0, pin 0:7: all give 1
- port1, pin 0:4: none but 4 gives 1
- port2, pin 0:3: none but 2:3 gives 1
The other pins are not accessible (ground?)

I CAN read/write the port with Matlab (and Data
Acuisition Toolbox), but I do not know, how to use it to get
the trigger pulse from the scanner.

In Presentation, there is a setting about "Use Interrupts"
referring to IRQ 7, and we use it. Howcan I use it also in
Matlab?
Program Presentation works fine and accepts the signal. I
just want to make it work on Matlab too.

So can you give me any hint, what to do?

Thanks,
Tibor Auer, M.D.
Biomedizinische NMR Forschungs GmbH
am Max-Planck Institut f?r Biophysikalische Chemie
Am Fassberg 11
37077 G?ttingen
Germany
Mail: tibor.auer@gmail.com

Tags for this Thread

Everyone's Tags:

Add a New Tag:

Separated by commas
Ex.: root locus, bode

What are tags?

A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.

Anyone can tag a thread. Tags are public and visible to everyone.

Tag Activity for This Thread
Tag Applied By Date/Time
mrscanner Tibor Auer 5 May, 2008 04:55:11
synchronization Tibor Auer 5 May, 2008 04:55:11
parallel port Tibor Auer 5 May, 2008 04:55:11
interrupt Tibor Auer 5 May, 2008 04:55:11
rssFeed for this Thread

Public Submission Policy

NOTICE: Any content you submit to MATLAB Central, including personal information, is not subject to the protections which may be afforded information collected under other sections of The MathWorks, Inc. Web site. You are entirely responsible for all content that you upload, post, e-mail, transmit or otherwise make available via MATLAB Central. The MathWorks does not control the content posted by visitors to MATLAB Central and, does not guarantee the accuracy, integrity, or quality of such content. Under no circumstances will The MathWorks be liable in any way for any content not authored by The MathWorks, or any loss or damage of any kind incurred as a result of the use of any content posted, e-mailed, transmitted or otherwise made available via MATLAB Central. Read the complete Disclaimer prior to use.

Contact us at files@mathworks.com