Get the status of autosave after or during data collection.
Ret = LoggerGetAutoSave ( AppId , ExcelEnable , AutoSaveType , FolderPath )
AppId [ VB.NET: Short ] [ C++: short ] [ C#: short ]
Specify Application ID retrieved by LoggerOpenApplication.
ExcelEnable [ VB.NET: UShort ] [ C++: unsigned short * ] [ C#: out ushort ]
Specify the address for storing whether Excel forwarding is enabled or disabled.
AutoSaveType [ VB.NET: UShort ] [ C++: unsigned short * ] [ C#: out ushort ]
Specify the address where the autosave status is stored.
FolderPath [ VB.NET: StringBuilder ] [ C++ : char * ] [ C#: out string]
Specify the address that contains the folder in which to save the target data.
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 setting status of automatic save after or during data collection.
Get the autosave status.
VB.NET |
Dim Ret As Integer Dim AutosaveType As UShort Ret = LoggerGetAutoSave(AppId, ExcelEnable, AutosaveType, FolderPath)
|
C++ |
long Ret; unsigned short AutosaveType; char FolderPath[255]; Ret = LoggerGetAutoSave(AppId, &ExcelEnable, &AutosaveType, &FolderPath[0]);
|
C# |
int Ret; ushort AutosaveType; string FolderPath; Ret = logger.GetAutoSave(AppId, out ExcelEnable, out AutosaveType, out FolderPath);
|