Shift function – Multichannel Systems NeuroExplorer User Manual
Page 257

5.5.8.27. Shift Function
Shift Function
Returns a new variable with all the timestamps of variable var shifted in time by shiftBy seconds.
Syntax
variableReference Shift(var, shiftBy)
Parameters
Parameter
Type
Description
var
variableReference
Reference to the variable.
shiftBy
double
Shift value (in seconds).
Returns
Reference to the new variable.
Comments
Returns a new variable with all the timestamps of variable var shifted in time by shiftBy seconds.
Usage
NexScript
doc = GetActiveDocument()
doc.Event04Shifted = Shift(doc.Event04, 10)
See Also
Introduction to NexScript Programming
Page 255