Addcontvalue function – Multichannel Systems NeuroExplorer User Manual
Page 201
Advertising
5.5.5.5. AddContValue Function
AddContValue Function
Adds a new data point to the specified continuous variable
Syntax
AddContValue(var, timestamp, value)
Parameters
Parameter
Type
Description
var
variableReference
Reference to the continuous variable.
timestamp
double
Timestamps value in seconds.
value
double
Voltage value in millivolts.
Returns
None
Comments
None
Usage
NexScript
doc = GetActiveDocument()
contVar = GetVarByName(doc, "ContVar1")
% add voltage value of 25.7 mV at the time 100.3 seconds
AddContValue(contVar, 100.3, 25.7)
See Also
Introduction to NexScript Programming
Page 199
Advertising