Lobyte, Name, Lobyte name – Teledyne LeCroy USB Chief - File Based Decode Manual User Manual
Page 23

19
C
OMPUTER
A
CCESS
T
ECHNOLOGY
C
ORPORATION
USB R
EQUEST
D
EFINITION
(.
REQ
) F
ILES
Reference Manual
Length=1
Set
Length
to a numeric value when a certain specified amount of data should be
transferred during the data stage of a device request or as a structure on an endpoint.
Use a question mark (
?
) when an unknown number of bytes can be transferred:
Length=?
In this case, all of the data will be decoded.
LOBYTE
Use
LOBYTE
in conjunction with
HIBYTE
in order to display two values in 2-byte
wValue and wIndex fields.
LOBYTE
refers to the Least Significant Byte. Please see
” on page 18 for examples.
Name
Use
Name
to specify the header for a data field. The
Name
string will appear as the
title of the cell representing the data field, and the decoding for the field will appear
as the text for this cell. The
Name
string also serves as the title for the decoded bit
data in the Data field’s tooltip window in the case of bitmap decoding. For example,
this code from
GET_CONFIGURATION
in standard.req
Bytes(0,0)={
Name=Current Configuration
FormatValue= configuration # %d
}
could produce this cell:
Also, if the decoding dialog is launched, there will be two lines representing the
field – the first line will contain the
Name
string followed by a colon, and the second
will have the decoding of the field:
Figure 11:
NAME
as title of data
field cell
Figure 12:
NAME
string in decoding dialog