Teledyne-lecroy FireInspector Automation Application Programming I Uživatelský manuál Strana 20

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 92
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 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)
Zobrazit stránku 19
1 2 ... 15 16 17 18 19 20 21 22 23 24 25 ... 91 92

Komentáře k této Příručce

Žádné komentáře