Function
Gets the integer value (System.Byte) data of a two-dimensional array from the buffer.
Format
Ret = dncDataSet1.GetBufferData(DataSetNum, Data)
Parameters
DataSetNum [ C#: int ] [ VB.NET: Integer ]
Specifies the number of datasets to
set.
After execution, the number of datasets actually acquired is stored.
Data [ C#: byte[,] ] [ VB.NET: Byte(,) ]
Specifies the storage destination of the acquired data as a two-dimensional array of System.Byte 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
Gets the integer value (System.Byte) data of a two-dimensional array from the buffer.
Example
Get 10 sets of data, while 1 set has 3 data.
C# |
int Ret;
|
VB.NET |
Dim Ret As Integer
|