Skip to content

scChannelManager

  scChannelManager creates the channel manager for a sigTOOL data view

  Example:
  [tp, cs, tree]=scChannelManager(fhandle)

  scChannelManager returns the handles/jcontrols for the panel, scrollpane
  and tree. These handles are also added to the ChannelManager field of the
  figure's application data area e.g.
          Panel: [1x1 jcontrol]
      ScrollPane: [1x1 jcontrol]
            Tree: [1x1 javax.swing.JTree]

  The channel tree is drag enabled so you can drag and drop channel
  selections into other sigTOOL GUI items. 

  The channel manager GUI provides access to the following (embedded)
  functions

  COPY: Places the current channel selection in the system clipboard
  DRAW: Draws the currently selected channels
  INSPECT*: Places a copy of the present (singly) selected channel
  structure (note not object) in the base workspace and opens it in the 
  MATLAB array editor. This can be used to view the data settings. 
  Note that editing values will have no affect on the data stored in the
  data view. 
  REMAP releases virtual memory assigned to the data channels for this, and
  all other, open sigTOOL files
  COMMIT: For the selected channels, this commits memory mapped data stored
  on disc to RAM (in both tim and adc fields). The commit function will
  return harmlessly if you receive an out of memory error. Selected
  channels are commited in numerical order.

  *TODO: replace this behaviour with a JTable

  -------------------------------------------------------------------------
  Author: Malcolm Lidierth 08/07
  Copyright © The Author & King's College London 2007-
  -------------------------------------------------------------------------

  Revisions:
    08.11.09    See within