Start C-LOGGER to acquire data.
Ret = LoggerStartOperation ( AppId , status )
AppId [ VB.NET: Short ] [ C++: short ] [ C#: short ]
Specify Application ID retrieved by LoggerOpenApplication.
Status [ VB.NET: UInteger ] [ C++: unsigned long * ] [ C#: out uint ]
Specify the address where the status is stored.
Value [Dec] |
Mcro Definition |
Description |
0 |
LOGGER_STATUS_SUCCESS |
Normal completed |
1 |
LOGGER_STATUS_EXCEL |
An Excel transfer error occurred. |
Ret [ VB.NET: Integer ] [ C++: long ] [ C#: int ]
Definition |
Return code [Dec] |
Description |
LOGGER_ERR_SUCCESS |
0 |
Normal completed |
LOGGER_ERR_DEVICE_START |
10008 |
Operation start error occurred. |
LOGGER_ERR_INVALID_ID |
10010 |
Invalid AppId was specified. |
The others (See also: Error Code List)
Use this function to start an operation based on the specified conditions.
This function cannot be used with devices that are not supported by C-LOGGER.
If the device is in operation, this function cannot be performed.
Start the output of C-LOGGER.
VB.NET |
Dim Ret As Integer Ret = LoggerStartOperation (AppId, status)
|
C++ |
long Ret; Ret = LoggerStartOperation (AppId, status);
|
C# |
int Ret; Ret = gen.StartOperation(AppId, status);
|