ContinuousValuesAsInt16

Returns the list of all continuous values of the NexVar object representing continuous variable. The values are returned as 16-bit integers converted to double.

Syntax

var.ContinuousValuesAsInt16()

Return

Returns the list of all continuous values of the NexVar object representing continuous variable. The values are returned as 16-bit integers (so called ‘raw’ values as recorded by a data acquisition system) converted to double.

Note

Python only.

Examples

Python

import nex
import numpy as np

doc = nex.GetActiveDocument()
rawValues = np.array(doc['FP01'].ContinuousValuesAsInt16(), dtype=np.int16)
# print first 10 values
print(rawValues[0:10])