Function
Gets the maximum value.
Format
Ret = dncStat1.GetMaximum(InData , OutData )
Parameters
InData [
C#: float[] ] [ VB.NET: Single() ]
Specifies the array that stores the data to be calculated.
OutData
[ C#: out float ] [ VB.NET: Single ]
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 maximum value.
Example
Calculates the maximum value of triangular wave data with amplitude -10.0 to +10.0.
C# |
int Ret; float[] InData = new float[4]; InData[3] = 0.0;
|
VB.NET |
Dim Ret As Integer
InData(3) = 0.0;
|