Isasanalyzer:: loadpreemphasissignalfile, Isasanalyzer::settracefilename – Teledyne LeCroy SAS_SATA Automation API manual User Manual

Page 46

Advertising
background image

Teledyne LeCroy

SASAnalyzer Object

40

Automation API for Teledyne LeCroy SAS/SATA Protocol Suite

ISASAnalyzer:: LoadPreEmphasisSignalFile

HRESULT LoadPreEmphasisSignalFile(

[in] BSTR bstrPreEmphasisSignalFile,
[out, retval] pbRetval);

This function gets the file of pre emphasis signal and loads it to the board.

Parameters

bstrPreEmphasisSignalFile

Specifies the file name of pre emphasis signal.

Return Values

True if it loads the file successfully. False if it fails.

Remarks

The Pre emphasis dialog in the SAS/SATA software gives the probability of saving the 
signal settings into a file. By calling this function, you can load that file into the board 
without running the SAS/SATA software.

ISASAnalyzer::SetTraceFileName

HRESULT SetTraceFileName ([in] BSTR bstrTraceFileName)

This function sets the name of next running generated trace file.

Parameters

bstrTraceFileName

String providing the name of the trace file

Remarks

Calling this function sets the next running generated trace file name. If you do not call 
this function, then the trace file name will be the same as the Analyzer project file name. 

This function helps you create different trace files when you want to run a project several 
times with different settings (such as connection speed). Before any run, call this function 
to change the trace file name.

Example

VBScript:

Analyzer.SetTraceFileName("MyTrace")
If Err.Number <> 0 Then
MsgBox Err.Number & ":" & Err.Description
End If

Advertising