Download VNMR 6.1C User Programming

Transcript
6.3 Customizing the Interactive dg Window
information comes from the dg.conf file. At the bottom of the window are several
buttons. The Refresh Display button causes any changes you may make to be displayed in
the Dg pane. However, those changes are only temporary and will go away when the
configuration window goes away, either by pressing the Exit button or by selecting another
tab from the Dg pane.
To save changes, the only way is to press the Save Display button in the lower right-hand
conner of the window. To the left of this button is a selection to specify if the configuration
file is “Experiment Specific” where Experiment will be substituted with the current value
of seqfil.
• If Experiment Specific is selected, the file is saved in an Experiment directory, where
Experiment is substituted with the current value of the seqfil parameter.
• If Experiment Specific is not selected, the file is saved in the default directory. These
are subdirectories of the /vnmr/user_templates/dg directory or the user’s
vnmrsys/templates/dg directory.
If you have write permission in the vnmr system directories, you are presented a choice of
System and User. Selecting one or the other saves the configuration files in the directories
/vnmr/user_templates/dg or the user's vnmrsys/templates/dg directory. If
you do not have write permission in the vnmr system directories, you do not see this
choice.
In all cases, the name of the file is shown in the Panel File entry at the top of the window.
Note that the file name is editable and can be used to create new configuration files. In order
for them to become active, you need to add an appropriate entry into the dg.conf file.
As already mentioned, the geometry of the dg pane is defined in the dg.conf file.
Entering a new value in the geometry field of the configuration window, and then pressing
Refresh Display causes the dg window to resize and reposition to the new geometry.
Alternatively, the mouse can be used to resize and reposition the dg window. Whenever the
mouse enters and then leaves the area of the screen covered by the dg window, the value of
geometry in the configuration window is updated. Once the desired geometry is set, the
value displayed in the configuration window should be copied into the proper line in the
dg.conf file.
The dg pane is broken up into a grid of rectangles, as represented by the matrix window.
The size of the grid in terms of the number of rows and columns is controlled by the Rows
and Columns menus in the configuration window. The Rows represents how many items
can be placed in a column. It basically defines the height of the dg window. There are
different choices that can be made when deciding the number of rows and columns. This
will be discussed after all the customizable elements are described.
Below the Rows and Columns menus is a label that identifies which element of the matrix
window is selected. Below that is the Type of Element menu. This menu provides a list of
all the different types of interaction items that can be placed at the current location. If a pink
highlighted button is selected from the matrix window, this menu displays the current item
at that location.
The next two rows are Row Extent and Column Extent menus. Interaction items can be
defined to be larger than a single grid rectangle. Increasing the Row Extent of an item
causes it to occupy a corresponding number of grid rectangles below the currently selected
rectangle. Increasing the Column extent of an item causes it to occupy a corresponding
number of grid rectangles to the right of the currently selected rectangle.
The Justify menu selects whether the item is aligned along the left edge of its grid space,
centered within the grid space, or aligned along the right edge of the grid space.
01-999165-00 A0800
VNMR 6.1C User Programming
331