Get the current sampling storage count.
Ret = LoggerGetStoredSamplingCount ( AppId , StoredSamplingCount )
AppId [ VB.NET: Short ] [ C++: short ] [ C#: short ]
Specify Application ID retrieved by LoggerOpenApplication.
StoredSamplingCount [ VB.NET: UInteger ] [ C++: unsigned long * ] [ C#: out uint ]
Specify the address for storing the current sampling storage count.
Ret [ VB.NET: Integer ] [ C++: long ] [ C#: int ]
Definition |
Return code [Dec] |
Description |
LOGGER_ERR_SUCCESS |
0 |
Normal completed |
LOGGER_ERR_INVALID_ID |
10010 |
Invalid AppId was specified. |
The others (See also: Error Code List)
Nothing in particular.
Get the current sampling storage count.
This function can be
used in combination with LoggerGetSamplingData
function (or LoggerGetSamplingDataBin
function) to get C-LOGGER acquired data in a batch operation.
The current sampling storage count is subtracted by the number of acquired
data items.
You can get the
total sampling count with LoggerGetTotalSamplingCount
function.
The total sampling count is not subtracted even if the acquired data is
obtained.
Get the current sampling storage count.
VB.NET |
Dim Ret As Integer Ret = LoggerGetStoredSamplingCount(AppId, StoredSamplingCount)
|
C++ |
long Ret; Ret = LoggerGetStoredSamplingCount(AppId, &StoredSamplingCount);
|
C# |
int Ret; Ret = logger.GetStoredSamplingCount(AppId, out StoredSamplingCount);
|
LoggerGetTotalSamplingCount LoggerGetSamplingData LoggerGetSamplingDataBin