Isasanalyzer ::setvselogmodetosinglefile – Teledyne LeCroy SAS_SATA Automation API manual User Manual
Page 50
Teledyne LeCroy
SASAnalyzer Object
44
Automation API for Teledyne LeCroy SAS/SATA Protocol Suite
ISASAnalyzer ::SetVSELogModeToSingleFile
HRESULT SetVSELogModeToSingleFile (
[in] BSTR bstrLogFilePath,
[out,retval] BOOL *pResult);
This function set mode to save all logs for VSE scripts in single file and set the file log
path.
Parameters
bstrLogFolderPath
String providing the folder path for the save log
file
Return Values
pResult
TRUE = file path set successfully.
FALSE = could not set the file path.
Remarks
Default value is retrieve from VSE setting. It will over ride any other log setting if there is
any on the ATS script before this method. The folder path must exist, and the file name
should be valid otherwise the method return false and show the error in the ATS output.
Example
VBScript:
Analyzer.SetVSELogModeToSingleFile("D:\VSELogFileName.
log")
If Err.Number <> 0 Then
MsgBox Err.Number & ":" & Err.Description
End If