Teledyne-lecroy FireInspector Automation Application Programming I Instrukcja Użytkownika Strona 50

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 92
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 49
46
FireInspector Automation User’s Manual
CATC Version 1.0
2.4.11 ITrace::GetTriggerPacketNum
Retrieves trigger packet number.
Syntax
HRESULT GetTriggerPacketNum (
[out, retval] long* packet_number );
Parameters
packet_numberpoints to long value where trigger packet number is retrieved
Return values
Remarks
Example
WSH:
CurrentDir = Left(WScript.ScriptFullName,
InstrRev(WScript.ScriptFullName, "\"))
Set Analyzer = WScript.CreateObject("CATC.FwAnalyzer")
Set Trace = Analyzer.MakeRecording (CurrentDir &
"Input\test_ro.rec")
TriggerPacket = Trace.GetTriggerPacketNum
Trace.Save CurrentDir & "Output\trigger_portion.fdb",
CInt(ErrorPacket)-5, CInt(ErrorPacket)+5
Trace.ExportToText CurrentDir &
"Output\trigger_portion.txt", CInt(ErrorPacket)-5,
CInt(ErrorPacket)+5
C++:
See an example for “ITrace::GetPacketsCount” on page 44.
Przeglądanie stron 49
1 2 ... 45 46 47 48 49 50 51 52 53 54 55 ... 91 92

Komentarze do niniejszej Instrukcji

Brak uwag