3 iusbanalyzer4::isusb3generationidle, 4 iusbanalyzer4::switchvbus, Iusbanalyzer4::isusb3generationidle – Teledyne LeCroy USB Analyzer Automation Manual User Manual
Page 38: Iusbanalyzer4::switchvbus
Teledyne LeCroy Automation API Reference Manual for USBTracer, USB Advisor, and Voyager USB Protocol
Suite
38
2.3.3 IUsbAnalyzer4::IsUsb3GenerationIdle
This method could be used to poll generation state after starting generation. The method returns status
of generation process. User may use this method to poll status of generation and go to next step
according to polling result.
Parameters
gen_idle
Pointer to boolean variable indicating generation is done or not.
Return values
ANALYZERCOMERROR_ANALYZERNOTCONNECTED
Analyzer is not connected
Remarks
A new method named as
WaitForUsb3GenerationIdle 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.4 IUsbAnalyzer4::SwitchVBus
This method provides facilty to switch on/off VBus in USB3 trainer without running any script.
Parameters
switch_off
if “1” switch off VBus, other switch on VBus.
Return values
ANALYZERCOMERROR_ANALYZERNOTCONNECTED
Analyzer is not connected
Remarks
HRESULT IsUsb3GenerationIdle ([
out
] VARIANT* gen_idle);
HRESULT SwitchVBus ( [
in
]
long
switch_off);