




已阅读5页,还剩85页未读, 继续免费阅读
版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领
文档简介
VirtualInstrumentationWithLabVIEW,CourseGoals,UnderstandthecomponentsofaVirtualInstrumentIntroduceLabVIEWandcommonLabVIEWfunctionsBuildasimpledataacquisitionapplicationCreateasubroutineinLabVIEW,SectionI,LabVIEWtermsComponentsofaLabVIEWapplicationLabVIEWprogrammingtoolsCreatinganapplicationinLabVIEW,FrontPanelControls=InputsIndicators=OutputsBlockDiagramAccompanying“program”forfrontpanelComponents“wired”together,LabVIEWProgramsAreCalledVirtualInstruments(VIs),BooleanControl,DoubleIndicator,WaveformGraph,PanelToolbar,VIFrontPanel,VIBlockDiagram,NumericConstant,ThermometerTerminal,CalltosubVI,WhileLoop,KnobTerminal,StopButtonTerminal,StopLoopTerminal,TemperatureGraph,ControlsandFunctionsPalettes,Graphical,floatingpalettesUsedtoplacecontrolsdataflowisanimatedusingbubbles.Valuesaredisplayedonwires.,Right-clickonwiretodisplayprobeanditshowsdataasitflowsthroughwiresegmentYoucanalsoselectProbetoolfromToolspaletteandclickonwire,SectionIISubVIs,WhatisasubVI?MakinganiconandconnectorforasubVIUsingaVIasasubVI,SubVIs,ASubVIisaVIthatcanbeusedwithinanotherVIAdvantagesModularEasiertodebugDonthavetorecreatecodeRequirelessmemory,IconandConnector,AniconrepresentsaVIinotherblockdiagramsAconnectorshowsavailableterminalsfordatatransfer,SubVIs,SubVIs,StepstoCreateaSubVI,CreatetheIconCreatetheConnectorAssignTerminalsSavetheVIInserttheVIintoaTopLevelVI,CreatetheIcon,Right-clickontheiconinthediagramorfrontpanel,CreatetheConnector,Rightclickontheiconpane(frontpanelonly),AssignTerminals,SaveTheVI,ChooseanEasytoRememberLocationOrganizebyFunctionalitySaveSimilarVIsintoonedirectory(e.g.MathUtilities)OrganizebyApplicationSaveallVIsUsedforaSpecificApplicationintoonedirectoryorlibraryfile(e.g.Lab1FrequencyResponse)LibraryFiles(.llbs)combinemanyVIsintoasinglefile,idealfortransferringentireapplicationsacrosscomputers,InserttheSubVIintoaTopLevelVI,Accessinguser-madesubVIsFunctionsSelectaVIOrDragiconontotargetdiagram,TipsforWorkinginLabVIEW,KeystrokeShortcutsActivate/DeactivateContextHelpWindowRemoveBrokenWiresFromBlockDiagramToggleBetweenFrontPanelandBlockDiagramUndo(AlsoinEditMenu)TabKeyToggleThroughToolsonToolbarToolsOptionsSetPreferencesinLabVIEWVIPropertiesConfigureVIAppearance,Documentation,etc.,SectionIIIDataAcquisition,Dataacquisition(DAQ)basicsConnectingSignalsSimpleDAQapplication,Sensors,DAQDataAcquisition,Plug-inboardforacomputerwith:AnaloginputchannelsAnalogoutputchannelsCountersDigitalI/OControlledbyasuiteofLabVIEWVIsFunctionsDataAcquisition,DAQDataAcquisition,SimpleTemperatureAcquisitionExampleTwoparametersDevice=1Channel=0,DataAcquisitionTerminology,Resolution-DeterminesHowManyDifferentVoltageChangesCanBeMeasuredLargerResolutionMorePreciseRepresentationofSignalRange-MinimumandMaximumVoltagesSmallerrangeMorePreciseRepresentationofSignalGain-AmplifiesorAttenuatesSignalforBestFitinRange,DoNotDeleteThisSlide,HardwareConnections,BNC-2120,SCB-68,SC-2075,Exercise2SimpleDataAcquisition,CompleteConvertCtoF.vi,thencreateThermometer.vi.,DoNotDeleteThisSlide,SectionIVLoopsandCharts,ForLoopWhileLoopChartsMultiplots,Loops,WhileLoopsHaveIterationTerminalAlwaysRunOnceRunAccordingtoContinueTerminal,ForLoopsHaveIterationTerminalRunAccordingtoinputN,Loops(cont.),ForLoop,SelecttheloopEncloseCodetoRepeat,Charts,WaveformchartspecialnumericindicatorthatcandisplayahistoryofvaluesControlsGraphsWaveformChart,WiringDataintoCharts,SinglePlotCharts,MultiplotCharts,Exercise3MonitoringTemperature,StudentsbuildTemperatureMonitor.vi.,SectionVArrays)ContextHelpWindowshowsavailablefunctions,Notesemicolon,SectionIXPrinting&Documentation,PrintFromFileMenutoPrinter,HTML,RichTextFileProgrammaticallyPrintGraphsorFrontPanelImagesDocumentVIsinVIPropertiesDocumentationDialogAddCommentsUsingFreeLabelsonFrontPanel&BlockDiagram,Printing,FilePrintGivesManyPrintingOptionsChoosetoPrintIcon,FrontPanel,BlockDiagram,VIHierarchy,IncludedSubVIs,VIHistoryPrintPanel.vi(FunctionsApplicationControl)ProgrammaticallyPrintsaFrontPanelGenerate&PrintReports(FunctionsReportGeneration)SearchinFindExamplesforReportGeneration,DocumentingVIs,VIPropertiesDocumentationProvideaDescriptionandHelpInformationforaVIVIPropertiesRevisionHistoryTrackChangesBetweenVersionsofaVIIndividualControlsDescriptionandTipRightClicktoProvideDescriptionandTipStripUseLabelingTooltoDocumentFrontPanels&BlockDiagrams,SectionXBasicProgrammingArchitecture,SimpleVIArchitectureGeneralVIArchitectureStateMachineArchitecture,SimpleVIArchitecture,FunctionalVIthatproducesresultswhenrunNo“start”or“stop”optionsSuitableforlabtests,calculationsExample:ConvertCtoF.vi,GeneralVIArchitecture,ThreeMainStepsStartupMainApplicationShutdown,StateMachineArchitecture,AdvantagesCangofromanystatefromanyotherEasytomodifyanddebugDisadvantagesCanloseeventsiftwooccuratthesametime,States:0:Startup1:Idle2:Event13:Event24:Shutdown,Exercise7SimpleStateMachine,DoNotDeleteThisSlide,SectionXIRemoteFrontPanels,View&ControlLabVIEWFrontPanelsfromaWebBrowserRequiresnoprogrammingRemoteclientssee“live”frontpanelupdatesMultipleclientscanviewthesamepanelsimultaneouslyOnlyoneclientcancontrolthefrontpanelatatime,RemotePanelWebPublishingTool,ToolsWebPublishingTool,ClickSavetoDiskandVIisEmbeddedintoanHtmlFileAfterFileisSaved,ItCanBeReopenedandCustomizedinAnyHtmlEditor,RemoteFrontPanels-Resources,NIDeveloperZone()SearchforRemoteFrontPanelT
温馨提示
- 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
- 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
- 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
- 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
- 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
- 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
- 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
最新文档
- 房屋租赁居间合同
- 正规车位租赁合同3篇
- 瑞恩的井课件
- 采购合同模板模板5篇
- 安全方面业务培训总结课件
- 甘肃温室工程建设方案(3篇)
- 福建礼堂装修工程方案(3篇)
- 安全文明校园评估培训课件
- 电网工程测量方案模板(3篇)
- 猫咪巨结肠教学课件
- 材料作文点拨课件+2025-2026学年统编版语文九年级上册
- 无线wifi安装协议书
- 中国智能驾驶商业化发展白皮书(2025):平权时代智驾商业落地的破局之路
- 小学科学新教科版二年级上册全册教案(2025秋版)
- 婚内财产协议书2025
- 2025年国家卫生健康委医药卫生科技发展研究中心招聘考试笔试试题(含答案)
- 中华医学会肺癌临床诊疗指南2025版解读
- 胡杨林导游词
- 四年级语文下册课外阅读《青铜葵花》导读课 课件(共24张PPT)
- MR在梨状肌综合征的诊断中的应用
- 检修安全培训课件
评论
0/150
提交评论