Set the acquired mode.
Ret = LoggerSetAcquiredMode ( AppId , Mode )
AppId [ VB.NET: Short ] [ C++: short ] [ C#: short ]
Specify Application ID retrieved by LoggerOpenApplication.
Mode [ VB.NET: UShort ] [ C++: unsigned short ] [ C#: ushort ]
Specify the mode of data retrieval.
Value [Dec] |
Macro |
Description |
0 |
LOGGER_PARAM_MODE_BASIC |
Only use C-LOGGER basic functions |
1 |
LOGGER_PARAM_MODE_API |
API mode with C-LOGGER basic functions |
Ret [ VB.NET: Integer ] [ C++: long ] [ C#: int ]
Definition |
Return code [Dec] |
Description |
LOGGER_ERR_SUCCESS |
0 |
Normal completed |
LOGGER_ERR_STARTED |
10006 |
Cannot execute because the device is in operation. |
LOGGER_ERR_INVALID_ID |
10010 |
Invalid AppId was specified. |
LOGGER_ERR_ACQUIRED_MODE |
20048 |
Acquired mode is invalid. |
The others (See also: Error Code List)
Nothing in particular.
Set the acquired mode.
When you use LoggerGetSamplingData function (or LoggerGetSamplingDataBin) to acquired data, Please specify LOGGER_PARAM_MODE_API.
Set the enable on API mode.
VB.NET |
Dim Ret As Integer Ret = LoggerSetAcquiredMode(AppId, LOGGER_PARAM_MODE_API)
|
C++ |
long Ret; Ret = LoggerSetAcquiredMode(AppId, LOGGER_PARAM_MODE_API);
|
C# |
int Ret; Ret = logger.SetAcquiredMode(AppId, LOGGER_PARAM_MODE_API);
|
LoggerGetAcquiredMode LoggerGetSamplingData LoggerGetSamplingDataBin