Sleep method – Multichannel Systems NeuroExplorer User Manual

Page 329

Advertising
background image

6.1.7. Sleep Method

Application.Sleep Method


Pauses the application.

Syntax


void Sleep ( int millisecondsToSleep )

Parameters

Parameter

Type

Description

millisecondsToSleep

int

Number of milliseconds to sleep

Returns


None.

Usage

Matlab

nex = actxserver('NeuroExplorer.Application');

% pause NeuroExplorer for 1 second

nex.Sleep(1000);

JavaScript

var nex = new ActiveXObject("NeuroExplorer.Application");

// pause NeuroExplorer for 1 second

nex.Sleep(1000);

See Also

Application Interface

COM/ActiveX Interfaces

Page 327

Advertising