Additional Entries

Reload Data File
will reload the current file. This is almost only useful for APS 2-ID-E files (*.mda) after changing the file read parameters (see Sec. 5.19 and Fig. 5.20).

Close File
will close the current file.

Display Scan Paramters
opens a popup window with some interesting scan parameters (see Fig. 5.9):

Figure 5.9: The scan parameters popup window
\includegraphics[width=3.in]{images/sm_gui_scan_parameters}

If you loaded a different file into SM_GUI in the meantime, you can update the popup window by clicking the "Get Current Parameters from SM_GUI" button. Actually, this happens automatically now.

Display sm_par structure
will open another popup window in which the entire sm_par structure (see Sec. 10.4) can be viewed (see Fig. 5.10). This structure holds all the information and parameters which are stored with the data file for later analysis. The following buttons are available:

Get Current Values from SM_GUI
allows to reload the structure for the currently displayed data files. Actually, by now SM_GUI should update this window automatically.

Export sm_par Structure to IDL Main Level Variable
(only available when running in a fully licensed IDL version) lets you export the sm_par structure into a variable on the IDL main level for further inspection or processing.

Print sm_par Structure to Output Log
(only available when running in a fully licensed IDL version) will dump the contents of sm_par to the output log of the current IDL session. This is done by a help, sm_par, /struct statement, which means that for array tags, the elements are not printed out.

Figure 5.10: The popup window to display the sm_par structure
\includegraphics[width=3.in]{images/sm_gui_sm_par}

Open New SM_GUI For File Display
will open a new instance of SM_GUI with the current file loaded initially. This might be useful if you want to look at several files at the same time.

Open File Browser
opens a separate file browser window which lets you open data files in SM_GUI (see Fig. 5.11). This is useful if you want to browse through a number of data files quickly, because you don't have to open the regular "pickfile" window each time.

Figure 5.11: The SM_GUI file browser
\includegraphics[width=2.in]{images/sm_gui_filebrowser}

There are two modes of operation:

Open on selection
will open the file as soon as it is selected in the file browser (single mouseclick or keyboard selection with arrow keys). This allows you to operate the file browser with the keyboard at all, but you'll open every single file as you move through the list.

Open on double click
will open the file only if you double-click it with the mouse. This mode is useful if you want to open only particular files, but it can't be used with the keyboard (because the IDL tree widget doesn't have a keyboard equivalent to the double click).

Note that you have a similar functionality with the left and right arrows in the toolbar, which also allow you to browse through all files in a directory.

Quit
will obviously quit the program.

List of recent files
At the bottom of the file menu, you will find a list of the previously opened files, so that you can switch back to them quickly. SM_GUI will remember for each file whether it was opened locally or from the server, and reopen it accordingly. Files which were opened from the server are marked with a (*) at the end of their file name. The maximum number of entries can be set in the config file (see Sec. 5.20).

Holger Fleckenstein 2008-07-08