
TeledyneLeCroy SASAnalyzerObject
40 AutomationAPIforTeledyneLeCroySAS/SATAProtocolSuite
ISASAnalyzer:: LoadPreEmphasisSignalFile
HRESULT LoadPreEmphasisSignalFile(
[in] BSTR bstrPreEmphasisSignalFile,
[out, retval] pbRetval);
Thisfunctiongetsthefileofpreemphasissignalandloadsittotheboard.
Parameters
bstrPreEmphasisSignalFile Specifiesthefilenameofpreemphasissignal.
ReturnValues
Trueifitloadsthefilesuccessfully.Falseifitfails.
Remarks
ThePreemphasisdialogintheSAS/SATAsoftwaregivestheprobabilityofsavingthe
signalsettingsintoafile.Bycallingthisfunction,youcanloadthatfi leintotheboard
withoutrunningtheSAS/SATAsoftware.
ISASAnalyzer::SetTraceFileName
HRESULT SetTraceFileName ([in] BSTR bstrTraceFileName)
Thisfunctionsetsthenameofnextrunninggeneratedtracefile.
Parameters
bstrTraceFileName Stringprovidingthenameofthetracefile
Remarks
Callingthisfunctionsetsthenextrunninggeneratedtracefilename.Ifyoudonotcall
thisfunction,thenthetracefilenamewillbethesameastheAnalyzerprojectfilename.
Thisfunctionhelpsyoucreatedifferenttracefileswhenyouwanttorunaprojectseveral
timeswithdifferentsettings(suchasconnectionspeed).Beforeanyrun,callthisfunction
tochangethetracefilename.
Example
VBScript:
Analyzer.SetTraceFileName("MyTrace")
If Err.Number <> 0 Then
MsgBox Err.Number & ":" & Err.Description
End If
Comentarios a estos manuales