Irecoptions::settracefilename – Teledyne LeCroy SAS_SATA Automation API manual User Manual
Page 100
Advertising
Teledyne LeCroy
SASRecOptions Object
94
Automation API for Teledyne LeCroy SAS/SATA Protocol Suite
IRecOptions::SetTraceFileName
HRESULT SetTraceFileName (
[in] BSTR file_name );
Sets the file path to where the trace will be stored after recording.
Parameters
file_name
String that provides the full file pathname to where the recording
will be stored
Return Value
Remarks
If the specified file does not exist, it will be created. If it exists, it will be overwritten.
Example
WSH:
CurrentDir = Left(WScript.ScriptFullName,
InstrRev(WScript.ScriptFullName, "\"))
Set Analyzer =
WScript.CreateObject("LeCroy.SASAnalyzer")
Set RecOptions = Analyzer.GetRecordingOptions
' Do the changes of recording options here.
RecOptions.Save( CurrentDir & "Input\trace.sas" )
C++:
Advertising