5 ianalyzer::startrecording, Parameters, Return values – Teledyne LeCroy Automation API for Teledyne LeCroy PETracer_PETrainer User Manual
Page 15: Remarks, Example, Sub btnstartrecording_onclick, Ianalyzer::startrecording
Teledyne LeCroy
Automation API for PETracer/PETrainer
10
3.1.5 IAnalyzer::StartRecording
HRESULT StartRecording (
[in] BSTR ro_file_name )
Starts recording with the specified recording options.
Parameters
ro_file_name
String providing the full pathname to the recording options file; if the
parameter is omitted, then recording starts with default recording
options
Return values
ANALYZERCOMERROR_UNABLESTARTRECORDING
Unable to start recording
Remarks
After recording starts, this function returns. The analyzer continues recording until it is finished or until
the StopRecording method call is performed. During the recording, the events are sent to event sink (see the
_IAnalyzerEvents
interface, Page 119).
The recording options file is the file with extension .rec created by the PETracer application. You can
create this file when you select “Setup -> Recording Options…” from the PETracer application menu, change
the settings in the “Recording Options” dialog box, and then select the “Save…” button.
Example
VBScript: