Start C-LOGGER and allow to access.
Ret = LoggerOpenApplication ( DeviceName, AppId, OpenMode)
DeviceName [ VB.NET: String ] [ C++: char * ] [ C#: string]
Specify the device name.
AppId [ VB.NET: Short ] [ C++: short * ] [ C#: out short]
Application
ID is returned.
By using this Application ID, you can access C-LOGGER in the following
functions.
OpenMode [ VB.NET: UShort ] [ C++: unsigned short ] [ C#: ushort ]
Specify the screen startup status.
0 |
Minimize |
1 |
Normal size for each application |
2 |
Maximize |
Ret [ VB.NET: Integer ] [ C++: long ] [ C#: int ]
Definition |
Return code [Dec] |
Description |
LOGGER_ERR_SUCCESS |
0 |
Normal completed |
LOGGER_ERR_OPEN_APPLICATION |
102 |
Cannot use C-LOGGER because other application is using |
LOGGER_ERR_APPLICATION_SIZE |
10000 |
Unable to specify screen size |
The others (See also: Error Code List)
Start the application and allow access.
If C-LOGGER is not installed, this function
is not available.
Please set the device that is supported by C-LOGGER.
Start the application by specifying AIO000 with the normal size of the application.
VB.NET |
Dim Ret As Integer Dim AppId As Short Ret = LoggerOpenApplication("AIO000", AppId, 1)
|
C++ |
long Ret; short AppId; Ret = LoggerOpenApplication("AIO000", &AppId, 1);
|
C# |
int Ret; short AppId; Ret = logger.OpenApplication("AIO000", out AppId, 1);
|