大神进来看一看,这个三个程式怎么写~~

2019-07-17 23:06发布

ProjectsProject 3a

  • Create a VI called Project 3a.vi that has a     chart indicator, a graph indicator, and an array indicator on the front     panel. The VI should generate random numbers between 0 and 1, plot them on     the chart, put them at the end of an array, and plot the array on the     graph once all the numbers have been generated. The results should be     shown in the array indicator only after all of the points have been     generated. The user should be able to control the number of points to     generate using a numeric control on the front panel.
Project 3b

  • Create a VI called Project 3b.vi. The VI     should use two VIs to accomplish the following tasks. The first VI, called     Generator.vi, should create random numbers between 0 and 100. The     user should be able to specify how many numbers should be created. The     numbers from the first VI should be passed to a second VI, called Process.vi,     that should filter the numbers. The user should be able to specify a     maximum and a minimum value for the filtering. Any numbers greater than     the maximum or less than the minimum should be thrown away. Once the     numbers have been filtered, they should be sorted in descending order. The     results of process VI should be returned to the main VI where they are     displayed to the user on a graph.
  • Hint: The VI for Project 3a can be reused as     the generator VI if its inputs and output are wired to the connector pane.     
Project 3cCreatea VI called Project 3c.vi. The VI should have a tab pane with three tabs on itsfront panel. The first tab should be labeled Control. The second tabshould be labeled Raw Data. The third tab should be labeled Analysis.The VI should call the Project 3b VI with the number of points, min, and maxparameters specified by the user on the Control pane. The results of the VIshould be shown as an array on the Raw Data pane and as a Graph on the Analysispane.
友情提示: 此问题已得到解决,问题已经关闭,关闭后问题禁止继续编辑,回答。
该问题目前已经被作者或者管理员关闭, 无法添加新回复
16条回答
gswanybz123
1楼-- · 2019-07-19 23:19
gswanybz123 发表于 2016-6-21 10:52
我把两VI的内容写一起了,自己去分开

循环里记得加10ms延迟,养成习惯,刚写快了忘了
gswanybz123
2楼-- · 2019-07-20 04:59
 精彩回答 2  元偷偷看……
wswxdnw
3楼-- · 2019-07-20 05:16
gswanybz123 发表于 2016-6-21 11:12
第3个就是个选卡控制,把前面两个程序的显示内容放上去就行了。具体的自己去写。

太感谢大神了,我以前都没接触过这些东西,现在公司买了一些NI设备。让我自学编程,我也是醉了,如何是好~我做项目管理的呀~
gswanybz123
4楼-- · 2019-07-20 10:17
wswxdnw 发表于 2016-6-21 11:34
太感谢大神了,我以前都没接触过这些东西,现在公司买了一些NI设备。让我自学编程,我也是醉了,如何是好~我做项目管理的呀~

论坛上有很多好资料,从基础的学起

一周热门 更多>