Teledyne-lecroy FireInspector Automation Application Programming I Instrukcja Użytkownika Strona 20

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 92
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 19
16
FireInspector Automation User’s Manual
CATC Version 1.0
2.3.7 IAnalyzer::StopRecording
Stops recording started by StartRecording method.
Syntax
HRESULT StopRecording (
[in] BOOL abort_upload );
Parameters
abort_uploadTRUE, if caller wants to abort upload, no trace file will be created,
FALSE if want to upload recorded trace
Return values
ANALYZERCOMERROR_EVENTSINKNOTINSTANTIATEDevent sink was not
instantiated
ANALYZERCOMERROR_UNABLESTOPRECORDINGerror stopping recording
Remarks
Stops recording started by
'StartRecording' method. The event will be issued when
recording is actually stopped (via _IAnalyzerEvents
interface), if the parameter of
method call was FALSE.
Example
VBScript:
<OBJECT
RUNAT=Server
ID = Analyzer
CLASSID = "clsid:0B179BC1-DC61-11D4-9B71-000102566088"
>
</OBJECT>
<SCRIPT LANGUAGE="VBScript">
<!--
Sub BtnStopRecording_OnClick
On Error Resume Next
Analyzer.StopRecording True
If Err.Number <> 0 Then
MsgBox Err.Number & ":" & Err.Description
End If
End Sub
-->
</SCRIPT>
C++:
IFwAnalyzer* fw_analyzer;
. . .
try
{
fw_analyzer->StopRecording( FALSE )
}
catch ( _com_error& er)
Przeglądanie stron 19
1 2 ... 15 16 17 18 19 20 21 22 23 24 25 ... 91 92

Komentarze do niniejszej Instrukcji

Brak uwag