Teledyne-lecroy UWBTrainer Exerciser Script Language Manual de usuario Pagina 110

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 124
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 109
LeCroy Corporation UWBTrainer Exerciser - Generation Script Language Reference Manual
102
10.20.3 PtraceVarEx( ) : Parser Trace Variable Extended
Format
PTraceVarEx( <variable list var1, var2, …> )
Parser Trace Variable Extended outputs the values of the supplied comma-separated variables.
PTraceVarEx( ) is the same as PTraceVar( ), except that packet variable values are output in
detail at the field level, rather than just as a byte stream. Numeric variables are output in decimal
and hex format. This primitive does not accept constants or data patterns, which will generate
parse errors. In the example below, also note that the language is not case sensitive.
Note: Numeric variables are DWORDS.
Example
51: struct IE_Info # Create Struct IE_Info.
52: {
53: ElemID : 8
54: ElemLen : 8
55: }
56: Frame Test_IE_ChSelect : IE_INFO # Create Frame Test_IE_ChSelect.
57: {
58: ElemID = 251
59: ElemLen = 2
60: TModeSubType : 8 = 1
61: PHYChNum : 8
62: }
63: Frame BPOIE : IE_INFO # Create Frame BPOIE.
64: {
65: ElemID = 1
66: BPLen : 8
67: Occupancy : *
68: DevAddrList : *
69: }
70: Test_IE_ChSelect $Pkt_Var { PHYCHNUM = 5 } # Global Packet Variable
71: BPOIE $Pkt_Var2 # Global Packet Variable
72: {
73: BPLen = 12
74: Occupancy = { 00 01 00 }
75: DevAddrList = 0x0004
76: ElemLen = 6
77: }
78: alternateCHNum =
7 # Global Numeric Variable
Vista de pagina 109
1 2 ... 105 106 107 108 109 110 111 112 113 114 115 ... 123 124

Comentarios a estos manuales

Sin comentarios