sbind

Name

sbind -- Store spectrum channels in display share memory

Synopsis

sbind -all

sbind spectrum-name1 ?spectrum-name2...?

sbind -list ?pattern

DESCRIPTION

SpecTcl maintains bulk spectrum storage and abbreviated metadata in a shared memory region. This allows for high performance data transfer between it and displayer programs. The sbind command, short for spectrum bind binds spectra into this shared memory region. It can also provide information about the spectra bound to the shared memory region.

OPTIONS

-all

Binds all known spectra into the shared memory.

-list

Lists spectrum bindings.

OUTPUT

Only the -list option produces any useful value. The command then produces a list of Tcl Triplets. Each triplet contains, in order; the spectrum id, the spectrum name and the binding slot number.

EXAMPLES

Example 1. Binding all spectra to display memory

sbind -all

Example 2. Binding a list of spectra to the displayer

sbind raw.00 raw.01 raw.02

Example 3. Listing the bindings of spectra that match a pattern

sbind -list raw*

The output of this might be something like:


{1 raw.00 1} {2 raw.00 2} ... {9 raw.09 9}
            

SEE ALSO