Function
Adds integer value (System.Int32) 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#: int[] ] [ VB.NET: Integer() ]
Specifies the data to be added to the buffer as a two-dimensional array of System.Int32 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 integer value (System.Int32) data of a two-dimensional array to the buffer.
Example
Ch.0 data 0, 100, 200
Ch.1 data 100, 200, 300
Ch.2 data 200, 300, 400
Adds the above data.
C# |
int Ret
|
VB.NET |
Dim Ret As Integer DataSetNum = 3
|