Makeintervals function – Multichannel Systems NeuroExplorer User Manual
Page 248

5.5.8.18. MakeIntervals Function
MakeIntervals Function
Creates new interval variable with intervals [varTimestamp+shiftmin, varTimestamp+shiftMax].
Syntax
variableReference MakeIntervals(var, shiftMin, shiftMax)
Parameters
Parameter
Type
Description
var
variableReference
Reference to the variable.
shiftMin
double
Shift minimum in seconds.
shiftMax
double
Shift maximum in seconds.
Returns
Reference to the new variable.
Comments
Creates new interval variable with intervals [varTimestamp+shiftmin, varTimestamp+shiftMax].
Usage
NexScript
doc = GetActiveDocument()
doc.IntAroundEvent04 = MakeIntervals(doc.Event04, 0, 2)
See Also
Introduction to NexScript Programming
Page 246