Teledyne-lecroy SAS_SATA Tracer_Trainer Automation API Manual Manual do Utilizador Página 18

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 94
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 17
LeCroy Corporation Automation API for SAS/SATATracer/Trainer Manual Version 1.11
18
3.1.6 ISASAnalyzer::StopRecording
HRESULT StopRecording (
[in] BOOL abort_upload );
Stops recording started by the ISASAnalyzer::StartRecording
method.
Parameters
abort_upload TRUE, if the caller wants to abort the upload. No trace file is created.
FALSE, if the caller want to upload the recorded trace.
Return values
ANALYZERCOMERROR_UNABLESTOPRECORDING -
error stopping recording
Remarks
Stops recording started by the StartRecording method. The event is issued when
recording is actually stopped (by the ISASAnalyzer
interface), if the parameter of method
call was FALSE.
Example (for SASTracer)
VBScript:
<OBJECT
RUNAT=Server
ID = Analyzer
CLASSID = "clsid: 0B179BB7-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++:
ISASAnalyzer* sas_analyzer;
. . .
try
{
sas_analyzer->StopRecording( FALSE )
}
catch (_com_error& er)
{
if (er.Description().length() > 0)
::MessageBox( NULL, er.Description(), _T("SASTracer client"), MB_OK );
else
::MessageBox( NULL, er.ErrorMessage(), _T("SASTracer client"), MB_OK );
return 1;
}
Vista de página 17
1 2 ... 13 14 15 16 17 18 19 20 21 22 23 ... 93 94

Comentários a estes Manuais

Sem comentários