资源描述:
《硕士论文基于pci的wdm驱动程序设计》由会员上传分享,免费在线阅读,更多相关内容在学术论文-天天文库。
1、摘要随着航空科技的进步,航空发动机性能得到了很大程度的提高。应某单位发动机试验台的测试需要,我们承担并成功研制了一套航空发动机转速摆动、燃油流量脉动、脉动压力多通道综合参数测试系统。该系统以其实时数据采集、高速数据传输、多通道并行工作、操作简单、可扩展性好等诸多优点得到了专家及用户的首肯。它的问世,大大提高了航空发动机参数测试的精确度,缩短了测试周期。本文以这套系统的转速、流量采集模块为蓝本,结合图表及源代码介绍PCI接口设计,Windows2000WDM驱动程序的设计和源代码实现,上层总控软件的设计和源代码实现等主要内容。本文着重对PCI9052桥接芯片实现PCI接口,
2、WDM驱动程序构造方法,驱动程序I/O传输操作,驱动程序各例程的主要代码实现,多线程完成多模块并行操作,LabWindows/CVI实现虚拟仪器设计,套接字Socket实现网络传输等关键技术进行详细阐述。关键词:PCI总线DriverStudioWindows2000WDM驱动程序多线程网络传输LabWindows/CVI虚拟仪器数据采集ABSTRACTWiththerapiddevelopmentofaviationscienceandtechnology,onalargeextent,thecapabilityofaviationenginehasbeenimprov
3、ed.Tomeettherequirementofmeasuringakindofaviationengine,wesuccessfullydevelopedasuitofmulticenterintegratedparameterstestingsystemfortheaviationengine.Theseparametersincludetherotationalspeedswing,thefuelfluxpulseandpulsepressure.Thissystemhasachievedthenodapprovalofexpertsandconsumerbyit
4、smanymerits,suchasreal-timedataacquisition,high-speeddatatransferring,multicenterparallelworking,operationsimplyandgoodexpansibility.Wecansafelysay,theprecisionofaviationengineparameterstestingwillbeimprovedandthetestingperiodwillbeshortenedbyitscomingout.Inthisthesis,accordingtotherotati
5、onalspeedandfluxdataacquisitionmodel,wemainlyintroducethedesignofPCIinterface,designandprogramWDMdriveronWindows2000andthetotalcontrolapplicationsoftwareofhighlayerusedbygraphandsourcecode.ThisthesisemphasizeondesignPCIinterfacebasedonPCI9052chip,theconstitutionwayofWDMdriver,theI/Otransf
6、erinterfaceofdriver,thesourcecodeofdriver’sroutine,theparalleloperationmulti-modulethroughmultithreading,thedesignofvirtualinstrumentbyLabWindows/CVI,andexpatiateonnetworktransferbyMFCsocketfunction.Keywords:PCIBusDriverStudioWindows2000WDMdriverMultithreadingNetworktransferLabWindows/CVI
7、VirtualInstrumentDataAcquisition摘要IABSTRACTII第一章引言11.1课题背景11.2本人的工作11.3采集系统总体介绍21.3.1用户需求21.3.2采集系统总体结构21.4采集系统硬件概述31.4.1硬件总体框图31.4.2采集板卡工作机理41.4.3采集板卡工作原理41.4.4采集板卡的主要特点51.5采集系统软件概述51.6本论文结构及各章内容安排51.7本章小结6第二章PCI局部总线及其接口的实现72.1微机总线技术的发展72.2PCI局部总线概述82.2.1PCI总线的特点82