Link to NIST Center for Neutron Research home page Link to National Institute of Standards & Technology home page
Link to Tcl/Tk information


EXPGUI Informational, Warning and Error Messages

This page contains additional information about various warning and error screens that may occur in EXPGUI as well as descriptions for a number of utility functions.

Informational Messages

File has been modified...

This message occurs when EXPGUI detects that the experiment file has been changed by another program. (EXPGUI only tracks the file modification date, so that the file could have been opened for writing, but no actual changes were made.) This can be normal behavior -- for example after a refinement cycle has been run, or this can signal a problem, such as two people or sessions trying to edit the same .EXP file. This warning is made because a choice must be made: to keep the version currently displayed in EXPGUI, or to use the new version written by the other program. On UNIX, this message can be avoided by setting the Autoupdate EXP flag to "on" causes .EXP files to be loaded automatically after GSAS programs are run, eliminating most occurrences where this message is displayed, but with the disadvantage that a bad refinement run can not be reversed easily. If changes have been made to the experiment file in EXPGUI since it was last saved, and the file is changed by an external program, the message "you have made changes to this version" is added and a third button, "Save edited version", is shown. Under this circumstance, the usual action, pressing "Load new" could result in valuable changes being lost. Pressing "Save edited version" results brings you to the File/"Save as" menu, where the modified version of the experiment file in EXPGUI can be saved under a new name.

Please wait while GSAS program finishes...

A window labeled "Please wait while GSAS program finishes. In case a problem occurs, close the DOS box and press the "Continue" button is created in Windows-9x while GSAS programs are run. As this window is created, a "lock" file (expgui.lck) is also created. When the DOS batch file running the GSAS program completes, this file is deleted. The EXPGUI process waits until the expgui.lck lock file is deleted. Should the DOS process crash before the file is deleted, the "Continue" button can be pressed. This causes EXPGUI to continue and deletes the lock file.

Input a value for the title

A dialog with "Enter a value for the title for experiment..." appears when a new experiment is created. Note that this title can be edited later on the Least Squares Control Page.

Choose CIF Block

When coordinates/cell parameters are read from a CIF, all blocks in the file are read. If more than block containing coordinates is found, a message saying "More than one block in CIF contains coordinates. Select the block to use." One must then select one of these blocks from the list of blocks. The blocks with coordinates are listed, both numbered and with the block (data_) name. The "CIF Browser" button can be pressed to view the data names and their values for each block.

Open Experiment File

The Open Experiment windows is displayed to select a experiment file to read or write, as well as a directory to use. When the message at the top reads "Select an experiment file to read" either an existing experiment file should be selected, or a new name may be typed in at the box at the bottom to enter a name manually. If the file is not found, you will be warned and given the option of creating a new experiment with that name. When the message at the top reads "Select an experiment file to create", typically after a "Save as" command, the directory may be changed, but typically a file name will be typed into the bottom box. If the file exists, you will be warned before the file is overwritten and you will have the option to enter a different file name. Note that the files in the list can be sorted alphabetically or can be sorted by the date the experiment file was last modified, according to the checkbuttons to the upper right.

Warning Messages

Abandoning Constraint Editing

If the "Cancel Changes" button is pressed when a profile or atom constraint is being edited or created, a message saying "Do you want to lose any changes made to this constraint?" is displayed, even if no changes have been made to the constraint. Changes are recorded only when the "Save" button is pressed.

File ... does not exist in ...

When an attempt is made to open a file that does not already exists, for example when the EXPNAM command is used, this warning is displayed. The answer can be "Select other" or "Create", where "Select other" will return you to a file selection dialog and "Create" will create a new dialog with this name.

File ... already exists in ... OK to overwrite?

When an attempt is made to using the File/"Save As" command to write the current experiment file with a new name, but a file with the newly specified name already exists, this message is displayed. Choose "Select other" to specify a different file name or "Overwrite" to use this name in which case the older file is replaced.

A similar warning will occur in UNIX when converting files. If the intended output file already exists, this message is displayed. Choose "Cancel" to specify a different file name or "Overwrite" to use this name in which case the older file is replaced. This message can be seen in Windows when converting files, for slightly different reasons. When files are converted, the converted file keeps the same name as the original version. However, th original file is renamed to XXXX.ord, where XXXX.YYY is the original file name. If a file named XXXX.ord already exists, this message is displayed.

Error Messages

Unable to find file GRFONT.DAT...

The file grfont.dat is expected to be in the ...\gsas\fonts directory in DOS/Windows platforms and files grfont.dat and pgxwin_server are expected to be found in the .../gsas/pgl directory in UNIX. If these files cannot be found, GSAS will not be able to produce graphics in programs such as POWPLOT, RAWPLOT,... If GSAS and EXPGUI are correctly installed this error will not occur (see the installation notes for Windows and UNIX.

Sorry, file ... not found in ...

The specified input file was not found for conversion

Sorry, filenames must differ

For UNIX file conversions, the input and output file names must be different. You have specified the same name twice.

Unable to rename XXXXX.LST

This message is displayed if the GSAS .LST file could not be renamed prior to running DISAGL in a separate window. On Windows it appears that LSTVIEW can prevent EXPGUI from renaming the .LST file. Either exit LSTVIEW while running DISAGL or reset the DISAGL option DISAGL so that output goes to the .LST file.

Brian Toby (Brian.Toby@NIST.GOV)
$Revision: 369 $ $Date: 2009-12-04 23:05:01 +0000 (Fri, 04 Dec 2009) $