OnSigmaDetection


Function

Notifies when the data of specified number of datasets are stored.

 

Format

dncStat1_OnSigmaDetection(object sender, DncSigmaDetectionEventArgs e)

 

Parameters

sender [ C#: object ] [ VB.NET: object ]
Event source.

 

e [ C#: DataSetDataStoreEventHandler  ] [ VB.NET: DataSetDataStoreEventHandler  ]
Event arguments. Details are shown below.

 

Event argument

Arguments

C# Type

VB.NET Type

Description

CalculateData

object[]

Object()

Pass the entire calculation data.

 

Please use by casting to the type indicated by DataType.

The number of array depends on the CalculateData.Length property.

 

Example : C#

 float value;

 value = ((float[])e.CalculateData)[0];

 

Example : VB.NET

 Dim value As float

 value = CType(e.CalculateData, Single())(0)

AlarmIndex

int[]

Integer()

Indicates the array No. of the target data.

The number of array depends on the AlarmIndex.Length property.

 

CheckType

short

Short

0:3σ or more, 1:2σ or more

DataType

short

Short

Indicates the variable type of CalculateData.

0:(Not Used)

1:int

2:float

 

Remarks

Notifies when the data of specified number of datasets are stored.