USB interface device to access the virtual instrument

Author
NiuRuiFeng
Advisor
ZhongLanXiang
School
Northwestern University
Major
Circuits and Systems
Classification
TP336 Bus channel
Degree
Master's thesis
Year
2006
Downloads
388
Citations
1

Request the full text

Abstract

Along with USB technique development, more and more measuring instruments and meter have adopted the USB interface. But the access and control software of the USB equipment were only used in application level, and the consumer can’t do the second development. Many development platforms still lack the universal communication procedure module to the USB equipment similar to access serial equipments of RS-232 or the parallel GPIB equipment and the Ethernet network equipment.In order to conveniently manage and control USB devices, reduce difficulty, abate workload, shorten to develop cycle and raise universal in the development process of the USB equipment client application software, it is necessary to develop an USB universal communication procedure module that can be provided as the call of consumer procedure.In the VC++ development envioronment in the Windows operating system, the DLL of USB universal communication modules were developed, taking the USB webcam as the experimental object, according to the USB specification, using the method of the principle of Windows operating system I/O equipment drive and the dynamic link storehouse technology, calling Win32 API function. Then in the LabVIEW development platform of the virtual instrument, according to the principle which LabVIEW links with outer code and calling the DLL, the USB universal communication procedure module group were developed with the operating functions: equipment search, open and close, read and writ. And then in the same way, the universal communication procedure module group of the USB camera were developed in LabVIEW with the function of equipment search, open and close, read and writ, image display, video frame and image parameter demonstration and set up.Using the combined method of the dynamic link library technology and the principle which LabVIEW links with outer code, the task of accessing the bottom hardware can be realized which can’t be easy or unable to realized now, so that the capability of the virtual instrument is expanded. Speaking from the theories, any exterior equipment with the interface of USB and other can be controlled by the method. It was an attempt of the USB technology application in LabVIEW, and has higher reference value to the development of accessing other virtual instrument of the USB measure device.

Table of contents

First chapter 7-12 1.1 Background 7-9 1.1.1, USB Technology Overview 7-8 1.1.2 USB applications in the fields of test and measurement instrumentation 8-9 1.2 topics positioning its significance 1.3 Technical Research 9-10 1.4 the research experimental conditions, methods and main work 10-11 the 1.5 paper structure 11-12 second chapter studies the theoretical basis of the experimental design -33 2.1 USB architecture 12-25 2.1.1 USB architecture level of analysis 13-14 2.1.2 USB bus topology 14-18 2.1.3 USB traffic the 18-20 2.1.4 USB communication protocol 20-21 2.1.5 Data Transfer Type 21-23 2.1.6 USB and RS-232 23-25 ?? 2.2 Overview of the computer operating system device driver mechanism are found; 25-31 2.2 .1 operating system architecture 25-26 2.2.2 operating system's I / O subsystem 26-27 2.2.3 operating system, device drivers 27-28 2.2.4 WDM driver model 28-30 2.2.5 USB driver structure 30-31 2.3 research and experiments of design the 31-33 the 2.3.1 design ideas the 31-32 2.3.2 Experimental Procedure 32-33 Chapter Universal USB communication a DLL developed 33-50 3.1 the Win32 API and the dynamic link library to 3.1.1 the Win32 API 33-36 33-34 3.1. 2 dynamic link library 34 3.1.3 Dynamic Linking and statically linked 34-36 3.2 devices to access the function 36-45 3.2.1 Find equipment 39-43 3.2.2 read and write device 43-45 3.3 dynamic link file 45-50 3.3.1 Equipment check program modules 45-48 3.3.2 device to open the program module 48 3.3.3 device off module 48 3.3.4 Equipment reader module 48-50 Chapter experimental application development 50-63 4.1 LabVIEW and DLL calls 50-52 4.1 .1 LabVIEW programming features 50-51 4.1.2 LabVIEW dynamic link library call mechanism 51-52 4.2 Universal USB communication program development and validation of the module are found; nbsp dynamic link library function call; 52-54 4.2.1 the 52-54 4.2.2 communication program module completion and validation 54 430 multiple USB camera Video image acquisition software system development 54-63 4.3.1 DirectX and DirectShow architecture of 55-57 the 4.3.2 video image acquisition DLL development 57-60 a 4.3.3 multi USB camera video image capture system to complete 60-63 Chapter Summary and Outlook 63-65 5.1 summarize 63 5.2 papers deficiencies and Prospects 63-65 Ref. 65-67 Acknowledgements 67-68 <br / > Master in published papers read during 68

Related dissertations

  1. Research of Data Acquistion System Based on FPGA
    XuLongFei ·University of North ·2014 ·Master's thesis
  2. Multi functional comprehensive test instrument based on Virtual Instrument Technology
  3. Research and Implementation of Usbtmc Specification about Universal Test Instrument
  4. Design and development of laser gyro and USB interface frequency test system
  5. Design of Data Acquisition System Based on Cortex-M3and USB
    WangZiZhen ·Shanghai Jiaotong University ·2013 ·Master's thesis
  6. Design and Implementation of Virtual Instrument System Based on USB Bus
  7. Hardware&Software Implementation of Test Platform for Series Products
    HeAiJun ·Shanghai Jiaotong University ·2012 ·Master's thesis
  8. Design and Implementation of Driver Module Based on Android System
    WeiDeQiong ·Harbin Institute of Technology ·2013 ·Master's thesis
  9. Design and Realization of the Isochronous Transport Driver for Bluetooth USB Device on Linux
  10. Research and Design of Data Acquisition System Based on USB Interface
    ChenMingMing ·Wuhan University of Technology ·2008 ·Master's thesis
  11. Realization of intelligent instrument system based on embedded Linux and USB communication
    TuXiaoFeng ·Zhejiang University ·2004 ·Master's thesis
  12. USB-based Virtual Digital Oscilloscope
  13. Based on RTAI real-time data acquisition system and its implementation
    FangYuChuang ·Southwest Jiaotong University ·2008 ·Master's thesis
  14. The Design and Implementation of the cross Windows Mobile and Android -driven framework
  15. Fuzhou Mail Processing Center Optimization Research
    ZhuangYouLin ·Xiamen University ·2013 ·Master's thesis
  16. Research on the RIA-based Techniques for Remotely Monitoring and Controlling Experiments
  17. Research on Intelligent Fault Diagnosis Technique of Telemetering Equipment
    LiZhongWei ·Harbin Engineering University ·2013 ·Master's thesis
  18. The Design of Integrated Circuit Board Remote Maintenance Online Monitoring System
  19. Design of Security Surveillance System Based on Intelligent Video Analysis
  20. Development of Wet Gas Flow Measurement System
    AnJunDa ·Tianjin University ·2012 ·Master's thesis