AddContValue
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 |
number |
Timestamp value in seconds. |
value |
number |
Voltage value in milliVolts |
Return
None.
Examples
Python
import nex
doc = nex.GetActiveDocument()
contVar = doc["FP01"]
# add voltage value of 25.7 mV at the time 100.3 seconds
nex.AddContValue(contVar, 100.3, 25.7)
NexScript
doc = GetActiveDocument()
contVar = doc["FP01"]
% add voltage value of 25.7 mV at the time 100.3 seconds
AddContValue(contVar, 100.3, 25.7)