Function
Gets the sum value.
Format
Ret = dncStat1.GetSum(InData , OutData )
Parameters
InData [
C#: int[] ] [ VB.NET: Integer() ]
Specifies the array that stores the data to be calculated.
OutData
[ C#: out float ] [ VB.NET: Integer ]
Specifies a variable to store the calculation result.
Return value
Ret [ C#: int ] [ VB.NET: Integer ]
Value |
Description |
0 |
Normality completion |
510001 |
The input parameter is invalid. Check the parameter contents. |
Other errors (see: Error code details)
Remarks
Gets the sum value.
Example
Calculates the sum value of triangular wave data with amplitude -10.0 to +10.0.
C# |
int Ret; int[] InData = new int[4]; InData[3] = 0;
|
VB.NET |
Dim Ret As Integer
InData(3) = 0;
|