Welcome to the BrainVoyager scripting user's guide!
In new version: - Creating VTC files without FA files. - Interpolation parameters for AutoTransformToIsovoxel()
Overview of BrainVoyager QX scripting and plugin functions
Chapter 1: Scripting in BrainVoyager QX
Chapter 2: Characteristics of the scripting environment, language and methods
Chapter 4: Filesystem related scripting
Resources for ancient versions of BrainVoyager
Available scripts and plugins for BrainVoyager
Scripting in BrainVoyager 2000
Latest changes in BrainVoyager QX
BrainVoyager QX 1.10
1.10.4: In this BrainVoyager QX version, it is also possible to create VDW files via scripting.
1.10.3: The types of interpolation that can be selected have been extended. For more information, please consult the Interpolation in motion correction page.
BrainVoyager QX 1.9
This version is updated for BrainVoyager QX 1.9. Two important new changes in BrainVoyager QX 1.9 are the DTI analysis functionality and scripting via the component object model (COM)(this works on Windows platforms). Concerning COM, a separate guide appeared called ScriptingBrainVoyagerQXfromMatlab.pdf. For a short introduction, please see the topic Using BrainVoyager via COM.
Also, there are 5 new scripting functions:
RenameDicomFilesInDirectory(), BrowseFile(), BrowseDirectory(), CreateProjectDMR() and CreateProjectMosaicDMR().
For details on creating diffusion weighted projects (DMR), see the topic Creating DMR projects.
For the function to rename DICOM files and the use of BrowseDirectory(), please see the new rename DICOM files page.
The new BrainVoyager QX Getting Scripted Guide can be consulted for a step-by-step approach into scripting.
In 1.9.10, the number of interpolation options has increased for slice scan time correction* and VTC creation. For details, see the BrainVoyager QX 1.9.10 Release Notes.
Changes in the programming language itself concern, for example, the "undefined" which is in BrainVoyager QX 1.9 an object (so no double quotes are needed). Also, the arguments for the getOpenFileName(s) functions have changed. The language specification for Qt Script 1.2.2 by Trolltech can be found also in this guide.
Latest changes in this document
New topics have been added, for example Bytes per pixel and creating a directory. The topics Visibility of variables (scope) and Visibility of functions are also new. For previous document changes, see Document history.
Also, the scripting documentation has been tidied up. Very old information has been moved to the chapter 'Resources for ancient versions of BrainVoyager'. This contains obsolete information since it has not been updated, so looking there only makes sense when using ancient BrainVoyager versions and it will be at own risk.
Latest update: October 28, 2008
* Jan 15: corrected slice scan time correction interpolation constants from 1, 2 and 3 to 0, 1 and 2