1、虚拟仪器考试资料整理1. 什么是虚拟仪器:所谓虚拟仪器, 即是以计算机为基础 ,配以相应测试功能的硬件作为信号输入输出的接口, 完成信号的采集、分析与显示,从而完成各种测试功能的一种计算机化仪器系统The so-called virtual instruments, that are computer-based, together with the corresponding test function as the interface hardware input and output signals, signals the completion of the acquisition,
2、analysis and display, thus completing a computerized instrument systems of various test functions2. LabVIEW programs are called virtual instruments (VIs).Stress that controls equal inputs, indicators equal outputs.Each VI contains three main parts: Front Panel How the user interacts with the VI. Blo
3、ck Diagram The code that controls the program. Icon/Connector Means of connecting a VI to other VIs.The Front Panel is used to interact with the user when the program is running. Users can control the program, change inputs, and see data updated in real time. Stress that controls are used for inputs
4、- adjusting a slide control to set an alarm value, turning a switch on or off, or stopping a program. Indicators are used as outputs. Thermometers, lights, and other indicators indicate values from the program. These may include data, program states, and other information.Every front panel control o
5、r indicator has a corresponding terminal on the block diagram. When a VI is run, values from controls flow through the block diagram, where they are used in the functions on the diagram, and the results are passed into other functions or indicators.3.视频上的题,估计是翻译A set of:一组;configure:配置;device:设备;ana
6、log:模拟量4.怎么开发一个虚拟仪器?1系统分析2确定硬件方案3搭建硬件系统4用max调试硬件5 build 数据采集程序6根据功能需要编写其他的程序1 systematic analysis2 Determine hardware solutions3 built hardware system4 use max to debug hardware5 build data acquisition program6 According to the need of the function to write other programs5.arraydefault:默认Array subse
7、tReturnsaportionofanarraystartingatindexandcontaininglengthelements.Forexample,ifyouusethepreviousarrayastheinput,theArraySubsetfunctionreturnsthefollowingarrayforanindexof2andalengthof3.Choose concatenated input 会出现第二种情况,就是合成一行;不选concatenated input 就会出现第三种情况Index Array: accesses a specific element
8、of the input array.Index Array can be “stretched-out” to add more index terminals. You must have one index terminal for each dimension in the input array.The slide example shows accessing a single element of a one-dimensional array. Index Array does not remove the element from the array.Remind stude
9、nts that arrays start their indices at zero. Index 2 in the example actually accesses the third element in the array.Examples of polymorphism in slide:Scalar+Scalar: Scalar addition.Scalar+Array: The scalar is added to each element of array.Array+Array: Each element of one array is added to the corr
10、esponding element of other array.Remind students that polymorphism does not perform matrix arithmetic when inputs are 2D arrays (for example, two 2D array inputs to a multiply function does element by element multiplication, not matrix multiplication).6.LOOP7数据存储:read from8.子程序subvihelp9.数据采集信号发生器:信号处理,外面都是有while loop的
copyright@ 2008-2023 冰点文库 网站版权所有
经营许可证编号:鄂ICP备19020893号-2