Beamline Specific Code by Examples

Online widgets are designed to be useful at all beamlines or at least at several beamlines. However, there are experimental stations that need customized widgets for very specific purposes. Online has a general concept for integrating beamline specific code (BLSC). Each BLSC application generates a toplevel widget that may contain buttons, checkbuttons, entries and labels. BLSCs are identified by a generic name. The variable $Spc::res_h{ blsc} stores all generic name. This way Online knows which widgets to create:

 
$Spc::res_h{ blsc} = "hello, energy, volts, k428, sltd, mc, hkl";

The variable is defined in the TkI startup file:

/online_dir/TkIrc.pl.

The BLSC code is also part of the startup file.


Subsections