Teledyne-lecroy USB File Based Decode Manual Manual de usuario Pagina 23

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 36
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 22
19
COMPUTER ACCESS TECHNOLOGY CORPORATION USB REQUEST DEFINITION (.REQ) FILES
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
HIBYTE” 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
Vista de pagina 22
1 2 ... 18 19 20 21 22 23 24 25 26 27 28 ... 35 36

Comentarios a estos manuales

Sin comentarios