NI LabVIEW,CVI,数据采集等产品讨论区

取消
显示结果 
搜索替代 
您的意思是: 

怎样使用波形图显示随机数

已解决!
转到解答

各位大侠:

      小弟刚刚开始学习Labview,最近遇到一个问题想请教一下各位:我要编一个小程序,随机生成浮点数并用波形图显示,直接将随机数Vi与波形图显示控件连接的话,程序报错:说数据类型不一样。使用右键创建显示控件的话只能出现数值显示控件,这种情况怎么解决,还请给为赐教。小弟不胜感激!

0 项奖励
1 条消息(共 8 条)
6,119 次查看

Hi,

 

You may use a Chart instead.

 

A graph takes in array data. If Graph is a must, you need to add shift-register and build array functions.

Ian F
Since LabVIEW 5.1... 7.1.1... 2009, 2010, 2014
依恩与LabVIEW
LVVILIB.blogspot.com
0 项奖励
2 条消息(共 8 条)
6,114 次查看
我创建chart之后显示的是数值属性的显示控件,而不是图形属性显示控件,这样做哪些相应的调整那
0 项奖励
3 条消息(共 8 条)
6,103 次查看
So, you need a Graph? or a Chart?
Ian F
Since LabVIEW 5.1... 7.1.1... 2009, 2010, 2014
依恩与LabVIEW
LVVILIB.blogspot.com
0 项奖励
4 条消息(共 8 条)
6,093 次查看

Thanks for you help.

Ether chart or graph is ok,the question is I can't find the suitable chart that can be connect to  stochastic number vi. 11.JPG

0 项奖励
5 条消息(共 8 条)
6,088 次查看
解答
已被主题作者 普林斯 接受

Hi,

 

I see that you are trying to wire/ connect a random number output to a numeric constant?

 

What you can do is... go to front panel, add a Chart/ Graph. Then, go to block diagram for the necessary wiring work.

Ian F
Since LabVIEW 5.1... 7.1.1... 2009, 2010, 2014
依恩与LabVIEW
LVVILIB.blogspot.com
0 项奖励
6 条消息(共 8 条)
6,083 次查看

Dear Ian:

Thanks alot for your help! You are really a warmhearted man! Thank you !

7 条消息(共 8 条)
6,035 次查看
:smileyvery-happy: LOL!
Ian F
Since LabVIEW 5.1... 7.1.1... 2009, 2010, 2014
依恩与LabVIEW
LVVILIB.blogspot.com
0 项奖励
8 条消息(共 8 条)
6,029 次查看