Display system for instruments

Abstract: An instrument ("INSTR") hardkey facilitates a change in settings of any instrument displayed in any of the windows that appears on a display. The user merely depresses the "INSTR" key and selects the instrument whose settings are to be changed by means of a softkey menu that is displayed when the "INSTR" hardkey is depressed. A color editor is preferably resident in the display and provides a superimposed window and softkey menu for enabling the user to adjust colors. An "Adjust Color" softkey allows the user to adjust one or all of six factors: red, green, blue, hue (tint), saturation (color or color level), and luminosity (brightness). The window preferably displays red, green, and blue bars in a bar graph format, which change in height as the user changes the red, green, and/or blue settings by means of a rotary pulse generator or a numeric keyboard. The window also shows readouts for hue, saturation, and luminosity which change as the user adjusts the values with the rotary pulse generator or the numeric keyboard. The ability to adjust any or all of the six attributes (red, green, blue, hue, saturation, and/or luminosity) enables the user to select any desired color. A method implemented in software, instead of hardware, also provides pixel stretching to the entire display to provide clearer, more refined images.

Description: This invention relates to electronic systems and, more particularly, to electronic instruments for measuring electrical signals. Specifically, the invention is directed to displays for electronic systems. In one known instrument, a display is provided which can display as many as four windows. An instrument can comprise a module or a combination of modules. A different instrument state can be displayed in each of the four windows simultaneously. That is, a display of the state of a module or combination of modules can be displayed in each of the four windows concurrently. Unfortunately, once the different instrument states are displayed, it is very cumbersome to access an individual instrument, that is, a module or combination of modules, to change instrument settings. For example, one exemplary instrument, the HP 70000 series modular measurement system display, the HP 70206A display, available from Hewlett-Packard Company, Signal Analysis Division, Rohnert Park, California, requires numerous keystrokes to change instrument settings. Specifically, the user needs to depress the "DISPLAY" hardkey, then push the "Assign Keyboard" softkey, next select the window corresponding to the instrument whose settings are to be changed by means of a numeric keyboard or a rotary pulse generator knob, and depress the "MENU" hardkey to enable the instrument setting softkeys. This operation necessitates an in-depth understanding of the operation of the instrument. This operation also usurps the time to enter many keystrokes irrespective of the level of skill of the user. It is therefore desirable to facilitate the change of instrument settings in such an instrument. Additionally, many color editors are known. One approach for enabling a user to select a set of colors is to display multiple colors from which the user can choose on the display screen simultaneously, and the user can select colors by codes associated with the colors. Typically, the system sets defaults if the user does not elect to choose the colors. For example, in the case sixteen colors are available, the background can be defaulted to black (0), the graticule can be defaulted to gray (1), the first trace can be defaulted to yellow (2), the second trace can be defaulted to cyan (blue) (3), the third trace can be defaulted to pink (4), and so on up to 16 colors (i.e., colors 0-15). Therefore, color choices and the ability to adjust colors for various reasons, such as the level of ambient light, color blindness of the user, etc., are limited. It is therefore desirable to provide a broader range of color choices for color displays. Finally, dot or pixel stretching to achieve a clearer, more refined display is known. Previously, however, pixel stretching has been achieved by means of hardware, such as in the HP 70205 and HP 70206 displays, by ORing adjacent pixels. More recently, pixel stretching has been achieved by means of a PAL (program array logic) circuit. However, in both of these instances, only the pixels of traces of data are stretched. It is desirable that pixel stretching be applied to the entire display. Previous color editors allowed the user to adjust only the HSL values, as disclosed in "Microsoft Windows Presentation Manager Benutzerhandbuch Version 2," Microsoft Corporation, 1987, or the RGB values. Specifically, this document does not disclose adjustment or display of the red value, green value, or blue value. That is, in the data processing system disclosed in this document, the user is never shown the red value, green value, or blue value. It is an object of the invention to provide a method for adjusting a plurality of colors which allows full flexibility of color adjustment and teaches the user the relationship between the different color systems. This object is achieved by a method for adjusting a plurality of colors in accordance with claim 1. Summary of the Invention One embodiment of the present invention provides an instrument ("INSTR") hardkey to facilitate a change in settings of any instrument displayed in any of the windows that appears on a display. The user merely depresses the "INSTR" key and selects the instrument whose settings are to be changed by means of a softkey menu that is displayed when the "INSTR" hardkey is depressed. In the case of a color display, different colors can be employed to show the correspondence between the instruments shown in the windows and the softkey menu instrument choices (i.e., the instrument and corresponding softkey menu selections are color coded). Also, or alternatively, the model number of the instruments shown in the windows can be shown in the softkey menu. Both color coding and model number coding are preferred. Furthermore, in systems where multiple modules having the same model number are employed, the row and column addresses of the modules having the same model number are displayed to distinguish between instruments having the same model number. One embodiment of the invention also enables the user to adjust the colors of the color display. The color editor is preferably resident in the display. An instrument connected to the display preferably labels softkeys for allowing the user to adjust the colors based upon the instrument actually controlling the display, that is, the module or combination of modules controlling the display determines what to call the aspects of the display which are enabled for color adjustment. When the user selects color adjustment, the display provides a superimposed window and softkey menu for enabling the user to adjust colors. The menus can provide various selections, including the selection of default colors and preferably colors that compensate for various types of color blindness, which are stored in a read only memory. The user also has the softkey menu option to select "Adjust Color." The "Adjust Color" softkey allows the user to adjust one or all of six factors: red, green, blue, hue (tint), saturation (color or color level), and luminosity (brightness). The window preferably displays red, green, and blue bars in a bar graph format, which change in height as the user changes the red, green, and/or blue settings by means of a rotary pulse generator or a numeric keyboard. The window also shows readouts for hue, saturation, and luminosity which change as the user adjusts the values with the rotary pulse generator or the numeric keyboard. The ability to adjust and view any or all of the six attributes (red, green, blue, hue, saturation, and/or luminosity) enables the user to select any desired color. Finally, one embodiment of the invention provides a method implemented in software, instead of hardware, for providing pixel stretching. In accordance with the pixel stretching method of the invention, any pixel stretching can be applied to any item on the entire display to provide clearer, more refined images. Brief Description of the Drawings The above and other features of the invention and the concomitant advantages will be better understood and appreciated by persons skilled in the field to which the invention pertains in view of the following description given in conjunction with the accompanying drawings. In the drawings: Figs. 1-3 show example screens for one, two, and four window cases, respectively, useful in describing the "INSTR" key provided in accordance with one embodiment of the invention; Fig. 4 shows an example for editing COLOR 0 in accordance with one embodiment of color adjustment method in accordance with the invention; Fig. 5 shows an example of a softkey menu which indicates that RED is active and RGB selected in connection with adjusting the colors of a color display; and Fig. 6 illustrates an example of pixel stretching in accordance with the invention. Detailed Description of the Preferred Embodiments A key not previously provided, the "INSTR" key, is used to move the keyboard between modules on the screen of a modular measurement system display, such as the HP 70004A display. Previously, it was necessary to enter a menu called "assign keybd" in which a window could be selected by entering the appropriate window number with a numeric keyboard or a rotary pulse generator knob, then depressing MENU again. The INSTR key allows two-stroke access to any window displayed on-screen, thus greatly easing the burden of controlling instruments in several different windows. The "INSTR" key functions as follows. When the "INSTR" key is depressed, the display places colored borders around the currently defined windows. The pens used are: window 1, pen 2; window 2, pen 3; window 3, pen 4; window 4, pen 5. Typically, these pens are yellow, cyan, pink, and green, respectively. In the corner nearest the default position of these windows (window 1, lower left, window 2, lower right, window 3, upper left, window 4, upper right), a softkey containing the first seven characters in the label identification for the module is displayed in inverse video in the same color as the associated window border. If any of the labeled softkeys is depressed, a keyboard link is offered to the module corresponding to that window. If the module accepts the link, it is given the keyboard and will put up its menu keys as though the "MENU" key had been depressed. Figs. 1-3 show example screens for one, two, and four window cases, respectively. The listing of the firmware to implement the INSTR key follows: The "Adjust Color" menu is used to modify the colors displayed by the HP 70004A display. The "Adjust Color" menu is: RECALL COLORS SAVE COLORS edit colors DEFAULT COLORS MONOCHROME special colors RECALL COLORS and SAVE COLORS load and store the current color map from/to any of four color map registers. The user is prompted to enter a register number when one of these keys is depressed and concludes the entry with the "ENTER" softkey. "DEFAULT COLORS" loads the current color map from a preset color map in read only memory (ROM). "MONOCHROME" loads the current color map with shades of green. The "special colors" menu loads predefined color maps out of ROM. The three choices are "VISION ENHNC1," "VISION ENHNC 2," and "OPTICAL FILTER," which are color maps optimized for two common visual impairments and for people working in red goggles often found in optics laboratories. The "edit colors" menu allows editing of pens 0-11. This editing affects the current color map, regardless of how it was originally loaded. For example, the MONOCHROME palette can be loaded, and then one or more of the trace colors can be modified using "edit colors." The "edit colors" menu labels look like: BACK GROUND COLOR 1 COLOR 2 COLOR 3 COLOR 4 COLOR 5 * MORE 1 of 2 COLOR 6 COLOR 7 COLOR 8 COLOR 9 COLOR 10 KEY LABELS MORE 2 of 2 When any of these colors is selected, the following menu goes up: HUE SATURATION LUMINOSITY HSL/RGB UNDO PLOTTER PEN prev menu An example, shown for editing COLOR 0, is shown in Fig. 4. The active function (HUE, SATURATION, or LUMINOSITY) is underlined. HUE is active on entry to this menu. HSL is underlined as well. If the HSL/RGB key is depressed, the menu changes to: RED GREEN BLUE HSL/RGB UNDO PLOTTER PEN prev menu with RED active and RGB underlined. An example is shown in Fig. 5. In either case a box appears on the display screen which overrides a part of the on-screen data. In the box is a patch of the color being edited, and also red, green, and blue bars showing graphically the red, green, and blue content of the color. This is significant because the hardware implements the RGB model, and hence the bars show the exact hardware settings (and hence imply the parameters for the PC command) for that color. The values of HUE, SATURATION, LUMINOSITY, RED, GREEN, and BLUE are also displayed textually. One or more of these values changes when the rotary pulse generator knob is turned or a number entered. Previous color editors allowed the user to adjust only the HSL values or the RGB values. The color editor in accordance with the invention allows adjustment of any of the six attributes of a color (RED value, GREEN value, BLUE value, HUE, SATURATION, or LUMINOSITY) and simultaneous display of all six attributes, along with a graphical readout of RGB. This allows the user to truly understand exactly how the color mix is being impacted by any changes being made to one of the six attributes. The UNDO key restores the values for the current pen that existed when that pen was selected to edit. However, if the "prev menu" key is depressed (thus returning to the menu with the pen selections), the newly edited values are "latched" into that pen. The algorithm for converting RED/GREEN/BlUE (RGB) colors to/from HUE/SATURATION/LUMINOSITY (HSL) colors is shown in the respective RGB_TO_HSL and HSL_TO_RGB routines in the listing that follows. The graphics hardware in the HP 70004A display comprises a 12.5 MHz Motorola 68000 microprocessor which handles all I/O, graphics scaling, and stroke generation functions, and a 50 MHz TMS34010 Graphics System Processor (GSP) which handles the raster conversion of vector information into colored dots on the screen. The two processors run asynchronously, with the GSP constantly parsing the vector list and writing dots into the bit map. To avoid any artifacts produced by viewing data on the screen while the GSP is updating it, two separate bit maps are used, one of which is viewed while the other is drawn. They are swapped each time the GSP finishes one complete scan of the vector list. The resolution is 1024 X 400 dots. This is unique in that graphics systems have aspect ratios near 4 x 3; here we have an aspect ratio near 8 x 3. Therefore, this system has effectively double the typical horizontal resolution. This allows dot positioning to twice as fine a degree as is typical, which allows the display of twice as many points of data on the horizontal axis with no loss of resolution. However, given the approximately 147 x 105 mm display area, each pixel is essentially .14 mm wide x .26 mm high, or approximately twice as high as wide. It is desirable for pixels to be square, as this provides for smoother vertical transitions, and equalizes the brightness of vertical and horizontal lines. Therefore, all dots are stretched to be two pixels wide. Fig. 6 shows how this helps make traces overlap and thus smooths the transitions. Dot or pixel stretching in accordance with the invention is implemented by drawing every line twice. The second time that the line is drawn, the start and the end points are moved one pixel to the right. This works regardless of the orientation of the line. A listing of the line drawing routine, showing dot stretching, appears below. The language is Texas Instruments TMS34010 assembly language.

Claims: A method for adjusting a plurality of colors associated with a plurality of images displayed on a screen of a color display system, comprising the steps of: providing a user with a softkey menu for color adjustment, which enables the user to adjust each of six attributes of a color, the attributes comprising red value, green value, blue value, hue, saturation, and luminosity; wherein the attributes red value, green value, and blue value belong to one colour system and the attributes hue, saturation, and luminosity belong to another colour system; displaying a user adjustment of one of said colour attributes as a corresponding change in the attributes of the other colour system; thereby enabling the user to select any desired color. The method according to claim 1, further comprising the step of providing a color editor resident in the display and a superimposed window on the screen, and wherein the window displays red value, green value, and blue value as at least one of a) numeric readouts and b) bars in a bar graph format which change in height, as the user changes the red, green, and blue values. The method according to claim 2 wherein the window further displays readouts for hue, saturation, and luminosity, which change as the user adjusts values, thereby providing a simultaneous display of all six attributes to enable the user to view how the color is being impacted by any changes being made to one of the six attributes. The method according to claim 1, 2, or 3 wherein the softkey menu for color adjustment further enables the user to save colors for storing a color map in a resident color map register, further comprising the step of prompting the user to enter a register number after the user depresses the save colors softkey and thereafter prompting the user to depress an enter softkey. The method according to claim 1, 2, 3, or 4 wherein the softkey menu for color adjustment further enables the user to select monochrome for loading a color map with shades of green. The method according to claim 1, 2, 3, 4, or 5 wherein the softkey menu for color adjustment further enables the user to select a special colors menu for providing a softkey menu enabling the user to select one of at least three color maps resident in read only memory, including two color maps optimized for two common visual impairments, respectively, and one color map for a user working in red goggles often found in optics laboratories. The method according to claim 1, 2, 3, 4, 5, or 6 wherein the softkey menu for color adjustment further enables the user to select an edit colors menu, further comprising the step of prompting the user to enter a pen number corresponding to one of the images displayed on the screen after the user depresses the edit colors key for editing the color in which the selected image appears. The method according to any preceding claim further including user interaction with the display, wherein the screen displays a plurality of windows, the system comprising a plurality of instruments wherein instrument states for each of at least two of the plurality of instruments are displayed in respective windows simultaneously, the method comprising the steps of: providing an instrument key to initiate a sequence to access at least one of the instruments, whose instrument state is being displayed in one of the plurality of windows, to change instrument settings, the instrument key to facilitate a change in settings of any instrument displayed in any of the windows that appears on the screen, the instrument key being depressed by a user for inititating a sequence for selecting the instrument whose settings are to be changed; responding to user depression of the instrument key by displaying a first softkey menu having a plurality of user selections corresponding to the instruments whose instrument states appear in the windows displayed on the screen; responding to user depression of a softkey that appears in the first softkey menu by displaying a second softkey menu having a plurality of user selections corresponding to available settings of the selected instrument; and responding to user depression of a softkey that appears in the second softkey menu by enabling means for adjusting a selected setting of the selected instrument; thereby providing two-stroke access to an instrument displayed in any window displayed on-screen, thus facilitating control of instruments whose instrument states appear in the plurality of windows. The method according to claim 8 wherein different colors are used to indicate correspondence between the instruments displayed in the windows and instrument selections on the first softkey menu. The method according to claim 8 or 9 wherein label identifications of the instruments displayed in the windows appear in the first softkey menu. The method according to claim 9 wherein each instrument is provided with a label identification and a softkey containing at least a portion of the label identification for the instrument is displayed in inverse video in the same color as the associated window border. The method according to claim 10 wherein multiple instruments having the same model number are used, and the row and column addresses of the instruments having the same model number are displayed to distinguish between instruments having the same model number. The method according to claim 11 wherein the label identifications are model numbers, multiple instruments having the same model number are used, and the row and column addresses of the instruments having the same model number are displayed in the first softkey menu to distinguish between instruments having the same model number. The method according to any preceding claim further including enhancing selected images displayed on the screen of the display, the screen comprising a plurality of rows of pixels, each row of pixels comprising a line of the display, the method comprising the steps of: drawing every line of the display once; and drawing selected lines of the display twice, wherein the second time that the line is drawn, the start and the end points are moved one pixel horizontally to an adjacent pixel in the respective rows of pixels containing the start and the end points, respectively; thereby applying pixel stretching to any selected line on the screen to provide clearer, more refined images. The method according to claim 14 wherein the display system comprises a microprocessor, which handles all I/O, graphics scaling, and stroke generation functions, and a graphics system processor, which handles raster conversion of vector information into dots on the screen, the two processors being operated asynchronously, with the graphics system processor constantly parsing a vector list and writing dots into a bit map, wherein to avoid any artifacts produced by viewing data on the screen while the graphics system processor is updating the bit map, two separate bit maps are used, one of which is viewed while the other is drawn, the two bit maps being swapped each time the graphics system processor completes one complete scan of the vector list.

Inventors: BOYAN CORYDON J, BOYAN, CORYDON J.
Applicants: HEWLETT PACKARD CO, HEWLETT-PACKARD COMPANY
Application year: 1990
Main classification: G09G5
IPC codes: G01R23, G09G5, G06T11, G01R31, G06F3, F02B75