虚拟仪器考试资料整理.docx
- 文档编号:20131281
- 上传时间:2023-04-25
- 格式:DOCX
- 页数:16
- 大小:2.11MB
虚拟仪器考试资料整理.docx
《虚拟仪器考试资料整理.docx》由会员分享,可在线阅读,更多相关《虚拟仪器考试资料整理.docx(16页珍藏版)》请在冰豆网上搜索。
虚拟仪器考试资料整理
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文件的首页显示word图标,表示该PPT已包含配套word讲稿。双击word图标可打开word文档。
- 特殊限制:
部分文档作品中含有的国旗、国徽等图片,仅作为作品整体效果示例展示,禁止商用。设计者仅对作品中独创性部分享有著作权。
- 关 键 词:
- 虚拟仪器 考试 资料 整理
![提示](https://static.bdocx.com/images/bang_tan.gif)