Data Sheet

Teledyne LeCroy Automation API Reference Manual for USBTracer, USB Advisor, and Voyager USB Protocol
Suite
79
3.7 IUsbTrace7 Interface
The IUsbTrace7 interface is an additional interface for the UsbTrace object. It inherits and extends some
trace-related functionality exposed via the IUsbTrace6 interface.
IID: F3260A83-8F86-4356-81DC-D9B880E1293E
3.7.1 IUsbTrace7::GetPacketEx
HRESULT GetPacketEx ( [in] hyper packet_number, [in, out] VARIANT* packet,
[out, retval] long* number_of_bits )
Retrieves a raw packet in the PACKETFORMAT_BYTES format. It accepts 64 bits packet number. It is
ITrace::GetPacket method extension.
Parameters
packet_number Zero based number of packet to retrieve. It is a 64 bits integer.
packet Raw packet representation
number_of_bits Number of bits in the raw packet representation
Return values
ANALYZERCOMERROR_INVALIDPACKETNUMBER Specified packet number is invalid
Remarks
packet parameter has VT_ARRAY | VT_VARIANT actual automation type. Each elements of this array
has the VT_UI1 automation type.
3.7.2 IUsbTrace7:: GetPacketsCountEx
HRESULT GetPacketsCountEx ( [out, retval] hyper* number_of_packets )
Retrieves the total number of packets in the trace. Number of packets can be a 64 bits integer. It is
ITrace::GetPacketsCount method extension.
Parameters
number_of_packets Total number of packets in the trace
Return values
Remarks