LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

如何在图形表里显示 y=4x 这条直线?

Solved!
Go to solution

本人刚学labview,是菜鸟一只,希望各路高手能出手帮帮小弟解决这个难题。

题目要求:出啦上述要求外,x为当前系统时间。谢啦

0 Kudos
Message 1 of 4
(2,505 Views)
You will be more likely to get a response if you post in English on the LabVIEW board, or post the question in your language on the foreign language board instead.
0 Kudos
Message 2 of 4
(2,490 Views)
His English post is here
0 Kudos
Message 3 of 4
(2,482 Views)
Solution
Accepted by topic author 林哥

您好,

 

可以用Programming => Waveform => Build Waveform来生成您需要的曲线。

 

参数1: t0 is the start time of the waveform. 可以用Programming => Timing => Get Date/Time In Seconds 函数为其赋值(current time).

参数2: dt is the time interval in seconds between data points in the waveform.  
参数3: Y  contains the data values of a waveform.  

 

但是您将如何定义y轴的值?是current time in seconds * 4? 还是 elapsed time in seconds *4? 

 

如果y值是前者则问题会比较复杂,因为需要一个基准时间参照来做比较。我贴一个简单例子,希望可以帮上忙。

 

 

 

Regards
MY
Message 4 of 4
(2,465 Views)