Diff for "ScannerSynch" - CBU MRI facility Wiki
location: Diff for "ScannerSynch"
Differences between revisions 18 and 19
Revision 18 as of 2015-09-15 11:15:45
Size: 924
Editor: TiborAuer
Comment:
Revision 19 as of 2015-09-15 11:24:57
Size: 1319
Editor: TiborAuer
Comment:
Deletions are marked like this. Additions are marked like this.
Line 24: Line 24:
=== Initialise ===
{{{#!highlight matlab numbers=off
SSO = ScannerSynchClass;
}}}
{{{#!highlight matlab numbers=off
SSO = ScannerSynchClass(1); % emulate scanner synch pulse
}}}
{{{#!highlight matlab numbers=off
SSO = ScannerSynchClass(0,1); % emulate button box
}}}
{{{#!highlight matlab numbers=off
SSO = ScannerSynchClass(1,1); % emulate scanner synch pulse and button box
}}}

ScannerSynch

ScannerSynch provides an interface for National Instruments PCI 6503 card used to capture all pulses (scanner synch pulse and button pulses alike).

For more information, type in MATLAB

help ScannerSynchClass

N.B.: National Instruments PCI 6503 card does not monitor pulses in the background, so you have to make sure that you wait for any pulse before it comes!

Any problems, report them to Tibor Auer.

Obtain ScannerSynch

  • ScannerSynch is available on all relevant PCs (StimPCs, "mimic" PC)

  • From your desktop PC (Windows), you can also have a copy from \\cbsu\data\Group\Imaging-Local\cbu\matlab

  • You can also download it from here (right-click and "Save As...")

Using ScannerSynch

Initialise

SSO = ScannerSynchClass;

SSO = ScannerSynchClass(1);   % emulate scanner synch pulse

SSO = ScannerSynchClass(0,1); % emulate button box

SSO = ScannerSynchClass(1,1); % emulate scanner synch pulse and button box

None: ScannerSynch (last edited 2017-08-08 15:53:15 by JohanCarlin)