Ipacket::gettimestamp – Teledyne LeCroy SAS_SATA Automation API manual User Manual

Page 103

Advertising
background image

 

Automation API for Teledyne LeCroy SAS/SATA Protocol Suite

97

SASPacket Object

Teledyne LeCroy

IPacket::GetTimestamp

HRESULT GetTimestamp (
[out, retval] double* timestamp

Returns the packet timestamp in nanoseconds.

Parameters

timestamp

Timestamp of the beginning symbol of the packet, from the start of 
recording

Return values

Remarks

Example

WSH:

Set Analyzer = WScript.CreateObject( “LeCroy.SASTracer”

)

Set Trace = Analyzer.MakeRecording( CurrentDir &

"Input\test_ro.sac" )

TriggerPacket = Trace. GetTriggerPacketNum
Set Packet = Trace.GetBusPacket(TriggerPacket)
MsgBox "Trigger packet at " & Packet.GetTimestamp & "

ns"

C++:

Advertising