Teledyne-lecroy SAS_SATA Tracer_Trainer Automation API Manual Uživatelský manuál Strana 61

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 94
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 60
LeCroy Corporation Automation API for SAS/SATATracer/Trainer Manual Version 1.11
61
6.1 IPacket Interface
The IPacket interface is a dual interface for the SASPacket object.
IPacket implements the following method:
GetTimestamp
Note: All methods of the IPacket interface are also available in the ISASPacket interface
.
6.1.1 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.rec" )
TriggerPacket = Trace. GetTriggerPacketNum
Set Packet = Trace.GetBusPacket(TriggerPacket)
MsgBox "Trigger packet at " & Packet.GetTimestamp & " ns"
C++:
Zobrazit stránku 60
1 2 ... 56 57 58 59 60 61 62 63 64 65 66 ... 93 94

Komentáře k této Příručce

Žádné komentáře