beautypg.com

2 ipepacket::getlinkwidth, Returns link width for this packet, Parameters – Teledyne LeCroy Automation API for Teledyne LeCroy PETracer_PETrainer User Manual

Page 111: Return values, Remarks, Example, Ipepacket::getlinkwidth

background image

Teledyne LeCroy

Automation API for PETracer/PETrainer

106

7.2.2 IPEPacket::GetLinkWidth


HRESULT GetLinkWidth (

[out, retval] long* width )


Returns link width for this packet.

Parameters

width

Link width for the packet

Return values


Remarks


Example


WSH:

CurrentDir = Left( WScript.ScriptFullName, InstrRev( WScript.ScriptFullName, “\” ) )
Set Analyzer = WScript.CreateObject( “CATC.PETracer” )
Set Trace = Analyzer.OpenFile( CurrentDir & "Input\errors.pex" )
Set Packet = Trace.GetBusPacket( 0 )
MsgBox "Link width: " & Packet.GetLinkWidth

C++: