Teledyne-lecroy Protocol Analyzers File-Based Decoding User Manual Bedienungsanleitung Seite 62

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 82
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 61
Chapter 11: Primitives File-based Decoding User Manual
56 LeCroy Corporation
Example
# Begin the 'red' group. For clarity these cells are red:
BeginCellBlock( "Red Group", null, null, 0x0000ff, _MONOFIELD
);
# This cell is displayed when the red group is in the expanded
state:
AddCell( "Red is", "Expanded", null, 0x0000ff, _EXPANDED );
# This cell is displayed when the red group is collapsed:
AddCell( "Red is", "Collapsed", null, 0x0000ff, _COLLAPSED );
# This begins the nested blue group. Nothing in the blue group
is displayed unless the red group is expanded:
BeginCellBlock( "Blue Group", null, null, 0xff0000, _MONOFIELD,
_EXPANDED, [_BLOCKNAME, "BlockName"] );
# This cell is only displayed when the blue group is visible
and expanded:
AddCell( "Blue is", "Expanded", null, 0xff0000, _EXPANDED );
# This cell is also only displayed when the blue group is
visible and expanded:
AddCell( "Blue", "Too", null, 0xff0000, _EXPANDED );
# This cell is only displayed when the blue group is visible
and collapsed:
AddCell( "Blue is", "Collapsed", null, 0xff0000, _COLLAPSED );
# This ends the blue group.
EndCellBlock();
# Cells with the _SHOWN attribute are always displayed. This is
the default:
AddCell( "Always", "Shown", null, 0x0000ff, _SHOWN );
# This cell is never displayed. In a real script this would be
driven by a variable:
AddCell( "Never", "Shown", null, 0x0000ff, _HIDDEN );
# This ends the red group.
EndCellBlock();
Seitenansicht 61
1 2 ... 57 58 59 60 61 62 63 64 65 66 67 ... 81 82

Kommentare zu diesen Handbüchern

Keine Kommentare