




已阅读5页,还剩12页未读, 继续免费阅读
版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领
文档简介
第1页外文文献资料LabVIEWLabVIEWisahighlyproductivegraphicalprogramminglanguageforbuildingdataacquisitionaninstrumentationsystems.WithLabVIEW,youquicklycreateuserinterfacesthatgiveyouinteractivecontrolofyoursoftwaresystem.Tospecifyyoursystemfunctionality,yousimplyassembleblockdiagrams-anaturaldesignnotationforscientistsandengineers.Tistightintegrationwithmeasurementhardwarefacilitatesrapiddevelopmentofdataacquisition,analysis,andpresentationsolutions.LabVIEWcontainspowerfulbuilt-inmeasurementanalysisandagraphicalcompilerforoptimumperformance.LabVIEWisavailableforWindows2000/NT/Me/9x,MacOS,Linux,SunSolaris,andHP-UX,andcomesinthreedifferentdevelopmentsystemoptions.FasterDevelopmentLabVIEWacceleratesdevelopmentovertraditionalprogrammingby4to10times!WiththemodularityandhierarchicalstructureofLabVIEW,youcanprototype,design,andmodifysystemsinashortamountoftime.YoucanalsoreuseLabVIEWcodeeasilyandquicklyinotherapplications.BetterInvestmentUsingaLabVIEWsystem,eachuserhasaccesstoacompleteinstrumentationlaboratoryatlessthanthecostofasinglecommercialinstrument.Inaddition,userconfigurableLabVIEWsystemsareflexibleenoughtoadapttotechnologychanges,resultinginabetterbong-terminvestment.OptimalPerformanceAllLabVIEWapplicationsexecuteatcompiledspeedforoptimalperformance.WiththeLabVIEWProfessionalDevelopmentSystemorApplicationBuilder,youcanbuildstand-aloneexecutablesorDLLsforsecuredistributionofyourcode.YoucanevencreatesharedlibrariesorDLLsto第2页callLabVIEWcodefromotherprogramminglanguages.OpenDevelopmentEnvironmentWiththeopendevelopmentenvironmentofLabVIEW,youcanconnecttootherapplicationsthroughActiveX,theWeb,DLLs,sharedlibraries,SQL(fordatabases),DataSocket,TCP/IP,andnumerousotherprotocols.UseLabVIEWtoquicklycreatenetworkedmeasurementandautomationsystemsthatintegratethelatesttechnologiesinWebpublishingandremotedatasharing.LabVIEWalsohasdriverlibrariesavailableforplug-indataacquisition,signalconditioning,GPIB,VXI,PXI,computer-basedinstruments,serialprotocols,imageacquisition,andmotioncontrol.InadditiontotheLabVIEWdevelopmentsystems,NationalInstrumentsoffersavarietyofadd-onmodulesandtoolsetsthatextendthefunctionalityofLabVIEW.Thisenablesyoutoquicklybuildcustomizable,robustmeasurementandautomationsystems.LabVIEWDataloggingandSupervisoryControlModuleForhighchannelcountanddistributedapplications,theLabVIEWDateloggingandSupervisoryControlModuleprovidesacompletesolution.ThismoduledeliversI/Omanagement,eventloggingandalarmmanagement,distributedlogging,historicalandreal-timetrending,built-insecurity,configurablenetworkingfeatures,OPCdeviceconnectivity,andover3,300built-ingraphics.LabVIEWReal-TimeForapplicationsthatrequirereal-timeperformance,NationalInstrumentsoffersLabVIEWReal-Time.LabVIEWReal-TimedownloadsstandardLabVIEWcodetoadedicatedhardwaretargetrunningareal-timeoperatingsystemindependentfromWindows.LabVIEWVisionDevelopmentModuleTheLabVIEWVisionDevelopmentModuleisforscientists,automationengineers,andtechnicianswhoaredevelopingLabVIEWmachinevisionandscientificimagingapplications.TheLabVIEWVisionDevelopmentModuleincludesIMAQVision,alibraryofvisionfunctions,andIMAQVisionBuilder,aninteractiveenvironmentforvisionapplications.Unlikeanyothervisionproducts,IMAQVisionBuilderandIMAQVisionworktogethertosimplifyvisionsoftwaredevelopmentsothatyoucanapplyvisiontoyourmeasurement第3页andautomationapplications.CountlessApplicationsLabVIEWapplicationsareimplementedinmanyindustriesworldwideincludingautomotive,telecommunications,aerospace,semiconductor,electronicdesignandproduction,processcontrol,biomedical,andmanyothers,Applicationscoverallphasesofproductdevelopmentfromresearchtodesigntoproductionandtoservice.ByleveragingLabVIEWthroughoutyourorganizationyoucansavetimeandmoneybysharinginformationandsoftware.TestandMeasurementLabVIEWhasbecomeanindustry-standarddevelopmenttoolfortestandmeasurementapplications.WithTestStand,LabVIEW-basedtestprograms,andtheindustryslargestinstrumentdriverlibrary,youhaveasingle,consistentdevelopmentandexecutionenvironmentforyourentiresystem.ProcessControlandFactoryAutomationLabVIEWisusedinnumerousprocesscontrolandfactoryautomationapplications.ManyscientistsandengineerslooktoLabVIEWforthehighspeed,highchannelcountmeasurementandcontrolthatgraphicalprogrammingoffers.Forlarge,complexindustrialautomationandcontrolapplications,theLabVIEWDataloggingandSupervisoryControlModuleprovidesthesamegraphicalprogrammingasLabVIEW,butisdesignedspecificallyformonitoringlargenumbersofI/Opoints,communicatingwithindustrialcontrollersandnetworks,andprovidingPC-basedcontrol.MachineMonitoringandControlLabVIEWisidealformachinemonitoringandpredictivemaintenanceapplicationsthatneeddeterministiccontrol,vibrationanalysis,visionandimageprocessing,andmotioncontrol.WiththeLabVIEWplatformofproductsincludingLabVIEWReal-Timeforreal-timedeterministiccontrolandtheLabVIEWDataloggingandSupervisoryControlModule,scientistsandengineerscancreatepowerfulmachinemonitoringandcontrolapplicationsquicklyandaccurately.ResearchandAnalysisTheintegratedLabVIEWmeasurementanalysislibraryprovideseverythingyouneedinananalysispackage.ScientistsandresearchershaveusedLabVIEW第4页toanalyseandcomputerealresultsforbiomedical,aerospace,andenergyresearchapplications,andinnumerousotherindustries.Theavailablesignalgenerationandprocessing,digitalfiltering,windowing,curve-fitting,Forspecializedanalysis,suchasjointtime-frequencyanalysis,wavelet,andmodel-basedspectralanalysis,LabVIEWoffersthespeciallydesignedSignalProcessingToolset.TheSoundandVibrationToolsetoffersoctaveanalysis,averagedandnonaveragedfrequencyanalysis,transientanalysis,weightedfiltering,andsound-levelmeasurement,andmore.DrawYourOwnSolutionWithLabVIEW,youbuildgraphicalprogramscalledvirtualinstruments(VIs)insteadofwritingtext-basedprograms.Youquicklycreatefrontpaneluserinterfacesthatgiveyoutheinteractivecontrolofyoursystem.Toaddfunctionalitytotheuserinterface,youintuitivelyassembleblockdiagrams-anaturaldesignnotationforengineersandscientists.CreatetheFrontPanelOnthefrontpanelofyourVI,youplacethecontrolsanddatadisplaysforyoursystembyselectingobjectsfromtheControlspalette,suchasnumericdisplays,meters,gauges,thermometers,LEDs,charts,andgraphs.WhenyoucompleteandrunyourVI,youusethefrontpaneltocontrolyoursystemwhetheryoumoveaslide,zoominonagraph,orenteravaluewiththekeyboard.ConstructtheGraphicalBlockDiagramToprogramtheVI,youconstructtheblockdiagramwithoutworryingaboutthesyntacticaldetailsoftext-basedprogramminglanguages.Youdothisbyselectingobjects(icons)fromtheFunctionspaletteandconnectingthemtogetherwithwirestotransferdataamongblockdiagramobjects.Theseobjectsincludesimplearithmeticfunctions,advancedacquisitionandanalysisroutines,networkandfileI/Ooperations,andmore.DataflowProgrammingLabVIEWusesapatenteddataflowprogrammingmodelthatfreesyoufromthelineararchitectureoftext-basedprogramminglanguages.BecausetheexecutionorderinLabVIEWisdeterminedbytheflowofdatabetweennodes,andnotbysequentiallinesoftext,youcancreateblockdiagramsthat第5页executemultipleoperationsinparallel.Consequently,LabVIEWisamultitaskingsystemcapableofrunningmultipleexecutionthreadsandmultipleVIsinparallel.ModularityandHierarchyLabVIEWVIsaremodularindesign,soanyVIcanrunbyitselforaspartofanotherVI.YoucanevencreateiconsforyourownVIs,soyoucandesignahierarchyofVIsthatserveasapplicationbuildingblocks.Youcanmodify,interchange,andcombinethemwithotherVIstomeetyourchangingapplicationneeds.GraphicalCompilerInmanyapplications,executionspeediscritical.LabVIEWistheonlygraphicalprogrammingsystemwithacompilerthatgeneratesoptimizedcodewithexecutionspeedscomparabletocompiledCprograms.YoucanevenusetheLabVIEWprofilertoanalyseandoptimizetime-criticaloperations.Consequently,youincreaseyourproductivitywithgraphicalprogrammingwithoutsacrificingexecutionspeed.MeasurementsandMathematicsLabVIEWincludesavarietyofothermeasurementanalysistools.Examplesincludecurvefitting,signalgeneration,peakdetection,andprobabilityandstatistics.MeasurementanalysisfunctionscandeterminesignalcharacteristicssuchasDC/RMSlevels,totalharmonicdistortion(THD),impulseresponse,frequencyresponse,andcross-powerspectrum.LabVIEWuserscanalsodeploynumericaltoolsforsolvingdifferentialequations,optimization,rootfinding,andothermathematicalproblems.Inaddition,youcanextendthesebuilt-incapabilitiesbyenteringMATLABorHIQscriptsdirectlyinyourLabVIEWprograms.Forchartingandgraphing,youcanrelyonthebuilt-inLabVIEW2Dand3Dvisualizationtools.2DtoolsincludefeaturessuchasautoscalingXandYranges,reconfigurableattributes(point/linestyles,colors,andmore)andcursors,MicrosoftWindowsuserscanemployOpenGL-based3Dgraphsandthendynamicallyrotate,zoom,andpanthesegraphswiththemouse.DevelopmentSystemTheLabVIEWProfessionalDevelopmentSystemfacilitatesthedevelopment第6页ofhigh-end,sophisticatedinstrumentationsystemsfordevelopersworkinginteams,usersdevelopinglargesuitesofVIs,orprogrammersneedingtoadheretostringentqualitystandards.BuiltontheFullDevelopmentSystem,theProfessionalDevelopmentSystemalsoincludestheLabVIEWApplicationBuilderforbuildingstand-aloneexecutablesandsharedlibraries(DLLs)andcreatingdistributionkits.Inaddition,thedevelopmentsystemfurnishessourcecodecontroltoolsandoffersutilitiesforquantitativelymeasuringthecomplexityofyourapplications.Withgraphicaldifferencing,youcanquicklyidentifybothcosmeticandfunctionaldifferencesbetweentwoLabVIEWapplications.WeincludeprogrammingstandardsandstyleguidesthatprovidedirectionforconsistentLabVIEWprogrammingmethodology.ThesystemalsocontainsqualitystandardsdocumentsthatdiscussthestepsLabVIEWusersmustfollowtomeetinternalregulationsorFDAapproval.TheProfessionalDevelopmentSystemoperatesonWindows2000/NT/Me/9x,MacOS,HP-UX,andLinux.LabVIEWFullDevelopmentSystemTheLabVIEWFullDevelopmentSystemequipsyouwithallofthetoolsyouneedtodevelopinstrumentationsystems.ItincludesGPIB,VISA,VXI,RS-232,DAQ,andinstrumentdriverlibrariesfordataacquisitionandinstrumentcontrol.ThemeasurementanalysisaddDC/RMSmeasurements,singletoneanalysis,harmonicdistortionanalysis,SINADanalysis,limittesting,signalgenerationcapabilities,signalprocessing,digitalfiltering,windowing,curvefitting,statistics,andamyriadoflinearalgebraandmathematicalfunctions.ThedevelopmentsystemalsoprovidesfunctionsfordirectaccesstoDLLs,ActiveX,andotherexternalcode.OtherfeaturesofthesystemincludeWebpublishingtools,advancedreportgenerationtools,theabilitytocallMATLABandHiQscripts,3Dsurface,line,andcontourgraphs,andcustomgraphicsandanimation.TheFullDevelopmentSystemoperatesonWindows2000/NT/Me/9x,MacOS,HP-UX,andLinux.LabVIEWBasePackageUsetheLabVIEWBasePackage,theminimumLabVIEWconfiguration,fordevelopingdataacquisitionandanalysis,instrumentcontrol,andbasicdatapresentation.TheBasePackageoperatesonWindows2000/NT/Me/9x.DebugLicenseforLabVIEW第7页IfyoudeployLabVIEWapplications,includingLabVIEWtestsforusewithTestStand,thedebuglicenseallowsyoutoinstalltheLabVIEWdevelopmentsystemonthetargetmachinessoyoucanstepintoyourtestcodeforcompletetestdebugging.Thislicenseisnotintendedforprogramdevelopment.NationalInstrumentsLabVIEWisagraphicalprogramminglanguagethathasitsrootsinautomationcontrolanddataacquisition.Itsgraphicalrepresentation,similartoaprocessflowdiagram,wascreatedtoprovideanintuitiveprogrammingenvironmentforscientistsandengineers.Thelanguagehasmaturedoverthelast20yearstobecomeageneralpurposeprogrammingenvironment.LabVIEWhasseveralkeyfeatureswhichmakeitagoodchoiceinanautomationenvironment.Theseincludesimplenetworkcommunication,turnkeyimplementationofcommoncommunicationprotocols(RS232,GPIB,etc.),powerfultoolsetsforprocesscontrolanddatafitting,fastandeasyuserinterfaceconstruction,andanefficientcodeexecutionenvironment.Wediscussthemeritsofthelanguageandprovideanexampleapplicationsuitewrittenin-housewhichisusedinintegratingandcontrollingautomationplatforms.NILabVIEWasaPlatformforAutomationandInstrumentationOurexperiencecreatingbenchtopinstrumentationandintegratedautomationsystemshasvalidatedourchoiceofLabVIEWasanappropriatetool.LabVIEWenablesrapiddevelopmentoffunctionallyrichapplicationsappropriateforbothbenchtopapplicationsandlargerintegratedsystems.Onmanyoccasionswehavefoundthatprojectrequirementsareinitiallyilldefinedorchangeasnewmeasurementsornewassaysaredeveloped.Thereareseveralkeyfeaturesofthelanguagethatmakeitparticularlyusefulinanautomationenvironmentforcreatingapplicationstocontrolandintegrateinstrumentation,manageprocessflow,andenabledataacquisition.TurnkeyMeasurementandControlFunctionLabVIEWwasoriginallydevelopedforscientistsandengineers.ThelanguageincludesarichsetofprocesscontrolanddataanalysisfunctionsaswellasCOM,.NET,andsharedDLLsupport.Outofthebox,itprovidesturnkeysolutionstoavarietyofcommunicationprotocolsincludingRS232,GPIB,andTCP/IP.ControlstructuressuchastimedWhileLoopsallow第8页synchronizedandtimeddataacquisitionfromavarietyofhardwareinterfacessuchasPCI,USB,andPXI.DataSocketandVIServerDeploymentofanintegratedsystemwithmultiplecontrolcomputersrequirestheautomationcontrolapplicationtocommunicateremotelywithinstrumentdriversexistingonremotecomputers.LabVIEWsupportsadistributedarchitecturebyvirtueofenablingseamlessnetworkcommunicationthroughtechnologiessuchasVIServerandDSTP(datasocketstransferprotocol).DSTPisanapplicationlayerprotocolsimilartohttpbasedonTransmissionControlProtocol/InternetProtocol(TCP/IP).Datasocketsalloweasytransferofdatabetweenremotecomputerswithbasicreadandwritefunctions.ThroughVIservertechnology,functioncallscanbemadetoVIsresidingonremotecomputersasthoughtheyareresidingonthelocalcomputer.BothDatasocketsandVIservercanbeconfiguredtocontrolaccessesprivileges.SimpleUserInterface(UI)ImplementationInadditiontocommoninterfacecontrolssuchastextboxes,menurings,andcheck-boxes,LabVIEWprovidesarichsetofUIcontrols(switches,LEDs,gauges,arraycontrols,etc.)thatarepertinenttolaboratoryequipment.ThesehavetheiroriginsinLabVIEWslaboratoryrootsandhelpindevelopmentofinterfaceswhichgivescientistsaclearunderstandingofasystemsstate.LabVIEWsupportsUIconceptsincludingsubpanels(similartotheMultipleDocumentInterface),splitterbars,andXControls(analogoustoOCXcontrols).MultithreadedProgrammingEnvironmentTheinherentparallelenvironmentofLabVIEWisextremelyusefulinthecontroloflaboratoryequipment.FunctionscanhavemultiplecontinuousWhileLoopswhereoneloopisacquiringdatarapidlyandtheotherloopprocessesthedataatamuchslowerrate.Implementingsuchaparadigminotherlanguagesrequirestriggeringanindependentfunctionthreadforeachprocessanddevelopinglogictomanagesynchronization.ThroughtimedWhileLoops,multipleindependentWhileLoopscanbeeasilysynchronizedtoprocessatadesiredperiodandphaserelativetooneanother.LabVIEWallowsinvoking第9页multipleinstancesofthesamefunctionwitheachmaintainingitsowndataspace.Forinstance,wecoulddragmanyinstancesoftheMeansub-VIontotheblockdiagraminFigure1bandtheywouldallruninparallel,independentofoneanother.Tosynchronizeorenforcecontrolflowwithinthedataflowenvironment,LabVIEWalsoprovidesfunctionssuchasqueues,semaphores,andnotificationfunctions.ASerialportisaverygeneralcomputerequipmentcommunicationprotocol(dontandUnicersalSerialBusUniversalBusorUSBconfusion).MostcomputercontainstwobasedonRS-232serialport.Aserialportisalsoinstrumentationequipmentgeneralcommunicationprotocol,manyGPIBcompatibledeviceswithRS-232alsomouth.Atthesametimeserialcommunicationcanalsobeusedtoobtaintheremotedataacqueisitiondevice.Theconceptofserialcommunicationisverysimple,accordingtoaserialport(bit)sendandreceivebytes.Althoughthaninbytes(anuploadedfileparallelcommunicationisslow,butintheuseofaserialportcansenddatalineatthesametimewiththeotheronelinereceivedata.itissimpleandcanrealizethelongdistancecommunication.ForexampleIEEE488definitionparallelstateoftraffic,regulationlineequipmentshallnotexceedthetotaloften20metersandbetweenanytwoofthelengthoftheequipmentisnomorethan2meters,andforaserialportisconcerned),lengthupto1200m.Typicall.AserialportforASCIIcharaterstransmission.Communicationusingthe3linecomplete:(1)groundlead,(2)tosend,(3)toreceive.Becauseisasynchronousserialcommunication,portcaninaroottosenddataandonlineinanotherrootonlinereceivedata.Otherlinesusedtoshakehands,butnotamust.Themostimportantparametersofserialcommunicationisbaudrate,databits,andstopbitsandparity.Fortwoforpopularport,theseparametersmustmatch:1,baudrate,thisisameasureoftheparametersofthecommunicationsspeed.Itsayseverysecondofthenumbersofbittransmission.Forexample300pottersayssend300biteveryseconds.Whenwetalkabouttheclockcycle,wemeansbaudrateforexampleifagreementneed4800baudratesoclockis4800HZ.Thismeansthatintheserialcommunicationdatasamplingratefor4800Hz.Usuallytelephonelineofbaudratefor14400288and36600.第10页Baudratecanbefargreaterthanthevalue,butbaudrateandisinverselyproportionaltothedistance.Highbaudrateoftenusedinplaceofverynearthecommunicationsbetweentheinstrument,atypicalexampleisGPIBequipmentcommunications.2.databits,itisthemeasureoftheactualcommunicationaparameter.Whenthecomputersendsapacket,theactualdatawontbeeight,standardvalueis5,7and8bits.Dependsonhowtosetupthetransferofinformationyouwant.Forexample,thestandardASCIIis0127(seven).ExtendedASCIIis0255(eight).Ifthedatausingthesimpletext(standardASCII),soeachpacketusesevendatadependsontheselectionofacommunicationprotocol,the“bag”referstoanycommunication.3andstopbits,usedtosaythelatestinasinglepackage.Thetypicalvalueis1,1.5andtwo.Sincethedataisinthetimingonatransmissionline,andeachdevicehasitsownclock,probablyinthecommunicationbetweentwosetsofequipmentinthesmallsynchronization.Sostopbitisnotjustsaidtheendoftransmission,andprovidetheopportunitytotheclocksynchronizationcomputercorrection.Applytostopbitsofdigits,themoredifferenttheclocksynchronizationoftolerance,thebiggerthedatatransferratebutalsomoreslowly.4,parityinserialcommunicationofdetectionofasimplewaywrong.Therearefourkindsofinspectionwrongway:accidentally,strange,highandlow.Ofcoursenoparitycantoo.ForIandcalibrationofstrangesituation,serialportswillsetparity(databitsofbehinda)withavaluetoensurethatthedatahaveaccidentallyoralogicshigh.Forexample,ifthedatais011,andsototheparitychecking,parityfor0,ensurethelogichighisevendigits.Ifbeoddcheck,checkdigita1,
温馨提示
- 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
- 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
- 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
- 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
- 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
- 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
- 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
最新文档
- 投标文件密封检查表
- Brand KPIs for health insurance:Plan Seguro in Mexico-英文培训课件2025.4
- 物理中考二轮复习教案 8实验专题2(力学)
- 仔细研读活动方案
- 仙林品牌活动策划方案
- 代理进货活动方案
- 以厂为家活动方案
- 以茶会友户外活动方案
- 仰韶酒厂活动方案
- TJSQA-温室气体 产品碳足迹量化方法与要求 铝合金型材产品
- 韧性理论与韧性城市建设
- 聚是一团火散是满天星增强班级凝聚力主题班会 课件(共27张PPT)
- 煤矿井下自救器使用指南
- EPC项目投标文件
- 广东省佛山市三水区、南海区2022-2023学年七年级下学期期末语文试题(含答案)
- 电力系统三相短路电流的计算课程设计论文
- 太阳能招标文件
- 部编版道德与法治五年级下册期末综合测试卷含答案(共6套)
- 六安市舒城县2023年六年级数学第二学期期末联考试题含解析
- 郑州市第四中学初一新生分班(摸底)数学模拟考试(含答案)【6套试卷】
- 高边坡专项检查记录表格
评论
0/150
提交评论