虚拟仪器考试资料整理.docx

上传人:b****1 文档编号:20131281 上传时间:2023-04-25 格式:DOCX 页数:16 大小:2.11MB
下载 相关 举报
虚拟仪器考试资料整理.docx_第1页
第1页 / 共16页
虚拟仪器考试资料整理.docx_第2页
第2页 / 共16页
虚拟仪器考试资料整理.docx_第3页
第3页 / 共16页
虚拟仪器考试资料整理.docx_第4页
第4页 / 共16页
虚拟仪器考试资料整理.docx_第5页
第5页 / 共16页
点击查看更多>>
下载资源
资源描述

虚拟仪器考试资料整理.docx

《虚拟仪器考试资料整理.docx》由会员分享,可在线阅读,更多相关《虚拟仪器考试资料整理.docx(16页珍藏版)》请在冰豆网上搜索。

虚拟仪器考试资料整理.docx

虚拟仪器考试资料整理

1.什么是虚拟仪器:

所谓虚拟仪器,即是以计算机为基础,配以相应测试功能的硬件作为信号输入输出的接口,完成信号的采集、分析与显示,从而完成各种测试功能的一种计算机化仪器系统Theso-calledvirtualinstruments,thatarecomputer-based,togetherwiththecorrespondingtestfunctionastheinterfacehardwareinputandoutputsignals,signalsthecompletionoftheacquisition,analysisanddisplay,thuscompletingacomputerizedinstrumentsystemsofvarioustestfunctions

2.

LabVIEWprogramsarecalledvirtualinstruments(VIs).

Stressthatcontrolsequalinputs,indicatorsequaloutputs.

EachVIcontainsthreemainparts:

•FrontPanel–HowtheuserinteractswiththeVI.

•BlockDiagram–Thecodethatcontrolstheprogram.

•Icon/Connector–MeansofconnectingaVItootherVIs.

TheFrontPanelisusedtointeractwiththeuserwhentheprogramisrunning.Userscancontroltheprogram,changeinputs,andseedataupdatedinrealtime.Stressthatcontrolsareusedforinputs-adjustingaslidecontroltosetanalarmvalue,turningaswitchonoroff,orstoppingaprogram.Indicatorsareusedasoutputs.Thermometers,lights,andotherindicatorsindicatevaluesfromtheprogram.Thesemayincludedata,programstates,andotherinformation.

Everyfrontpanelcontrolorindicatorhasacorrespondingterminalontheblockdiagram.WhenaVIisrun,valuesfromcontrolsflowthroughtheblockdiagram,wheretheyareusedinthefunctionsonthediagram,andtheresultsarepassedintootherfunctionsorindicators.

3.视频上的题,估计是翻译

Asetof:

一组;configure:

配置;device:

设备;analog:

模拟量

4.怎么开发一个虚拟仪器?

1系统分析

2确定硬件方案

3搭建硬件系统

4用max调试硬件

5build数据采集程序

6根据功能需要编写其他的程序

1systematicanalysis

2Determinehardwaresolutions

3builthardwaresystem

4usemaxtodebughardware

5builddataacquisitionprogram

6Accordingtotheneedofthefunctiontowriteotherprograms

5.array

default:

默认

Arraysubset

Returns a portion of an array starting at index and containing length elements. For example, if you use the previous array as the input, the Array Subset function returns the following array for an index of 2 and a length of 3.

Chooseconcatenatedinput会出现第二种情况,就是合成一行;不选concatenatedinput就会出现第三种情况

 

IndexArray:

accessesaspecificelementoftheinputarray.

IndexArraycanbe“stretched-out”toaddmoreindex

terminals.Youmusthaveoneindexterminalforeach

dimensionintheinputarray.

Theslideexampleshowsaccessingasingleelementofa

one-dimensionalarray.

IndexArraydoesnotremovetheelementfromthearray.

Remindstudentsthatarraysstarttheirindicesatzero.Index

2intheexampleactuallyaccessesthethirdelementinthe

array.

Examplesofpolymorphisminslide:

Scalar+Scalar:

Scalaraddition.

Scalar+Array:

Thescalarisaddedtoeachelementofarray.

Array+Array:

Eachelementofonearrayisaddedtothe

correspondingelementofotherarray.

Remindstudentsthatpolymorphismdoesnotperformmatrix

arithmeticwheninputsare2Darrays(forexample,two2Darray

inputstoamultiplyfunctiondoeselementbyelement

multiplication,notmatrixmultiplication).

6.LOOP

 

7数据存储:

 

readfrom

8.子程序subvi

help

9.数据采集

信号发生器:

信号处理,外面都是有whileloop的

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

当前位置:首页 > PPT模板 > 其它模板

copyright@ 2008-2022 冰豆网网站版权所有

经营许可证编号:鄂ICP备2022015515号-1