Teledyne-lecroy Automation API for Bluetooth Analyzers Manual de usuario Pagina 21

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 110
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 20
15
Automation API for CATC Bluetooth Analyzers
CATC Ver. 1.40
2.3.7 IAnalyzer::StartRecording
Starts recording with specified recording options
Parameters
ro_file_name - string providing the full pathname to recording options file; if
the parameter is omitted then recording starts with default recording options
Return values
ANALYZERCOMERROR_EVENTSINKNOTINSTANTIATED - event sink was not instantiated
ANALYZERCOMERROR_UNABLESTARTRECORDING - unable to start recording
Remarks
After recording starts this function will return. Analyzer continues recording until it is fin-
ished or until “
StopRecording” method call is performed. During the recording the events are
send to event sink (see
_IAnalyzerEvents interface).
Recording options file is the file with extension .rec created by BTAnalyzer application.
You can create such file when you select “Setup – Recording Options…” from BTAna-
lyzer application menu, change the recording options in the appeared dialog and select
“Save…” button.
Example
VBScript:
<OBJECT
RUNAT=Server
ID = Analyzer
CLASSID = "clsid:0B179BB3-DC61-11d4-9B71-000102566088"
>
</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++:
IBTAnalyzer* bt_analyzer;
BSTR ro_file_name;
. . .
HRESULT StartRecording (
[in] BSTR ro_file_name );
Vista de pagina 20
1 2 ... 16 17 18 19 20 21 22 23 24 25 26 ... 109 110

Comentarios a estos manuales

Sin comentarios