WinCE-based handheld ScopeMeter software design
- Author
- DangXiaoHui
- Advisor
- XieHua
- School
- University of Electronic Science and Technology
- Major
- Detection Technology and Automation
- Classification
- TM935.3 Oscilloscope
- Degree
- Master's thesis
- Year
- 2010
- Downloads
- 118
- Citations
- 3
Abstract
Oscilloscope as the basic tools for time - domain measurements of engineers, researchers , service personnel are widely used in various fields . With the development of the oscilloscope , function increasingly powerful volume as enhancements become huge , inconvenient to carry . Almost all the basic functions of the ScopeMeter oscilloscope , has the digital multimeter full functionality . Powerful , good portability ScopeMeter can apply to outdoor work and other occasions , with a wide range of market needs . The project hardware circuit ARM and FPGA core WinCE operating system running on ARM hardware platform . The project is WinCE operating system developed in Embedded Visual C integrated development environment for handheld ScopeMeter applications . This paper describes the use of object-oriented technology analysis and architecture handheld ScopeMeter software overall design . In the program , the software was stratified according to the logic function : the top is responsible for displaying the waveform results and receive user input , using the Microsoft Foundation Class Library MFC and double buffering graphics technology . The acquisition of the data processing layer and set in the middle layer encapsulation instrument driver level the ScopeMeter control and arithmetic logic using C and object-oriented thinking . The lowest level hardware control layer encapsulates the details of the intermediate layer and hardware communication , the middle layer can rise to the port concept to read and write hardware , virtual memory mapping technology and Win32 API . WinCE platform support provides a solid foundation for software developers . Joint commissioning and finally through the software testing hardware and software , handheld ScopeMeter horizontal system , vertical systems , the trigger system to meet the design requirements ; the multimeter modules of various measurement functions properly , are up to the indicator .
Table of contents
Abstract 4-5
ABSTRACT 5-8
first chapter 8-10
1.1 handheld oscilloscope table summarizes 8
1.2 domestic development 8-9
1.3 This design tasks 9-10
Chapter overall design 10-17
2.1 software design 10-11
2.2 oscilloscope module level division 11-12
2.3 software design platform 12-17
2.3.1 embedded operating system to compare and choose 12-13
2.3.2 software development environment is 13-14
2.3.3 EVC4.0 development and debugging environment Introduction 14-17
Chapter ScopeMeter module software detailed design 17-52
3.1 software design specification 17-21
3.1. a file structure 17-18
3.1.2 Class Design 18-19
3.1.3 code layout 19-20
3.1. 4 function and variable names 20
3.1.5 program efficiency 20-21
3.1.6 usual custom macros and functions 21
3.2 hardware access layer design 21-27
3.2.1 virtual address space 22-24
3.2.2 virtual address space is divided 24
3.2 .3 port mapping to achieve 24-27
3.2.4 hardware access layer module test 27
3.3 Set Collection Layer 27-38 <br / > 3.3.1 Channel Settings 28-30
3.3.1.1 Vertical sensitivity setting 29
3.3.1.2 offset setting 29
3.3.1.3 Coupling 29-30
3.3.1.4 channel switch 30
3.3.2 horizontally 30-34
3.3.2.1 memory depth and pre- trigger depth settings 31
3.3.2.2 timebase and adopted by way of setting 31-34
3.3.3 trigger setting 34-35 <br / > 3.3.4 Data Acquisition class 35-38
3.4 data processing layer is designed 38-40
3.4.1 decimation and interpolation module 38-39
3.4.2 parameter measurement module 39-40
3.4.3 waveform conversion module 40
3.5 display layer design 40-52
3.5.1 interface design 40-43
3.5.2 waveform display area 43-47
3.5.2.1 Waveform canvas to achieve 43-45 < br /> 3.5.2.2 arrow window controls to achieve 45-46
3.5.2.3 Automatic color control to achieve 46-47
3.5.2.4 Auto Hide label to achieve 47
3.5.3 Keyboard soft panel 47-48
3.5.3.1 touchscreen works 47
3.5.3.2 key display area 47-48
3.5.4 menus and measurement results show 48-52
3.5.4.1 menu design 48-51
3.5.4.2 Measurement Results Show 51-52
Chapter multimeter module software detailed design 52-57
4.1 multimeter hardware structure 52
4.2 serial communication 52-54
4.3 communication protocol 54-56
4.4 multimeter interface display 56-57
Chapter debugging and testing 57-65
5.1 debug programs 57-63
5.1.1 unit test 57-58
5.1.2 breakpoints 58-59 <br / > 5.1.3 DBWIN and TRACE macro 59
5.1.4 Instrument joint commissioning 59-63
5.2 debug problems found and solutions 63-65
Chapter VI Conclusion 65-66
Thanks 66-67
References 67-69
obtained during the study Shuo attack Results 69-70
Related dissertations
- Research and Implementation of Control System in Hematology Analyzer Based on WinCE
- High speed digital storage oscilloscope software design
- Human-computer Interface Design of the Resistance Welder Based on WinCE
- Design of Greenhouse Environment Remote Control System Based on MMS
- Software Design for Control System of Electro-hydraulic Three-axis Flight Simulator
- Research on Embedded Control Systems for Mobile Cleaning Robot
- The Design and Implementation of Smart Detection and Rescue Robot Based on the Arm Platform
- The Design and Implementation of Website Construction Based on OpenCms Technology
- Research on 3D virtual simulation servo system
- Research and Realization for the Image Processing System of Pharmacy Robot
- Research on Embedded Technology for Identifying Two Dimensional Trace Code of Citrus Fruits
- The laser stripe center detection algorithm and the application in the four wheel alignment tester.
- The Design and Implement of Network Streaming Media Player
- The Design and Realization of the WinCE-based Vehical Embedded Software System
- Design and Implementation of Materials Management System of Multi-level Educational Institutions
- Design and Implementation of Ji’nan Waterconservancy Bureau Covers Security Information System
- Design and Realization of Coal Parking Management System
- The Design and Implementation of Sinopec Sales Co.,Ltd Personnel Management System
- Design and Implementation of Tianhua College Office System
- Universities Fixed Asset Lifecycle Management System Design