beautypg.com

Teledyne LeCroy Automation API for Teledyne LeCroy PETracer_PETrainer User Manual

Page 5

background image

Teledyne LeCroy

Automation API for PETracer/PETrainer

v

7.1.1

IPacket::GetTimestamp ....................................................................................................... 101

7.2

IPEPacket interface .................................................................................................................... 102

7.2.1

IPEPacket::GetPacketData ................................................................................................. 103

7.2.2

IPEPacket::GetLinkWidth .................................................................................................... 106

7.2.3

IPEPacket::GetStartLane .................................................................................................... 107

7.2.4

IPEPacket::GetLFSR ........................................................................................................... 108

7.2.5

IPEPacket::GetDirection ...................................................................................................... 109

7.2.6

IPEPacket::GetErrors .......................................................................................................... 110

8

PETraceErrors Object...................................................................................................................... 111

8.1

IAnalyzerErrors dispinterface ..................................................................................................... 111

8.1.1

IAnalyzerErrors::get_Item .................................................................................................... 112

8.1.2

IAnalyzerErrors::get_Count ................................................................................................. 113

9

PEVScriptEngine Object ................................................................................................................. 115

9.1

IVScriptEngine interface ............................................................................................................. 116

9.1.1

IVScriptEngine::VScriptName ............................................................................................. 117

9.1.2

IVScriptEngine::Tag ............................................................................................................ 118

9.1.3

IVScriptEngine::RunVScript ................................................................................................ 119

9.1.4

IVScriptEngine::RunVScriptEx ............................................................................................ 120

9.1.5

IVScriptEngine::LaunchVScript ........................................................................................... 122

9.1.6

IVScriptEngine::Stop ........................................................................................................... 123

9.1.7

IVScriptEngine::GetScriptVar .............................................................................................. 124

9.1.8

IVScriptEngine::SetScriptVar .............................................................................................. 126

10

PEVScriptEngine Object Events ................................................................................................. 128

10.1

_IVScriptEngineEvents interface ............................................................................................ 128

10.1.1

_IVScriptEngineEvents::OnVScriptReportUpdated............................................................. 131

10.1.2

_IVScriptEngineEvents::OnVScriptFinished ....................................................................... 132

10.1.3

_IVScriptEngineEvents::OnNotifyClient .............................................................................. 133

11

PEAnalyzer Object Events .......................................................................................................... 134

11.1

_IAnalyzerEvents dispinterface ............................................................................................... 134

11.1.1

_IAnalyzerEvents::OnTraceCreated.................................................................................... 135

11.1.2

_IAnalyzerEvents::OnStatusReport .................................................................................... 136

12

CATCAnalyzerAdapter ................................................................................................................. 139

12.1

IAnalyzerAdapter Interface ..................................................................................................... 140

12.1.1

IAnalyzerAdapter::CreateObject.......................................................................................... 140

12.1.2

IAnalyzerAdapter::Attach ..................................................................................................... 142

12.1.3

IAnalyzerAdapter::Detach ................................................................................................... 143

12.1.4

IAnalyzerAdapter::IsValidObject.......................................................................................... 145

13

Teledyne LeCroy Internal Interfaces .......................................................................................... 146

How to Contact Teledyne LeCroy .......................................................................................................... 147