Data Sheet

Teledyne LeCroy Automation API Reference Manual for USBTracer, USB Advisor, and Voyager USB Protocol
Suite
39
2.3 IUsbAnalyzer4 interface
The IUsbAnalyzer4 interface is the forth interface for the UsbAnalyzer object. It inherits and extends
some analyzer-related functionality exposed via the IUsbAnalyzer interface.
IID : D793E9EE-58EE-4237-9D2A-41DBB61DCDF8
2.3.1 IUsbAnalyzer4::GetRecordingStatus
HRESULT GetRecordingStatus (
[out] VARIANT* is_trigged,
[out] VARIANT* is_done);
This method could be used to poll recording state of analyzer after recording start. The method returns
useful running state information like happening trigger condition and recording finish. User may use this
method to poll status of recording and go to next step according to polling result.
Parameters
is_trigged Pointer to boolean variable indicating analyzer triggered or not.
is_done Pointer to boolean variable indicating recording process is finished or not
Return values
ANALYZERCOMERROR_ANALYZERNOTCONNECTED Analyzer is not connected
Remarks
A new method named as WaitForRecordingStatus is added to Anlyzer interface that could be used
instead of this method. The new method doesn’t block software normal operation and recommended to
use new method.
2.3.2 IUsbAnalyzer4::ResetUsb3Trainer
HRESULT ResetUsb3Trainer ([in] int is_device_mode);
This method reset and initialize analyzer unit in “Host” trainer or “Device” trainer modes without runnig
any script.
Parameters
is_device_mode Specify desired mode.
“1” for “Device” mode, “0” for “Host mode
Return values
ANALYZERCOMERROR_ANALYZERNOTCONNECTED Analyzer is not connected
Remarks