beautypg.com

4 petrace object, Petrace object represents the recorded trace file, Petrace object – Teledyne LeCroy Automation API for Teledyne LeCroy PETracer_PETrainer User Manual

Page 32

background image

Teledyne LeCroy

Automation API for PETracer/PETrainer

27

4 PETrace Object


PETrace

object represents the recorded trace file.


The PETrace

object allows user to:

• Get trace information

• Access trace packets
• Access trace errors

• Save/export the trace or a portion of the trace


The PETrace object can be created by:

• Using IAnalyzer::OpenFile method (see Page 7)
• Using IAnalyzer::MakeRecording method (see Page 13)

• Handling _IAnalyzerEvents::OnTraceCreated event (see Page 120)

The PETrace

object supports the following interfaces:

Interfaces

Description

ITrace

Implements trace packets and trace errors access, different
report types, export, and saving.

IPETrace

Extends ITrace interface:
Adds the functionality for accessing the PETracePacket
object.

IPEVerificationScript

Exposes the functionality for running verification scripts


The IPETrace interface is a primary interface for the PETrace object.