完整版毕业设计外文翻译90606820Word文件下载.docx

上传人:b****4 文档编号:8262543 上传时间:2023-05-10 格式:DOCX 页数:13 大小:28.05KB
下载 相关 举报
完整版毕业设计外文翻译90606820Word文件下载.docx_第1页
第1页 / 共13页
完整版毕业设计外文翻译90606820Word文件下载.docx_第2页
第2页 / 共13页
完整版毕业设计外文翻译90606820Word文件下载.docx_第3页
第3页 / 共13页
完整版毕业设计外文翻译90606820Word文件下载.docx_第4页
第4页 / 共13页
完整版毕业设计外文翻译90606820Word文件下载.docx_第5页
第5页 / 共13页
完整版毕业设计外文翻译90606820Word文件下载.docx_第6页
第6页 / 共13页
完整版毕业设计外文翻译90606820Word文件下载.docx_第7页
第7页 / 共13页
完整版毕业设计外文翻译90606820Word文件下载.docx_第8页
第8页 / 共13页
完整版毕业设计外文翻译90606820Word文件下载.docx_第9页
第9页 / 共13页
完整版毕业设计外文翻译90606820Word文件下载.docx_第10页
第10页 / 共13页
完整版毕业设计外文翻译90606820Word文件下载.docx_第11页
第11页 / 共13页
完整版毕业设计外文翻译90606820Word文件下载.docx_第12页
第12页 / 共13页
完整版毕业设计外文翻译90606820Word文件下载.docx_第13页
第13页 / 共13页
亲,该文档总共13页,全部预览完了,如果喜欢就下载吧!
下载资源
资源描述

完整版毕业设计外文翻译90606820Word文件下载.docx

《完整版毕业设计外文翻译90606820Word文件下载.docx》由会员分享,可在线阅读,更多相关《完整版毕业设计外文翻译90606820Word文件下载.docx(13页珍藏版)》请在冰点文库上搜索。

完整版毕业设计外文翻译90606820Word文件下载.docx

Labviewprogramming

Thepressureswitchtestsystem,involvinganimportantconcept:

thevirtualinstrument.VirtualinstrumentistheUnitedStatesNationalInstrumentsCorporation(Nl)outoftheconceptofmoderncomputertechnologyandinstrumentationtechnologyin-depthintegrationoftheproduct.VirtualInstrument"

virtual"

Therearetwolevelsofmeaning:

1.Avirtualcontrolpanel,twovirtualtestandmeasurementandanalysis.Virtualinstrumentischaracterizedby.NI'

swithdrawalfromaprofessionalgraphicalprogrammingsoftwaretodesignanddevelopmentofvirtualinstruments,thatis,Labiew.

LabVIEW,shortforLaboratoryVirtualInstrumentEngineeringWorkbench,isaprogrammingenvironmentinwhichyoucreateprogramsusingagraphicalnotation(connectingfunctionalnodesviawiresthroughwhichdataflows);

inthisregard,itdiffersfromtraditionalprogramminglanguageslikeC,C++,orJava,inwhichyouprogramwithtext.However,LabVIEWismuchmorethanaprogramminglanguage.Itisaninteractiveprogramdevelopmentandexecutionsystemdesignedforpeople,likescientistsandengineers,whoneedtoprogramaspartoftheirjobs.TheLabVIEWdevelopmentenvironmentworksoncomputersrunningWindows,MacOSX,orLinux.LabVIEWcancreateprogramsthatrunonthoseplatforms,aswellasMicrosoftPocketPC,MicrosoftWindowsCE,PalmOS,andavarietyofembeddedplatforms,includingFieldProgrammableGateArrays(FPGAs),DigitalSignalProcessors(DSPs),andmicroprocessors.

Usingtheverypowerfulgraphicalprogramminglanguagethatmany

LabVIEWusersaffectionatelycall"

G"

(forgraphical),LabVIEWcanincreaseyourproductivitybyordersofmagnitude.Programsthattakeweeksormonthstowriteusingconventionalprogramminglanguagescanbecompletedinofideas,generalprogramming,oreventeachingbasicprogrammingconcepts.

Labiewfeaturecontinuouslyenrichedandpowerful,Labiewusedfordataacquisitionandcontrol,dataanalysisanddatarepresentation,sothatengineersandscientiststotakefulladvantageofPCfunctions,quicklyandeasilycompletetheirownpowertomake.Labviewmainfeaturescanbesummarizedasfollows:

agraphicalenvironmentfortwoinstrumentsintoabuilt-inprogramcompiler,sothatrunfasterthreeflexiblemeansoffoursupportsmultipledebuggingplatform5supportsDDEfunctions.

Labiewyearsofdevelopmentfrom1986tonow,supportmultiplepopularoperatingsystems,Labviewmaincourseofdevelopmentareasfollows:

1.1983yearsinApril,LabviewDevelopmentSystemintheUnitedStatesAustin,Texas,thesuccessfuldevelopmentof

2.佃85-yearinMay,NIintroducedtheLabviewBetatestversion

3.佃86-yearinOctober,NIcompanyofficiallyreleasedtheLabview1.0forMacintoshversionofthe

4.佃90-yearinJanuary,Labview2.0came

5.1992-yearinAugustinsupportofSUNSolarisworkstationandPC-Labviewversionavailable

6.1993-yearinJanuary,Labview3.0versionisdeveloped

7.1998-yearinFebruary,Labview5.0versionavailable,thisversionisa

milestoneinthetheLabview7series,introducedanewdatatype-DynamicDataTypes

9.2005years,Labview8versionoftheinterview,theversionofthespecificdistributed,intelligentoutstandingfeatures

10.2006,the20thanniversaryeditionofLabview8.20aninterview.8.21istheChineseversionof

11.2007-yearinAugust,Labview8.5available

12.2008-yearinAugust,Labview8.6versionavailable

After20yearsofcontinuousinnovation,development,Labviewtorelyontheconceptofanewanduniqueadvantages,andefficientandpowerful,andopenthethreebasiccharacteristics,andgraduallybecometheindustrystandard.

TheabovedescribesthecharacteristicsofLabviewanddevelopment,describedbelow

Typically,avirtualinstrumentdesignstepsareasfollows:

(1).Inthedesignwindow,placethefrontpanelcontrols,frontpanelusingthetooltemplatedevelopmentwindow,thecorrespondingtools,fromthecontroltemplateandplaceagoodaccesscontrolisneededtocarryoutparametersettingcontrolproperties,stickerstextdescriptiontag.

(2).Intheflowcharteditingwindow,placethenodes,frame,intheflowcharteditingwindow,usethetooltemplatecorrespondingtools,fromafunctionaltemplateandputagoodaccesstotherequiredicon,theyaretheflowchartinthe"

nodes"

"

frame."

(3).Thedataflowprogramming,dataflowusingtheconnectiontoolaccordingtothedirectionoftheport,node,frameinturnconnectedto

datafromthesourcesenttotheprescribedpurposeterminaloperatingmode.

(4).Runtest,whenthecompletionofstep(a),

(2),(3),thefrontpanelprocedureandflowchartgraphicdesignprogramiscompleted,avirtualinstrumentbasicallyestablished,whethertoachievethedesiredfunctionality,needtorunthetest.Therearetwokindsoftestmethods.

a.SimulationTest:

donotuseIOinterfacetestsonthesignaldataisfrom"

array"

or"

signal-generatingfunction,"

resulting"

emulationsignal."

b.Measuredtest:

itisthroughtheIOinterfacetotestinexperimentaltestscarriedoutpriortothevirtualinstrumentuniqueadvantagebecauseofitsrepeatedtesting,debugging,andconstantlyimprovetheimprovementofvirtualinstrumentisextremelyconvenient,isatraditionalinstrumentcannotbeusedintestmethods.

⑸.debuggingtechniques,usethetoolbarshortcut"

Run"

"

of"

Step"

Breakpointset"

tothefollowingstepstoprogramdebugging.

a.toidentifygrammaticalerrors,ifthereisasyntaxerror,thenwhenstarttheShortcutBar"

button,thebuttonbecomesabrokenarrow,theprogramcannotperform.Mouseclickonthebutton,alistwillpopupanerrorwindow,thewindowlistedinthewrongitem,andthenclickanyoneofthelistederrors,clickthe"

Find"

functionbutton,thentheerrorobject,ortheportwillbechangedbright.

b.slowtrackingprogramrunning,usetheshortcutinthetoolbar'

s"

button,clickthebutton,thebuttoniconbecomesclick"

button,theprogramonaslowerspeed.Theimplementationofthecodewasnotgrayedoutaftertheimplementationofthecodethevalueofthedatastream.Thisallowsthedataflow,andtracktheimplementationoftheprocedures.

c.breakpointsandsingle-step,inordertochecktheprogramlogicerror,youmaywanttoprogramablockdiagramnodeinanodeimplementation.Breakpointtooltouseacertainlocationintheprogramtosuspendprogramexecution,usingprobesorsingle-stepwaystoviewthedata.

d.settheprobe,youcanviewtheblockdiagrambysettingtheprobetoopenaconnectionprocedurebyadatavalue.

(6).dataobserved,whentheinspectionobservationswerefoundtoerror,themouseclick"

HighlightExecution"

button,andobservethevariousnodesinthedatastreamvalues.

(7).namedSave,savethedesignedI.

翻译

(一):

Labiew的程序设计

压力开关测试系统,涉及到一个重要的概念:

虚拟仪器。

虚拟仪器是美国国家仪器公司(简称NI)退出的概念,是现代计算机技术和仪器技术深层次结合的产物。

虚拟仪器的“虚拟”有两个层面的意思:

1.虚拟的控制面板,2虚拟的测量测试与分析。

拟仪器特点是性能高,扩展性强,开发时间少,无缝集成。

NI公司退出一个专业图

形化编程软件来设计开发虚拟仪器,就是Labiew.

Labview是LaboratoryVirtualInstrumentEngineeringWorkbench的英文缩写,它

是一种图形化的编程环境,使用图形化的符号来创建程序(通过连线把函数节点连接起来,数据就是在这些连线上流动的);

在这点上,它不同于传统的文本编程语言像

C,C++,或者Java。

然而,LabVIEW不仅仅是一种编程语言,它是专门为那些工作中需要大量编程的工程师和科学家们设计的一种交互式的程序程开发和执行的系

统。

LabVIEW开发环境可以工作在装有Windows,MacOSX,或Linu任何一种操

作系统的计算机上。

LabVIEW创建的程序可以在上述平台上运行,同时也可以运行

于MicrosoftPocketPC,MicrosoftWindowsCE,PalmOS和大量的嵌入式平台,包

括现场可编程门阵列(FPGAs),数字信号处理器(DSPs)和微处理器。

许多使用功能强大的图形化编程语言LabVIEW的用户亲切的称之为“G'

语言(取自

graphical),LabVIEW能够让你的开发效率提高几个数量级。

使用传统语言可能需

要几周或者几个月才能完成的程序,如果用LabVIEW编写,几个小时就能完成,其

中一个原因是LabVIEW是专为用户设计的,用来进行测量,分析数据和显示结果。

另一个原因是LabVIEW有丰富的图形化用户接口(GUI),使用这些接口使编程变得很容易。

它也非常适合用来进行仿真,表述思想,编写一般程序,或者讲述基本

编程概念。

Labiew的功能不断丰富和强大,Labiew用来进行数据采集与控制,数据分析和数据表达,使工程师和科学家能充分利用PC的功能,快速简便的完成自己的功作。

Labview主要特点可以概括如下:

1图形化的仪器变成环境2内置的程序编译器,使运行速度加快3灵活的程序调试手段4支持多种系统平台5支持DDE等功能。

Labiew从佃86年发展至今,已经推出数个不同版本,可以支持多个目前流行的操作

系统,Labview主要发展历程如下:

I.1983年4月,Labview开发系统在美国德克萨斯州奥斯汀研制成功

2.佃85年5月,NI公司推出了LabviewBeta测试版

3.佃86年10月,NI公司正式发布了Labviewl.0forMacintosh版本

4.1990年1月,Labview2.0问世

5.佃92年8月,支持SUNSolaris工作站和PC的Labview版本面世

6.佃93年1月,Labview3.0版本开发完成

7.佃98年2月,Labview5.0版本面世,该版本是Labview历史上有一个里程碑

8.2003年,Labview7Express和Labview7系列开始推向市场,在Labview7系列中,

引入了新的数据类型一动态数据类型

9.2005年,Labview8版本面试,该版本具体分布式,智能化的优异特性

10.2006年,20周年纪念版Labview8.20面试。

8.21是中文版本

II.2007年8月,Labview8.5面世

12.2008年8月,Labview8.6版本面世

经过20年的持续创新,发展,Labview依靠全新的概念和独特的优势,并一直

保持着高效和强大和开放这3个最基本的特征,逐步成为业界标准。

上面介绍了Labview的特点与发展,下面介绍虚拟仪器是怎么样设计的

通常,一个虚拟仪器的设计步骤如下:

(1).在前面板上设计窗口放置控件,在前面板开发窗口使用工具模板中的相应工

具,从控制模板中取用和放置好所需控件,进行控件属性参数设置,标贴文字说明标签。

(2).在流程图编辑窗口,放置节点、图框,在流程图编辑窗口,使用工具模板中

相应工具,从功能模板中取用并放置好所需图标,它们是流程图中的节点”图框

(3).数据流程编程,使用连线工具按数据流的方向将端口、节点、图框依次相连,实现数据从源头按规定的运行方式送到目的终点。

(4).运行检验,当完成步骤

(1)、

(2)、(3)后,前面板程序与流程图图形化程序的设计完毕,一个虚拟仪器已经基本建立,是否达到预期功能,还需运行检验。

有如下两种检验方式。

a.仿真检验:

不使用10接口硬件设备。

对I检验运行所需的信号数据采用由数组”

或信号生成函数”产生的仿真信号”。

b.实测检验:

它通过I0接口硬件设备,采集输入标准信号,来检验虚拟仪器功能。

仿真检验在实测检验之前进行,是虚拟仪器所特有的优势,因为它对反复检验,调试,

不断完善改进虚拟仪器极为方便,是传统仪器无法采用的检验手段。

(5).程序调试技术,利用快捷工具栏中的运行”高亮执行”、单步执行”断点设置”进行以下程序调试步骤。

a.找出语法错误,如果存在语法错误,则当启动快捷工具栏的运行”按钮时,该按钮

变成一个折断的箭头,程序不能执行。

鼠标单击该按钮,则将弹出错误清单窗口,窗口中列出错误的项目,然后单击其中任何一个所列出的错误,单击“Find功能按钮,

则出错的对象或端口就会变亮。

b.慢速跟踪程序的运行,利用快捷工具栏中的高亮执行”按钮,单击该按钮,该按钮

图标变成高亮形式,再单击运行”按钮,程序就以较慢的速度运行。

没有被执行的代

码灰色显示,执行后的代码高亮显示,并显示数据流上的数据值。

这样,就可以根据数据流动状态,跟踪程序的执行。

c.断点与单步执行,为了查找程序中逻辑错误,你也许希望框图程序一个节点一个节

点地执行。

使用断点工具可以在程序的某一地点中止程序执行,用探针或者单步执行

方式查看数据。

d.设置探针,可以通过设置探针开查看框图程序经某一根连线的数据值。

(6).数据观察,当检查观察中发现有错误时,鼠标单击“HighlightExecution按钮;

观察数据流中各个节点的数值。

(7).命名存盘,保存设计好的I。

夕卜文资料

(二):

ANano-TuneablePressureSwitchSystemDesignBasedOnSingleWallCarbonNanotubes

S.S.Hos

展开阅读全文
相关资源
猜你喜欢
相关搜索
资源标签

当前位置:首页 > IT计算机 > 电脑基础知识

copyright@ 2008-2023 冰点文库 网站版权所有

经营许可证编号:鄂ICP备19020893号-2