8 irecoptions::settracefilename – Teledyne LeCroy SAS_SATA Tracer_Trainer Automation API Manual User Manual

Page 57

Advertising
background image

LeCroy Corporation

Automation API for SAS/SATATracer/Trainer

Manual Version 1.11

57

5.1.8 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 values

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.sat" )

C++:




Advertising