Get the total sampling count.
Ret = LoggerGetTotalSamplingCount ( AppId , SamplingCount )
AppId [ VB.NET: Short ] [ C++: short ] [ C#: short ]
Specify Application ID retrieved by LoggerOpenApplication.
SamplingCount [ VB.NET: UInteger ] [ C++: unsigned long * ] [ C#: out uint ]
Specify the address to store the total sampling 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. |
LOGGER_ERR_SAMPLINGDATA_TIME |
20045 |
Pointer for sampling count of data to be acquired is invalid. |
The others (See also: Error Code List)
Nothing in particular.
Gets the total sampling count.
The total sampling count
is not subtracted even if the acquired data is obtained with LoggerGetSamplingData
function (or LoggerGetSamplingDataBin
function).
You can get the current sampling storage count with LoggerGetStoredSamplingCount
function.
Get the current sampling storage count.
VB.NET |
Dim Ret As Integer Ret = LoggerGetTotalSamplingCount(AppId, SamplingCount)
|
C++ |
long Ret; Ret = LoggerGetGetTotalSamplingCount(AppId, &SamplingCount);
|
C# |
int Ret; Ret = logger.GetTotalSamplingCount(AppId, out SamplingCount);
|
LoggerGetStoredSamplingCount LoggerGetSamplingData LoggerGetSamplingDataBin