beautypg.com

4 primary dual interface for packet, 1 iusbpacket interface, 1 iusbpacket::gettimestamp – Teledyne LeCroy USB Analyzer Automation Manual User Manual

Page 74: 2 iusbpacket::getduration, 3 iusbpacket::getspeed, Primary dual interface for packet, Iusbpacket interface, Iusbpacket::gettimestamp, Iusbpacket::getduration, Iusbpacket::getspeed

background image

Teledyne LeCroy Automation API Reference Manual for USBTracer, USB Advisor, and Voyager USB Protocol
Suite

74

4 Primary Dual Interface for Packet

4.1 IUsbPacket Interface

The IUsbPacket interface is the primary dual interface for the

UsbPacket object.


IID : C7D7C98D-6AB2-4a25-8235-CE2E1E7A5428

4.1.1 IUsbPacket::GetTimestamp


HRESULT GetTimestamp ( [out, retval] double* timestamp )


Gets the timestamp of packet in nanosecond.

Parameters

timestamp

Points to double value where timestamp is retrieved

Return values

Remarks


4.1.2 IUsbPacket::GetDuration


HRESULT GetDuration( [out, retval] double* duration )

Gets the duration of packet in nanosecond.

Parameters

duration

Points to double value where duration is retrieved

Return values

Remarks


4.1.3 IUsbPacket::GetSpeed