Teledyne-lecroy SAS_SATA Automation API manual Manual de usuario Pagina 46

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 150
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 45
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
Vista de pagina 45
1 2 ... 41 42 43 44 45 46 47 48 49 50 51 ... 149 150

Comentarios a estos manuales

Sin comentarios