Teledyne-lecroy CATC Scripting Language Reference Manual Manuale Utente Pagina 48

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
  • Pagina
    / 57
  • Indice
  • SEGNALIBRI
  • Valutato. / 5. Basato su recensioni clienti
Vedere la pagina 47
C
HAPTER
12
Decoder Primitives
CATC Scripting Language
44
# This cell will be 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 will be 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 will never be displayed. In a real script
this would be driven by a variable:
AddCell( "Never", "Shown", null, 0x0000ff, _HIDDEN );
# This ends the red group.
EndCellBlock();
Vedere la pagina 47
1 2 ... 43 44 45 46 47 48 49 50 51 52 53 ... 56 57

Commenti su questo manuale

Nessun commento