Teledyne-lecroy Verification Script Engine (VSE) Manual Uživatelský manuál

Procházejte online nebo si stáhněte Uživatelský manuál pro Zařízení Teledyne-lecroy Verification Script Engine (VSE) Manual. Teledyne LeCroy Verification Script Engine (VSE) Manual User Manual Uživatelská příručka

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 115
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 0
PROTOCOL SOLUTIONS GROUP
3385 SCOTT BLVD
SANTA CLARA, CA 95054
Verification Script Engine
for
Teledyne LeCroy USB Protocol Suite
Reference Manual
Manual Version 2.1
For USB Protocol Suite version 4.70 and above
July 2013
Zobrazit stránku 0
1 2 3 4 5 6 ... 114 115

Shrnutí obsahu

Strany 1 - Reference Manual

PROTOCOL SOLUTIONS GROUP 3385 SCOTT BLVD SANTA CLARA, CA 95054 Verification Script Engine for Teledyne LeCroy USB Protocol Suite™ Reference

Strany 2 - Copyright

Teledyne LeCroy Verification Script Engine Reference Manual Page 10 of 115 3 Interaction between Application and Verification Script The f

Strany 3 - Contents

Teledyne LeCroy Verification Script Engine Reference Manual Page 100 of 115 20.4 OpenTraceFile() This function opens a trace file in the a

Strany 4

Teledyne LeCroy Verification Script Engine Reference Manual Page 101 of 115 21 COM/Automation Communication Functions This group of functi

Strany 5

Teledyne LeCroy Verification Script Engine Reference Manual Page 102 of 115 22 User Input Functions 22.1 MsgBox() Displays a message in

Strany 6 - 1 Introduction

Teledyne LeCroy Verification Script Engine Reference Manual Page 103 of 115 Return Values: This function returns an integer value indicatin

Strany 7

Teledyne LeCroy Verification Script Engine Reference Manual Page 104 of 115 22.2 InputBox() Displays a prompt in a dialog box, waits for t

Strany 8

Teledyne LeCroy Verification Script Engine Reference Manual Page 105 of 115 Note: Although the dialog box input text parser tries to determi

Strany 9

Teledyne LeCroy Verification Script Engine Reference Manual Page 106 of 115 22.3 GetUserDlgLimit() This function returns the current limit

Strany 10

Teledyne LeCroy Verification Script Engine Reference Manual Page 107 of 115 22.4 SetUserDlgLimit() This function sets the current limit of

Strany 11 - Application

Teledyne LeCroy Verification Script Engine Reference Manual Page 108 of 115 23 String Manipulation/Formating Functions 23.1 FormatEx()

Strany 12

Teledyne LeCroy Verification Script Engine Reference Manual Page 109 of 115 Remarks: A conversion specification begins with a percent sign

Strany 13

Teledyne LeCroy Verification Script Engine Reference Manual Page 11 of 115 OnStartScript() Starting VSE running … Verification Script Call

Strany 14

Teledyne LeCroy Verification Script Engine Reference Manual Page 110 of 115 24 Miscellaneous Functions 24.1 ScriptForDisplayOnly() Spec

Strany 15

Teledyne LeCroy Verification Script Engine Reference Manual Page 111 of 115 24.2 Sleep() Asks VSE not to send any events to a script until

Strany 16 - 4.2 VSE GUI Settings

Teledyne LeCroy Verification Script Engine Reference Manual Page 112 of 115 24.3 ConvertToHTML() This function replaces spaces with "

Strany 17

Teledyne LeCroy Verification Script Engine Reference Manual Page 113 of 115 24.4 Pause() Pauses script running. Later, script execution ca

Strany 18

Teledyne LeCroy Verification Script Engine Reference Manual Page 114 of 115 25 The Important VSE Script Files The VSE working files are lo

Strany 19

Teledyne LeCroy Verification Script Engine Reference Manual Page 115 of 115 26 How to Contact Teledyne LeCroy Type of Service Contract Cal

Strany 20

Teledyne LeCroy Verification Script Engine Reference Manual Page 12 of 115 4 Running Verification Scripts from Application To run a verifi

Strany 21

Teledyne LeCroy Verification Script Engine Reference Manual Page 13 of 115 The Run verification scripts dialog opens where you choose then r

Strany 22

Teledyne LeCroy Verification Script Engine Reference Manual Page 14 of 115 4.1 Running Verification Scripts Push the button Run scripts af

Strany 23

Teledyne LeCroy Verification Script Engine Reference Manual Page 15 of 115 Right-clicking the script list displays some additional operation

Strany 24

Teledyne LeCroy Verification Script Engine Reference Manual Page 16 of 115 4.2 VSE GUI Settings After choosing Settings, the following di

Strany 25

Teledyne LeCroy Verification Script Engine Reference Manual Page 17 of 115 5 Verification Script Engine Input Context Members All verifica

Strany 26

Teledyne LeCroy Verification Script Engine Reference Manual Page 18 of 115 5.2 Trace Event-dependent Set of Members This set of members i

Strany 27

Teledyne LeCroy Verification Script Engine Reference Manual Page 19 of 115 Vbus Power parameter values: in.Power: The value of Vbus power a

Strany 28

Teledyne LeCroy Verification Script Engine Reference Manual Page 2 of 115 Document Disclaimer The information contained in this document has

Strany 29 - 1 = Device-to-host

Teledyne LeCroy Verification Script Engine Reference Manual Page 20 of 115 5.2.1.1 USB Bus Condition-specific Set of Members Note: Valid fo

Strany 30

Teledyne LeCroy Verification Script Engine Reference Manual Page 21 of 115 5.2.1.2 USB2 Packet-specific Set of Members Note: Valid for USB

Strany 31

Teledyne LeCroy Verification Script Engine Reference Manual Page 22 of 115 5.2.1.2.1 USB2 Token Packet Members in.Addr: Value of the Addre

Strany 32

Teledyne LeCroy Verification Script Engine Reference Manual Page 23 of 115 5.2.1.2.5 Link Power Management Extended Token Members in.HIRD:

Strany 33

Teledyne LeCroy Verification Script Engine Reference Manual Page 24 of 115 5.2.1.3 USB3 Packet-specific Set of Members Note 1: Valid for U

Strany 34

Teledyne LeCroy Verification Script Engine Reference Manual Page 25 of 115 5.2.1.3.5 Link Command Packet Members in.LnkCmd: Index of the

Strany 35 - 7.1 Packet Level Events

Teledyne LeCroy Verification Script Engine Reference Manual Page 26 of 115 5.2.1.3.10 Transaction Packet Members in.SubType: SubType valu

Strany 36

Teledyne LeCroy Verification Script Engine Reference Manual Page 27 of 115 5.2.1.3.12 Getting Values of the Fields not present in Input Co

Strany 37 - 7.4 Transfer Level Events

Teledyne LeCroy Verification Script Engine Reference Manual Page 28 of 115 # Hex Value val = GetHexPktField ( "NumP&q

Strany 38 - 8 Sending Functions

Teledyne LeCroy Verification Script Engine Reference Manual Page 29 of 115 5.2.2 Transaction-specific Set of Members in.TraToken: Token PID

Strany 39 - 8.2 SendLevelOnly()

Teledyne LeCroy Verification Script Engine Reference Manual Page 3 of 115 Contents 1 INTRODUCTION ...

Strany 40 - 8.3 DontSendLevel()

Teledyne LeCroy Verification Script Engine Reference Manual Page 30 of 115 in.Split: Signals that the transaction is a start-split or comple

Strany 41 - 8.4 SendChannel()

Teledyne LeCroy Verification Script Engine Reference Manual Page 31 of 115 5.2.3 Split Transaction-specific Set of Members All the input co

Strany 42 - 8.5 SendChannelOnly()

Teledyne LeCroy Verification Script Engine Reference Manual Page 32 of 115 5.2.4 Transfer-specific Set of Members in.XferType: Type of tra

Strany 43 - 8.6 DontSendChannel()

Teledyne LeCroy Verification Script Engine Reference Manual Page 33 of 115 6 Verification Script Engine Output Context Members All verific

Strany 44 - 8.7 SendAllChannels()

Teledyne LeCroy Verification Script Engine Reference Manual Page 34 of 115 7 Verification Script Engine Events VSE defines a large group o

Strany 45 - 8.8 SendTraceEvent()

Teledyne LeCroy Verification Script Engine Reference Manual Page 35 of 115 7.1 Packet Level Events The table below describes the current l

Strany 46 - 8.9 DontSendTraceEvent()

Teledyne LeCroy Verification Script Engine Reference Manual Page 36 of 115

Strany 47 - 8.10 SendTraceEventOnly()

Teledyne LeCroy Verification Script Engine Reference Manual Page 37 of 115 7.2 Transaction Level Events The table below describes the curr

Strany 48 - 8.11 SendAllTraceEvents()

Teledyne LeCroy Verification Script Engine Reference Manual Page 38 of 115 8 Sending Functions This topic contains information about the

Strany 49 - 8.12 SendDirection()

Teledyne LeCroy Verification Script Engine Reference Manual Page 39 of 115 8.2 SendLevelOnly() This function specifies that ONLY events of

Strany 50

Teledyne LeCroy Verification Script Engine Reference Manual Page 4 of 115 9.1 GETDECODEDPKTFIELD() ...

Strany 51 - 8.14 SendUsb2TokenPackets()

Teledyne LeCroy Verification Script Engine Reference Manual Page 40 of 115 8.3 DontSendLevel() This function specifies that events of a sp

Strany 52 - 8.15 SendUsb2DataPackets ()

Teledyne LeCroy Verification Script Engine Reference Manual Page 41 of 115 8.4 SendChannel() This function specifies that events on the sp

Strany 53 - 8.16 SendUsb2HskPackets()

Teledyne LeCroy Verification Script Engine Reference Manual Page 42 of 115 8.5 SendChannelOnly() This function specifies that ONLY events

Strany 54 - 8.17 SendTransaction()

Teledyne LeCroy Verification Script Engine Reference Manual Page 43 of 115 8.6 DontSendChannel() This function specifies that events occur

Strany 55 - 8.18 SendTransfer()

Teledyne LeCroy Verification Script Engine Reference Manual Page 44 of 115 8.7 SendAllChannels() This function specifies that events occur

Strany 56 - 8.19 SendPktsWithBadCRC()

Teledyne LeCroy Verification Script Engine Reference Manual Page 45 of 115 8.8 SendTraceEvent() This function specifies the events to be s

Strany 57 - 9.1 GetDecodedPktField()

Teledyne LeCroy Verification Script Engine Reference Manual Page 46 of 115 8.9 DontSendTraceEvent() This function specifies that the event

Strany 58 - 9.2 GetHexPktField()

Teledyne LeCroy Verification Script Engine Reference Manual Page 47 of 115 8.10 SendTraceEventOnly() This function specifies that ONLY the

Strany 59 - 9.3 GetDecodedScriptField()

Teledyne LeCroy Verification Script Engine Reference Manual Page 48 of 115 8.11 SendAllTraceEvents() This function specifies that ALL trac

Strany 60 - 9.4 GetHexScriptField()

Teledyne LeCroy Verification Script Engine Reference Manual Page 49 of 115 8.12 SendDirection() This function specifies more precise tunin

Strany 61 - 10 Timer Functions

Teledyne LeCroy Verification Script Engine Reference Manual Page 5 of 115 19.1 OPENFILE() ...

Strany 62 - 10.2 SetTimer()

Teledyne LeCroy Verification Script Engine Reference Manual Page 50 of 115 8.13 SendUsb2BusConditions() This function specifies more preci

Strany 63 - 10.3 KillTimer()

Teledyne LeCroy Verification Script Engine Reference Manual Page 51 of 115 8.14 SendUsb2TokenPackets() This function specifies more precis

Strany 64 - 10.4 GetTimerTime()

Teledyne LeCroy Verification Script Engine Reference Manual Page 52 of 115 8.15 SendUsb2DataPackets () This function specifies more precis

Strany 65 - 11.1 Time()

Teledyne LeCroy Verification Script Engine Reference Manual Page 53 of 115 8.16 SendUsb2HskPackets() This function specifies more precise

Strany 66 - 12.1 AddTime()

Teledyne LeCroy Verification Script Engine Reference Manual Page 54 of 115 8.17 SendTransaction() This function works on the Transaction l

Strany 67 - 12.2 SubtractTime()

Teledyne LeCroy Verification Script Engine Reference Manual Page 55 of 115 8.18 SendTransfer() This function works on the Transfer level a

Strany 68 - 12.3 MulTimeByInt()

Teledyne LeCroy Verification Script Engine Reference Manual Page 56 of 115 8.19 SendPktsWithBadCRC() This function instructs VSE to send pa

Strany 69 - 12.4 DivTimeByInt()

Teledyne LeCroy Verification Script Engine Reference Manual Page 57 of 115 9 Packet and Script Decoded Fields Retrieving Functions This g

Strany 70 - 13 Time Logical Functions

Teledyne LeCroy Verification Script Engine Reference Manual Page 58 of 115 9.2 GetHexPktField() Extracts the raw hexadecimal value of the

Strany 71 - 13.2 IsLessTime()

Teledyne LeCroy Verification Script Engine Reference Manual Page 59 of 115 9.3 GetDecodedScriptField() Extracts information about the scr

Strany 72 - 13.3 IsGreaterTime()

Teledyne LeCroy Verification Script Engine Reference Manual Page 6 of 115 1 Introduction This document describes the Teledyne LeCroy USB

Strany 73 - 13.4 IsTimeInInterval()

Teledyne LeCroy Verification Script Engine Reference Manual Page 60 of 115 9.4 GetHexScriptField() Extracts the raw hexadecimal value of t

Strany 74 - 14 Time Text Functions

Teledyne LeCroy Verification Script Engine Reference Manual Page 61 of 115 10 Timer Functions This group of functions covers VSE capabilit

Strany 75 - 15 Output Functions

Teledyne LeCroy Verification Script Engine Reference Manual Page 62 of 115 10.2 SetTimer() Starts a timing calculation from the event at w

Strany 76 - 15.2 EnableOutput()

Teledyne LeCroy Verification Script Engine Reference Manual Page 63 of 115 10.3 KillTimer() Stops a timing calculation for a specific time

Strany 77 - 15.3 DisableOutput()

Teledyne LeCroy Verification Script Engine Reference Manual Page 64 of 115 10.4 GetTimerTime() Retrieves a timing interval from the specif

Strany 78 - 16 Information Functions

Teledyne LeCroy Verification Script Engine Reference Manual Page 65 of 115 11 Time Construction Functions This group of functions is used

Strany 79 - 16.2 GetScriptName()

Teledyne LeCroy Verification Script Engine Reference Manual Page 66 of 115 12 Time Calculation Functions This group of functions covers VS

Strany 80 - 16.3 GetApplicationFolder()

Teledyne LeCroy Verification Script Engine Reference Manual Page 67 of 115 12.2 SubtractTime() Subtracts two VSE time objects. Format: Su

Strany 81 - 16.4 GetCurrentTime()

Teledyne LeCroy Verification Script Engine Reference Manual Page 68 of 115 12.3 MulTimeByInt() Multiplies a VSE time object by an integer

Strany 82 - 16.5 GetTraceStartTime()

Teledyne LeCroy Verification Script Engine Reference Manual Page 69 of 115 12.4 DivTimeByInt() Divides a VSE time object by an integer val

Strany 83 - 16.6 GetTraceEndTime()

Teledyne LeCroy Verification Script Engine Reference Manual Page 7 of 115 2 Verification Script Structure Writing verification scripts is

Strany 84 - 17 Power Tracker Functions

Teledyne LeCroy Verification Script Engine Reference Manual Page 70 of 115 13 Time Logical Functions This group of functions covers VSE ca

Strany 85 - 17.2 GetPwrPowerValue()

Teledyne LeCroy Verification Script Engine Reference Manual Page 71 of 115 13.2 IsLessTime() Verifies that one VSE time object is less tha

Strany 86 - 17.3 GetPwrVoltageValue()

Teledyne LeCroy Verification Script Engine Reference Manual Page 72 of 115 13.3 IsGreaterTime() Verifies that one VSE time object is great

Strany 87 - 17.4 GetPwrCurrentValue()

Teledyne LeCroy Verification Script Engine Reference Manual Page 73 of 115 13.4 IsTimeInInterval() Verifies that a VSE time object is grea

Strany 88 - 18 Navigation Functions

Teledyne LeCroy Verification Script Engine Reference Manual Page 74 of 115 14 Time Text Functions This group of functions covers VSE capab

Strany 89 - 18.2 SetMarker()

Teledyne LeCroy Verification Script Engine Reference Manual Page 75 of 115 15 Output Functions This group of functions covers VSE capabili

Strany 90 - 19 File Functions

Teledyne LeCroy Verification Script Engine Reference Manual Page 76 of 115 15.2 EnableOutput() Enables showing information in the output w

Strany 91 - 19.1 OpenFile()

Teledyne LeCroy Verification Script Engine Reference Manual Page 77 of 115 15.3 DisableOutput() Disables showing information in the output

Strany 92 - 19.2 CloseFile()

Teledyne LeCroy Verification Script Engine Reference Manual Page 78 of 115 16 Information Functions 16.1 GetTraceName() This function

Strany 93 - 19.3 WriteString()

Teledyne LeCroy Verification Script Engine Reference Manual Page 79 of 115 16.2 GetScriptName() This function returns the name of the veri

Strany 94 - 19.4 Write()

Teledyne LeCroy Verification Script Engine Reference Manual Page 8 of 115 ##################################################################

Strany 95 - 19.5 ShowInBrowser()

Teledyne LeCroy Verification Script Engine Reference Manual Page 80 of 115 16.3 GetApplicationFolder() This function returns the full path

Strany 96

Teledyne LeCroy Verification Script Engine Reference Manual Page 81 of 115 16.4 GetCurrentTime() This function returns the string represen

Strany 97 - 20.1 CreateTraceFile()

Teledyne LeCroy Verification Script Engine Reference Manual Page 82 of 115 16.5 GetTraceStartTime() This function returns the VSE Time obj

Strany 98 - 20.2 CloseTraceFile()

Teledyne LeCroy Verification Script Engine Reference Manual Page 83 of 115 16.6 GetTraceEndTime() This function returns the VSE Time objec

Strany 99 - 20.3 AddEventToTraceFile()

Teledyne LeCroy Verification Script Engine Reference Manual Page 84 of 115 17 Power Tracker Functions This functions can be used to retrie

Strany 100 - 20.4 OpenTraceFile()

Teledyne LeCroy Verification Script Engine Reference Manual Page 85 of 115 17.2 GetPwrPowerValue() This function returns the captured val

Strany 101 - 21.1 NotifyClient()

Teledyne LeCroy Verification Script Engine Reference Manual Page 86 of 115 17.3 GetPwrVoltageValue() This function returns the captured v

Strany 102 - 22 User Input Functions

Teledyne LeCroy Verification Script Engine Reference Manual Page 87 of 115 17.4 GetPwrCurrentValue() This function returns the captured v

Strany 103

Teledyne LeCroy Verification Script Engine Reference Manual Page 88 of 115 18 Navigation Functions 18.1 GotoEvent() This function force

Strany 104 - 22.2 InputBox()

Teledyne LeCroy Verification Script Engine Reference Manual Page 89 of 115 18.2 SetMarker() This function sets a marker for some trace eve

Strany 105

Teledyne LeCroy Verification Script Engine Reference Manual Page 9 of 115 ##################################################################

Strany 106 - 22.3 GetUserDlgLimit()

Teledyne LeCroy Verification Script Engine Reference Manual Page 90 of 115 19 File Functions This group of functions covers VSE capabiliti

Strany 107 - 22.4 SetUserDlgLimit()

Teledyne LeCroy Verification Script Engine Reference Manual Page 91 of 115 19.1 OpenFile() This function opens a file for writing. Format

Strany 108 - 23.1 FormatEx()

Teledyne LeCroy Verification Script Engine Reference Manual Page 92 of 115 19.2 CloseFile() This function closes an opened file. Format:

Strany 109

Teledyne LeCroy Verification Script Engine Reference Manual Page 93 of 115 19.3 WriteString() This function writes a text string to the fi

Strany 110 - 24 Miscellaneous Functions

Teledyne LeCroy Verification Script Engine Reference Manual Page 94 of 115 19.4 Write() This function writes data to the file. Format: Wr

Strany 111 - 24.2 Sleep()

Teledyne LeCroy Verification Script Engine Reference Manual Page 95 of 115 19.5 ShowInBrowser() This function opens a file in the Windows

Strany 112 - 24.3 ConvertToHTML()

Teledyne LeCroy Verification Script Engine Reference Manual Page 96 of 115 20 Trace File Exporting Functions This group of functions cove

Strany 113 - 24.4 Pause()

Teledyne LeCroy Verification Script Engine Reference Manual Page 97 of 115 20.1 CreateTraceFile() This function creates a trace file. For

Strany 114

Teledyne LeCroy Verification Script Engine Reference Manual Page 98 of 115 20.2 CloseTraceFile() This function closes an open trace file.

Strany 115

Teledyne LeCroy Verification Script Engine Reference Manual Page 99 of 115 20.3 AddEventToTraceFile() This function adds the current trace

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

Žádné komentáře