ouemaR2

Trying to add 10 points with 1000 values each for 1 year.

Discussion created by ouemaR2 on Jul 10, 2014
Latest reply on Jul 15, 2014 by Gregor

Hi, i'm trying to add points with values and I end up with like 10 values instead of 1000. 

 

compressing = 0 and compdev = 0.

 

this is the main functions i'm using.

 
NamedValues val      = new NamedValues();
val.Add( "compressing"ref disableCompress );
            val.Add( "compdev"ref disableCompDev );
            val.Add( "compmax"ref disablecompmax );
point = piPoints.Add( "test" +  i, "classic"PointTypeConstants.pttypInt32, val );
double dbl = random.NextDouble() * ( 5 - 0 ) + 0;
point.Data.UpdateValue( dbl, startTime, DataMergeConstants.dmReplaceDuplicates );

Outcomes