Multichannel-systems NeuroExplorer Uživatelský manuál Strana 322

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 373
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 321
6.1. Application
Application Interface
External applications can open an instance of NeuroExplorer using its Program ID
"NeuroExplorer.Application".
For example, to open NeuroExplorer (or to connect to a running instance of NeuroExplorer) in Matlab
, you can use the following command:
nex = actxserver('NeuroExplorer.Application');
To open NeuroExplorer in JavaScript, use the following command:
var nex = new ActiveXObject("NeuroExplorer.Application");
The object returned by the actxserver or ActiveXObject command is an Application object. The
properties and methods of this object are listed below.
Properties
Property Description
ActiveDocument Read-only access to the active document
DocumentCount The number of open documents
Version NeuroExplorer version
Visible Controls visibility of the application
Methods
Method Description
OpenDocument Opens a specified document (data file)
Document Returns one of the open documents
Sleep Pauses the program
RunNexScript Runs NexScript saved in a file
RunNexScriptCommands Runs the specified NexScript text
See Also
COM/ActiveX Interfaces
Page 320
Zobrazit stránku 321
1 2 ... 317 318 319 320 321 322 323 324 325 326 327 ... 372 373

Komentáře k této Příručce

Žádné komentáře