LinkStimulationProtocol Method


Description

Links a stimulation protocol PRT file to an FMR project or a 3D volume time course VTC file.

Syntax

objDocument.LinkStimulationProtocol(strStimulationProtocolFileName)

Remarks

Valid only if objDocument is a) of type FMR or b) of type VMR and if a VTC file has been linked. In the latter case, the specified stimulation protocol is linked to the VTC file. To establish a permanent link, save the FMR project or the VTC file.

Example

' VBScript
Set doc = BrainVoyager.
OpenDocument("cg_objects.fmr")
doc.
LinkStimulationProtocol "cg_exp_r1.prt"
doc.
Save

// JScript
doc = BrainVoyager.
OpenDocument("cg_objects.fmr");
doc.
LinkStimulationProtocol("cg_exp_r1.prt");
doc.
Save();

# PerlScript
$doc = $BrainVoyager->
OpenDocument("cg_objects.fmr");
$doc->
LinkStimulationProtocol("cg_exp_r1.prt");
$doc->
Save();