Multichannel Systems NeuroExplorer User Manual
Page 137
You can also add intervals to an interval variable using NexScript functions. See
Variables and Adding Data to Variables
Continuous Variables
ContVar[i,1] gives you read-only access to the timestamp of the i-th data point.
ContVar[i,2] gives you read-write access to the value of the i-th data point.
For example, the following script prints the timestamp and the value of the fifth data point in variable
ContChannel01:
Trace("ts = ", doc.ContChannel01[5,1], "value =" ,doc.ContChannel01[5,2])
The following script line assigns the value of 100 to the fifth data point:
doc.ContChannel01[5,2] = 100.
You can add new data points to a continuous variable using NexScript functions. See
Variables and Adding Data to Variables
Marker Variables
MarkerVar[i,1] gives you read-only access to the timestamp of the i-th marker.
MarkerVar[i,2] gives you read-only access to the value of the first field of the i-th marker.
For example, the following script prints the timestamp and the first field value of the fifth marker in
variable Strobed:
Trace("ts = ", doc.Strobed[5,1], "marker value =" ,doc.Strobed[5,2])
Operations on Variables
Many operations on data variables are available via Edit | Operations on Data Variables menu
command. This menu command opens Operations dialog:
Page 135