7 output, 8 options menu, 9 outlining – Teledyne LeCroy USB Protocol Suite User Manual (Voyager_Advisor T3_Mercury) User Manual
Page 357: 10 line numbers, 11 tooltips, 12 text snippets

USB Protocol Suite User Manual
357
Script Editor
Teledyne LeCroy Corporation
12.8.7
Output
When you compile a script that generates output or when the application sends you a
message, the information appears in the Output tab.
12.8.8
Options Menu
You can set text options in the Options menu by clicking
:
Enable Outlining: Adds a hierarchy of levels to the script.
Show Line Numbers: Displays the line numbers at the left of the window.
Show Tooltips: When you place the cursor over an item, information about the
item appears.
Enable IntelliSense: Starts the IntelliSense program.
Toggle Outlining: If Enable Outlining is checked, allows you to expand or collapse
the outlining levels.
12.8.9
Outlining
If you enable outlining at the Options button, you can collapse or expand code blocks.
You can toggle outlining at the Options button or by right‐clicking a command to display a
menu from which you can choose Toggle Outlining.
12.8.10 Line Numbers
If you enable line numbers at the Options button, each line has a line number.
12.8.11 Tooltips
If you show tooltips at the Options button, tooltips appear when you place the cursor
over a button or command.
12.8.12 Text Snippets
Text snippets appear in the Text Snippets window (see
.) You can
drag and drop a text snippet into the script. The available text snippets are:
Send: Enter a packet template name, with options to delay or override.
SendPipeCommand: Enter a command name, pipe type, total length, setup,
data pattern, asn, store data, and send erdy.
SetSequenceNumber: Enter a pipe type, device address, endpoint number,
data directory, sequence number, and enable.
SendFile: Enter a file path, device address, endpoint, delay,
start sequence number, payload_size, stream ID, and route string.
PrepareWaitPkt: Enter packet type as TP or DP, requested packet subtype for TP,
packet endpoint number, packet device address, packet direction, and
packet stream ID.
WaitPacket: Enter packets to wait (default is 1) and start wait at last end
(default is 1) or not (0).