Data Sheet
Teledyne LeCroy Automation API Reference Manual for USBTracer, USB Advisor, and Voyager USB Protocol
Suite
77
3.6 IusbTrace6 interface
The IUsbTrace6 interface is the sixth interface for the UsbTrace object. It inherits and extends some
trace-related functionality exposed via the IUsbTrace5 interface.
IID : A1F83FCC-265A-44E3-837F-42A8C27074C1
3.6.1 IUsbTrace6::IsLevelDecodeFinished
HRESULT IsLevelDecodeFinished(
[in] long level_id,
[out,retval] BOOL* decode_is_finished )
Retrieves progress status of decoding levels process. If level decoding is finished, returns true.
Parameters
level_id Desired level to retrieve decoding status like Transaction/Transfer
decode_is_finished Pointer to Boolean value that specifies decoding status
Return values
Remarks
After opening traces, decoding process of upper levels starts in background processes or through a
function call for higher levels. This decoding is time consuming process, however any other process on
desired level like transactions need to check of decoding finish before starting process.
The level ID parameter could be one of these values:
DECODE_LEVEL_PACKET = 0, // USB_TRA_LEVEL_PACKETS
DECODE_LEVEL_TRANSACTION = 1, // USB_TRA_LEVEL_TRANSACTIONS
DECODE_LEVEL_SPLIT = 2, // USB_TRA_LEVEL_SPLITS
DECODE_LEVEL_TRANSFER = 3, // USB_TRA_LEVEL_TRANSFERS
DECODE_LEVEL_PTP_TRANSACTION = 8, // USB_TRA_LEVEL_PTP_TRANSACTION
DECODE_LEVEL_PTP_OBJECT = 9, // USB_TRA_LEVEL_PTP_OBJECT
DECODE_LEVEL__PTP_SESSION = 10, // USB_TRA_LEVEL_PTP_SESSION
DECODE_LEVEL_SCSI = 11, // USB_TRA_LEVEL_SCSI_OPERATION
DECODE_LEVEL_PTP_GRP = 13, // USB_TRA_LEVEL_PTP_GROUP