Isasanalyzer ::setvselogmodetomultiplefile – Teledyne LeCroy SAS_SATA Automation API manual User Manual

Page 49

Advertising
background image

 

Automation API for Teledyne LeCroy SAS/SATA Protocol Suite

43

SASAnalyzer Object

Teledyne LeCroy

ISASAnalyzer ::SetVSELogModeToMultipleFile

HRESULT SetVSELogModeToMultipleFile (

[in] BSTR bstrLogFolderPath,
[out,retval] BOOL *pResult);

This function sets the folder path for saving log files from VSE script runs. 

Parameters

bstrLogFolderPath

String providing the folder path for the saved 

log file

Return Values

pResult

TRUE = Folder path set successfully.
FALSE = Could not set the folder path.

Remarks

Default value is retrieved from the VSE settings. Note that, after installation, the VSE 
settings have no value for the path. To have a default value, you must enter the value 
manually in the VSE settings.

If a value is set in the ATS script before this method is called, the method will override 
that setting. 
The folder path must exist. If the folder path does not exist, the method returns FALSE 
and shows the error in the ATS output.

Note: This function saves all log files into the directory specified by the function 
parameter. 

Example

VBScript:

Analyzer.SetVSELogModeToMultipleFile("D:\AvailableFolde

rPath\")

If Err.Number <> 0 Then
MsgBox Err.Number & ":" & Err.Description
End If

Advertising