nscl_logo_small.gif (2463 bytes)

bind - SpecTcl Command

HH00706_.wmf (6530 bytes)

SpecTcl Home  General Information User Guide Programmer's Guide Obtaining and Installing

Syntax

sbind name   [name...]
sbind -id id [id...]
sbind -all
sbind -list
sbind -list name     [pattern]
sbind -list -id id   [id...]
sbind -list -xid xid [xid...]

Synopsis

Binds one or more spectra to the display subsystem.

Detailed Description

SpecTcl only limits the set of spectra supported by the amount of virtual memory available.  This is not true of the displayer.  That program has a limited number of spectrum slots and a fixed amount of spectrum memory which is defined at startup time.  The bind command allows you to make a correspondence between the set of Spectra maintained by SpecTcl and the set which can be Xamined through the displayer. Once a spectrum is bound to Xamine, it can be unbound using the unbind command

sbind name [name...]

Binds the set of spectra named by the parameters to the command to available display slots. 

sbind id [id...]

Binds the set of spectrum with ids matching the list of parameters to the command to available display slots.

sbind -all

Attempts to bind all spectra defined in SpecTcl to the display.  Note that since attempting to bind an already bound spectrum is silently ignored, this command can always be attempted (e.g. after a new list of spectra have been defined).

sbind -list

Lists all spectra which are bound to the display.

sbind -list name [pattern]

Lists all bound spectra whose name matches pattern . Wildcards are permitted in the pattern

sbind -list -id id [id...]

Lists the bindings for the set of spectra whose ids are given in the command parameters.

sbind -list -xid xid [xid...]

Lists the bindings for the set of displayer slot ids given in the command parameters.

Top  

SpecTcl Home  General Information User Guide Programmer's Guide Obtaining and Installing


Last Modified: October 28, 2003 by: fox@nscl.msu.edu
© Copyright NSCL 1999, All rights reserved