the brainvoyager application object

Inside BrainVoyager QX routines are used to execute the different functions that are accessible via the BrainVoyager QX menu. Important routines like the creation of an FMR, VMR or AMR project, or the computation of the General Linear Model, are also available via scripting. To access these BrainVoyager functions,

 

<IMAGES>

 

 

 

 

 

 

 

In the BrainVoyager QX script editor the script language QSA is used. All objects defined in the QSA language, like Array, Date or File can be used directly within a function (see chapter 2c: QSA Language).

However, in order to make BrainVoyager script methods accessible for the script, f.e. example CreateProjectFMR(), the BrainVoyager application object should be declared. This can be done with the instruction var BVQX = Application.BrainVoyagerQX; The BrainVoyager QX application object is also directly accessible, as shown in the getActiveDocument() function shown in BrainVoyager application object methods.