Number of Points

<number> output = <series>.NumPoints

Use to access the Number of Points member of the data series.  Can be read or written.  Changing the number of points will truncate or expand the length of the data series.

Examples:

mySeries.NumPoints = 500; // allow storing 500 samples in this series

var myNPoints = mySeries.NumPoints;