A dynamic-link library (DLL) contains one or more subprogram procedures
(functions or subroutines) that are compiled, linked, and stored separately from
the applications using them. Because the functions or subroutines are separate
from the applications using them, they can be shared or replaced easily.
基于USB接口的數(shù)據(jù)采集模塊的設計與實現(xiàn)Design and Implementation of USB-Based Data Acquisition Module路 永 伸(天津科技大學電子信息與自動化學院,天津300222)摘要文中給出基于USB接口的數(shù)據(jù)采集模塊的設計與實現(xiàn)。硬件設計采用以Adpc831與PDIUSBDI2為主的器件進行硬件設計,采用Windriver開發(fā)USB驅動,并用Visual C十十6.0對主機軟件中硬件接口操作部分進行動態(tài)鏈接庫封裝。關鍵詞USB 數(shù)據(jù)采集Adpc831 PDNSBDI2 Windriver動態(tài)鏈接庫Abstract T hed esigna ndim plementaitono fU SB-BasedD ataA cquisiitonM oduleis g iven.Th ec hips oluitonm ainlyw ithA dpc831a ndP DTUSBD12i sused for hardware design. The USB drive is developed場Wmdriver, and the operation on the hardware interface is packaged into Dynamic Link Libraries場Visual C++6.0. Keywords USB DataA cquisition Adttc831 PDfUSBD12 Windriver0 引言US B總 線 是新一代接口總線,最初推出的目的是為了統(tǒng)一取代PC機的各類外設接口,迄今經(jīng)歷了1.0,1.1與2.0版本3個標準。在國內(nèi)基于USB總線的相關設計與開發(fā)也得到了快速的發(fā)展,很多設計者從各自的應用領域,用不同方案設計出了相應的裝置[1,2]。數(shù)據(jù)采集是工業(yè)控制中一個普遍而重要的環(huán)節(jié),因此開發(fā)基于USB接口的數(shù)據(jù)采集模塊具有很強的現(xiàn)實應用意義。雖然 US B總線標準已經(jīng)發(fā)展到2.0版本,但由于工業(yè)控制現(xiàn)場干擾信號的情況比較復雜,高速數(shù)據(jù)傳輸?shù)目煽啃圆蝗菀妆槐WC,并且很多場合對數(shù)據(jù)采集的實時性要求并不高,開發(fā)2.0標準產(chǎn)品的成本又較1.1標準產(chǎn)品高,所以筆者認為,在工業(yè)控制領域,目前開發(fā)基于USB總線1.1標準實現(xiàn)的數(shù)據(jù)采集模塊的實用意義大于相應2.0標準模塊。
Introduction
A shared library is a collection of functions that are available for use by one or more applications running on a system. On Windows operating systems, the library is compiled into a dynamic link library (.dll) file. At run-time, the library is loaded into memory and made accessible to all applications.
This application note is used to demonstrate the use of MATCOM software (by Mathtools Corporation)
to generate Dynamic Link Library files (*.dll files) that can be used with ACOLADE.
GPS 接收程序 DEMO。
HsGpsDll Library 1.1
A GPS Control/Component for C/C++
HsGpsDll is a Windows Dynamic Link Library which provides access to any NMEA-183 compliant GPS receiver via a serial communications port. HsGpsDll is designed for use from Visual C, Visual Basic or other languages, capable of calling DLL functions. HsGpsDll allows a user application to read from a GPS device the current GPS position fix, velocity over ground (speed in kilometers per hour), plus number of of sattelites in view, current altitude (against mean sea level) and UTC date and time
Windows applications using C++ and the Microsoft Foundation Class (MFC) library. The text builds from the ground up, first describing the Windows architecture and showing how MFC works with that architecture next covering the document/view framework that simplifies the creation of industrial-strength programs and finally illustrating advanced concepts like the usage of dynamic link libraries (DLL), creating Internet clients, and building form-based applications.
Professional MFC.
Chapter 1: The Microsoft Developer Studio
Chapter 2: The Wizards and The Gallery
Chapter 3: The Application Architecture Hierarchy
Chapter 4: The Document/View Architecture
Chapter 5: Using Dialogs and Controls in MFC
Chapter 6: User Interface Issues
Chapter 7: Advanced User Interface Programming
Chapter 8: Using the Windows Common Controls
Chapter 9: Writing Programs for the Windows Shell
Chapter 10: Utility and Exception Classes
Chapter 11: Writing Multithreaded Applications with MFC
Chapter 12: Creating dynamic-link Libraries
Chapter 13: Writing Database Applications
Chapter 14: Writing OLE Containers
Chapter 15: Writing OLE Servers
Chapter 16: ActiveX Controls
Chapter 17: ActiveX Control Containers
Chapter 18: Internet Client Programming
Chapter 19: Internet Server Programming
Appendix A: Installing Visual C++