
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++:
Comentários a estes Manuais