• Based on DSP digital oscilloscope GUI development

      Along with the embedded system application domain’s unceasing expansion, the system complexity unceasingly is also enhancing. Therefore realizes user presente in figures and diagrams in the embedded system (GUI), already became ultimately. In the metering equipment, the presente in figures and diagrams contact surface is also the widespread use, one kind inserts the operating system, the majority user presente in figures and diagrams contact surface (GUI) is in the operating system (for example OS, WinCE, Linix) under the support, the transfer system’s each kind of API function realizes. These operating system to realize GUI to provide the massive storehouse function, also has provided the contact surface design good platform for the programmers. But this kind of inserting technology, requests high to the hardware, is equal in inserts a computer, if may the very convenient design have the Windows style graphical interface using WinCE. Another kind is, uses the DSP technology directly, the development small system. This kind of system simplifies, requests lowly to the hardware, but the function is relatively unitary.

      This article this section of digital oscilloscope is the DS1000 series which the Pu source fine electricity (RIGOL) the company promotes, its design is completely independent completes, draws close to the people to use the custom. Its user graphical interface (GUI) is develops in the VisualDSP 4.0 Kernel foundations, the contact surface style closely relates with instrument’s function. In has completed demonstration in and so on instrument’s profile and menu foundations, the RIGOL team has also made some versatile user graphical interface, like document supervisor and so on. Certainly, designs the user graphical interface, in the function formidable aspect is far cannot, but regarding instrument’s user who and so on compares with WinCE, already was the enough convenience - -, because this is instrument’s user graphical interface after all, but is not on the palm the computer PDA user graphical interface.

    The user interface realizes the principle

      User graphical interface’s realization, needs on the hardware, software’s support. As shown in Figure 1, through service platform (operation platform) mixing, the transfer display sequence, the display sequence refurbishing demonstration buffer, by the demonstration driver, will demonstrate again in the buffer the content demonstrates in the liquid crystal box.


    Figure 1 RIGOL the DS1000 digital oscilloscope user graphical interface realizes schematic diagram

    Below brief introduction chart 1 main several constituent.

    GUI graph standard storehouse

      Must demonstrate each kind of graph, the design on the user graphical interface, besides hardware circuit’s support, but also needs the formidable software support. But (GUI) the graph standard storehouse is the most foundation, but is indispensable. User graphical interface (GUI) the graph standard storehouse including the most basic picture spot, the linedraw, the picture rectangle, the packing rectangle, the picture circular, lays aside bmp functions and so on form design, demonstration Chinese and English, this graph storehouse function is more formidable, more may support the complex user graphical interface (GUI).

    GUI service platform support

      Had the plan graph graph standard storehouse merely, must realize the user graphical interface, is by far insufficient. The graph storehouse is the sole picture is essential, but must form the user graphical interface which organic, may operate, but also needs the backstage to have one stably, the function formidable operating system platform.

      The service platform basis user’s outside input (is generally keyboard), as well as system current condition decision next step system’s condition, thus transfers the corresponding GUI contact surface. So, then has realized the user graphical interface.

    Realizes the presente in figures and diagrams hardware principle

      What RIGOL the DS1000 series digital oscilloscope uses is 320×234 the resolution TFT liquid-crystal display, through the liquid crystal driving circuit, may cause the liquid crystal to demonstrate normally, through the frame signal synchronization, the good signal synchronization, the data signal’s clock (clock) the synchronization, demonstrated the lattice the data will be read from SDRAM in liquid-crystal display’s demonstration buffer, thus demonstrates the color image.

      May see from Figure 1, if must renew the content which the liquid-crystal display demonstrated that we only need renew in LCDbuffer the demonstration data to be possible.

    User graphical interface (GUI) software’s design mentality

    Contact surface type division

      Regarding user graphical interface (GUI) the design cannot simple, unified completion, must consider user’s in each kind of situation operation contact surface. Common ground which has according to these contact surfaces, we divide into these contact surfaces the following type, in the identical type’s contact surface will have same or similar function region. Each kind of contact surface will have the corresponding disposal procedure, also will have the special construction of data.

      According to the different function which realizes divides the following contact surface type:

      A. background grid demonstration contact surface; B. profile demonstration contact surface; C. help documents browsing contact surface; D. menu demonstration contact surface; E. document management browser contact surface; F. document name input contact surface; The J. prospect content demonstration contact surface (including each kind of parameter displayed information, surveys information as well as prompting message and so on).
    Various contact surfaces plant as for example Figure 2, 3 to show.


    Figure 2 RIGOL the DS1000 digital oscilloscope graphical interface explains 1


    Figure 3 RIGOL the DS1000 digital oscilloscope graphical interface explains 2

    Contact surface region and outside input mutual coordinate response

      May know, the graph which by above demonstrated that although of all forms, but they may become abstractly have the common attribute some kind of construction of data. The construction of data is just like is the graphical interface soul, has grasped the construction of data, may let the graphical interface changes along with it.

      How then to design, the control, to change these construction of data to become realizes the user graphical interface (GUI) was essential. Must respond the outside user the input, we need to formulate a set of mechanism movement principle, but this set of mechanism movement principle is the state machine (system status machine), is also the user uses to operate instrument’s service platform (operation platform). Based on this set of movement principle, our system changes the construction of data which according to the outside input under each kind of contact surface uses, thus realizes the user to the graphical interface operation.

      Certainly, in the actual design, the service platform is not only changes GUI the construction of data, but must consider in the task scheduling as well as other duty module construction of data change.

    Digital oscilloscope’s user graphical interface (GUI) software design flow

      Designs a good user graphical interface, is one huge and the great thin project. Involves to the aspects reciprocity, also involves to realizes in the process many detail questions.

      How clears off these many change relations are the design key. The RIGOL team once used some global variable to take under each condition, each kind of pattern symbol, with changes the user the graphical interface. But because of variable numerous, causes between the variable matching possible increase doubled and re-doubled, condition shift relations also increase doubled and re-doubled. This regarding the programmer, is in the programming, the might as well said that is making together the extremely numerous and disorderly logical group synthesis.

      Therefore, such mentality is theoretically feasible, but may not take in reality. We should as far as possible go to its branches and leaves, found can pass through the overall system, the sign different condition as well as the pattern variable or the structure. Finally, we take keyboard’s input key value as the master lines, auxiliary by each kind of global variable, control system condition change. Although the key value has many, but because only then such a variable takes the condition quantity, system mode’s change might during the control. Therefore, in this system, key value variable KEY_ID has become the lead, the user interface will revolve it to carry on the change.

      Key value variable KEY_ID must carry on the change according to user’s input. How doesn’t here describe the state variable is shifts. We introduced that regarding key value variable KEY_ID which decides is how completes the user graphical interface output. Figure 4 is realizes the user graphical interface software flow chart.


    Figure 4 RIGOL the DS1000 series oscilloscope digit realizes the user graphical interface software flow chart

    Conclusion

      At present, the domestic digital oscilloscope, is low besides measuring signal’s performance index, in system’s in integrity, user’s functions and so on feasibility is inferior to the foreign product to consider minutely.

      In order to make up the domestic product in this aspect flaw, the RIGOL development team develops this section of DS1000 series digital oscilloscope besides realizes high functions and so on memory depth, high measuring accuracy, has paid great attention the graphical user interface design. Continues maintains it innovation and user-friendly, the localilzation superiority technically, the new user graphical interface enabled the user to be able to be formerly easier than to survey and the analysis profile.

      Increases along with instrument’s function, (GUI) will set a higher request to the user graphical interface, will then request GUI systematized, the modulation, the functionalization. Therefore, also has many work in this aspect to do.

    admin20060421114248.gif

    admin20060421114306.gif

    admin20060421114313.gif

    admin20060421114322.gif

    Share/Save/Bookmark

No comments yet.

Leave a comment

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

TOP
Copyright © 2008 51 Research and Design, Electronic Engineers website - Embedded Systems, MCU, DSP, EDA, Test and Measurement, Components, Communications, Power, Microelectronics, Semiconductors
Powered by WordPress | Theme by mg12 | Valid XHTML 1.1 and CSS 3