beautypg.com

6 iuwbanalyzer::startrecording, Iuwbanalyzer::startrecording – Teledyne LeCroy UWBTracer Automation Manual User Manual

Page 15

background image

LeCroy

UWBTracer Automation API Reference Manual

Manual Version 3.02

11

3.1.6 IUwbAnalyzer::StartRecording


HRESULT StartRecording (

[in] BSTR ro_file_name );

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_UNABLESTARTRECORDING

unable to start recording

Remarks

This function returns after recording starts. The Analyzer continues recording until it finishes or until either
the “StopRecording” or "StopRecordingAndWaitForTrace" method call is performed. During the
recording, the events are sent to event sink (see the _IAnalyzerEvents interface section).

Recording options file is the file with extension .rec created by the UWBTracer application. You can
create such a file when you select Setup – Recording Options… from the UWBTracer application menu,
change the recording options in the dialog, and select the Save button.