Data Sheet
Teledyne LeCroy Automation API Reference Manual for USBTracer, USB Advisor, and Voyager USB Protocol
Suite
73
3.3 IUsbTrace3 interface
The IUsbTrace3 interface is the third interface for the UsbTrace object. It inherits and extends some
trace-related functionality exposed via the IUsbTrace3 interface.
IID : 4DA2A987-47B3-4384-BFA8-2052326FBE0E
3.3.1 IUsbTrace3:: GetPowerInfoByTime
HRESULT GetPowerInfoByTime (
[in] double time,
[out] VARIANT* voltage,
[out] VARIANT* current,
[out] VARIANT* power,
[out,retval] BOOL* power_info_is_valid );
Returns voltage, current, and power values based on a time in nanoseconds.
Parameters
time timestamp in nanoseconds
voltage voltage in microvolts
current current in microamps
power power in microwatts.
Return values
BOOL TRUE if power values were recorded at the time.
Remarks
3.3.2 IUsbTrace3:: GetPowerInfoByPacket
HRESULT GetPowerInfoByPacket (
[in] long packet_number,
[out] VARIANT* voltage,
[out] VARIANT* current,
[out] VARIANT* power,
[out,retval] BOOL* power_info_is_valid );
Returns voltage, current, and power values based on a packet number..
Parameters
packet_number Packet number in the trace file