Function
Adds floating-point type (System.Single) data of a two-dimensional array to the buffer.
Format
Ret = dncDataSet1.SetBufferData(DataSetNum, Data)
Parameters
DataSetNum [ C#: ref int ] [ VB.NET: Integer ]
Specifies the number of datasets to set.
Data [ C#: float[] ] [ VB.NET: Single() ]
Specifies the data to be added to the buffer as a two-dimensional array of System.Single type.
Allocate element 1 for the number of data
sets you want to acquire, and allocate element 2 for each data set.
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
Adds floating-point type (System.Single) data of a two-dimensional array to the buffer.
Example
Ch.0 data 0.0, 100.0, 200.0
Ch.1 data 100.0, 200.0, 300.0
Ch.2 data 200.0, 300.0, 400.0
Adds the above data.
C# |
int Ret
|
VB.NET |
Dim Ret As Integer DataSetNum = 3
|