Setdocendtime function – Multichannel Systems NeuroExplorer User Manual

Page 166

Advertising
background image

5.5.2.5. SetDocEndTime Function

SetDocEndTime Function


Sets the length of experimental session for the document.

Syntax


SetDocEndTime(doc, endtime)

Parameters

Parameter

Type

Description

doc

documentReference Reference to the document.

endtime

double

Document end time in seconds.

Returns


None

Comments


NeuroExplorer determines document end time when the document is loaded. Then, the duration of
experimental session (endTime - startTime) may be used in

the calculations of the confidence limits

.

If your script modifies or adds the variables, you may need to set the document end time directly to

maintain correctness of the confidence calculations.

Usage

NexScript

doc = GetActiveDocument()

SetDocEndTime(doc, 1200.3)

See Also

Introduction to NexScript Programming

NexScript Function Categories

Page 164

Advertising