<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
  <channel>
    <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/168728</link>
    <title>MATLAB Central Newsreader - MR-scanner synchronization - parallel port, interrupt</title>
    <description>Feed for thread: MR-scanner synchronization - parallel port, interrupt</description>
    <language>en-us</language>
    <copyright>&amp;copy;1994-2012 by MathWorks, Inc.</copyright>
    <webmaster>webmaster@mathworks.com</webmaster>
    <generator>MATLAB Central Newsreader</generator>
    <docs>http://blogs.law.harvard.edu/tech/rss</docs>
    <ttl>60</ttl>
    <image>
      <title>MathWorks</title>
      <url>http://www.mathworks.com/images/membrane_icon.gif</url>
    </image>
    <item>
      <pubDate>Mon, 05 May 2008 08:53:03 -0400</pubDate>
      <title>MR-scanner synchronization - parallel port, interrupt</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/168728#430279</link>
      <author>Tibor Auer</author>
      <description>Dear Community,&lt;br&gt;
&lt;br&gt;
I would like to receive triggering pulse from an MR scanner&lt;br&gt;
(Siemens TIM Trio 3T)(when it acquires the scans) in Matlab&lt;br&gt;
R2008a (Windows XP 32bit).&lt;br&gt;
&lt;br&gt;
All I know, trigger comes via LPT1 (0x378), pin12. We also&lt;br&gt;
use a device to produce a wider pulse then is present at the&lt;br&gt;
scanner output.&lt;br&gt;
Till now I tried to read each pins with Data Acquisition&lt;br&gt;
Toolbox, but I have noticed no changes:&lt;br&gt;
- port0, pin 0:7: all give 1&lt;br&gt;
- port1, pin 0:4: none but 4 gives 1&lt;br&gt;
- port2, pin 0:3: none but 2:3 gives 1&lt;br&gt;
The other pins are not accessible (ground?)&lt;br&gt;
&lt;br&gt;
I CAN read/write the port with Matlab (and Data&lt;br&gt;
Acuisition Toolbox), but I do not know, how to use it to get&lt;br&gt;
the trigger pulse from the scanner.&lt;br&gt;
&lt;br&gt;
In Presentation, there is a setting about &quot;Use Interrupts&quot;&lt;br&gt;
referring to IRQ 7, and we use it. Howcan I use it also in&lt;br&gt;
Matlab?&lt;br&gt;
Program Presentation works fine and accepts the signal. I&lt;br&gt;
just want to make it work on Matlab too.&lt;br&gt;
&lt;br&gt;
So can you give me any hint, what to do?&lt;br&gt;
&lt;br&gt;
Thanks,&lt;br&gt;
Tibor Auer, M.D.&lt;br&gt;
Biomedizinische NMR Forschungs GmbH&lt;br&gt;
am Max-Planck Institut f?r Biophysikalische Chemie&lt;br&gt;
Am Fassberg 11&lt;br&gt;
37077 G?ttingen&lt;br&gt;
Germany&lt;br&gt;
Mail: tibor.auer@gmail.com</description>
    </item>
  </channel>
</rss>

