Function
Gets the integer value (System.Byte) data of a one-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 one-dimensional array of System.Byte type.
Please prepare the array to be prepared in multiples of the data set unit.
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 one-dimensional array from the buffer.
Example
Gets 10 data. It is assumed that the data set unit is 1.
C# |
int Ret;
|
VB.NET |
Dim Ret As Integer
|