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

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 150
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 19
TeledyneLeCroy SASAnalyzerObject
14 AutomationAPIforTeledyneLeCroySAS/SATAProtocolSuite
ISASAnalyzer::StartRecording
HRESULT StartRecording (
[in] BSTR ro_file_name );
Startsrecordingwithspecifiedrecordingoptions.
Parameters
ro_file_name Stringprovidingthefullpathnametotherecordingoptionsfile.Ifthe
parameterisomitted,thenrecordingstartswithdefaultrecording
options.
ReturnValues
ANALYZERCOMERROR_UNABLESTARTRECORDING Unabletostartrecording
Remarks
Afterrecordingstarts,thisfunctionwillreturn.TheAnalyzercontinuesrecordinguntilitis
finishedoruntiltheStopRecordingmethodcallisperformed.Duringrecording,events
aresenttotheeventsink(seetheISASAnalyzerInterface).
Therecordingoptionsfileisthefilewithextension.saccreatedbytheSAS/SATA
Protocol Suiteapplication.YoucancreatethisfilewhenyouselectFile–>Protocol
Analyzer…fromtheSASProtocolSuiteapplicationmenu,changetherecordingoptionsin
theProtocol Analyzerproject,andselecttheSave…button.
Example
VBScript:
<OBJECT
RUNAT=Server
ID = Analyzer
CLASSID = " clsid: 297CD804-08F5-4A4F-B3BA-779B2654B27C
"
>
</OBJECT>
<INPUT TYPE=TEXT VALUE="" NAME="TextRecOptions">
<SCRIPT LANGUAGE="VBScript">
<!--
Sub BtnStartRecording_OnClick
On Error Resume Next
Analyzer.StartRecording TextRecOptions.value
If Err.Number <> 0 Then
MsgBox Err.Number & ":" & Err.Description
End If
End Sub
-->
</SCRIPT>
C++:
Vista de pagina 19
1 2 ... 15 16 17 18 19 20 21 22 23 24 25 ... 149 150

Comentarios a estos manuales

Sin comentarios