3 savelog, Method, 4 clearlog – Teledyne LeCroy Automation API for Bluetooth Exercisers User Manual
Page 9: 3 savelog method, 4 clearlog method

CATC
Automation API for CATC Bluetooth Exercisers
Manual Version 1.01
6
BSTR log [out]:
Contains the system log.
Errors:
BTEXERCISER_ERROR_BUSY:
The application status is busy.
R
EQUIREMENTS
:
BTTrainer 2.01
2.2.3 SaveLog Method
HRESULT SaveLog( EBTLogType type, BSTR file_name )
Saves the specified log. Returns an failure if there is a problem saving the file.
EBTLogType type [in]:
The type of log to save. Valid values are
BTLOG_TYPE_SCRIPT, BTLOG_TYPE_SYSTEM,
and BTLOG_TYPE_ALL.
BSTR file_name [in]:
The file name to save the log to.
Errors:
BTEXERCISER_ERROR_FILE:
The file save failed. The error string will indicate the reason.
BTEXERCISER_ERROR_BUSY:
The application status is busy.
Requirements:
BTTrainer 2.01
2.2.4 ClearLog Method
HRESULT ClearLog( EBTLogType type )
Clears the specified log.
EBTLogType type [in]:
The type of log to retrieve. Valid values are
BTLOG_TYPE_SCRIPT,
BTLOG_TYPE_SYSTEM, and BTLOG_TYPE_ALL.
Errors:
BTEXERCISER_ERROR_BUSY:
The application status is busy.
Requirements: