Usbdecextrainfobytepos, Usbscriptdecodetype, Constants – Teledyne LeCroy USB Script Decode Manual User Manual
Page 66: Constants defined in decodertools2.inc

60
C
HAPTER
14
CATC Scripting Language for USB
USB Decoders
UsbDecExtraInfoBytePos
Value: The byte offset in this transfer where the information byte potentially used
for decoding the next transfer exists. For example, in CBI-UFI decoding, the byte
at offset 8 contains the UFI Opcode. For Bulk-Only SCSI, the opcode is at offset
15. In both cases, this byte can be used to identify that a subsequent Transfer
contains the response data to an issued command. This item requires explicit
support in the software, so you cannot use it arbitrarily.
UsbScriptDecodeType
Value: 1(default) for explicit text decoding, 2 for combined text/field
decoding as described in earlier chapters.
Reserved Parameter Strings (Used as values in the above string dec-
larations):
Request
Endpoint
Class
Vendor
Bulk
Interrupt
In
Out
Constants
Constants defined in DecoderTools2.inc
const COLLAPSED = 0
const EXPANDED = 1
const WarningColor = RGB(255, 255, 0) #Yellow
const ERROR_COLOR = RGB(255, 0,0) #Red
The next constant, WARNING_SIGN, is used in cell tooltips as a delimiter of the
“normal” part of the tooltip and the part containing a message about USB specifi-
cation errors in the subfield.
const WARNING_SIGN = "\n\n!!! WARNING !!!\n";
This is an example of its use: