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

How do I set the time axis on my waveform chart to show run time i.e each time i start the program i should have 0 as my starting point

已解决!
转到解答

How do I set the time axis on my waveform chart to show run time i.e each time i start the program i should have 0 as my starting point. I've been messing around with the without success. I'm running Labview 2012.

 

Thank you!

0 项奖励
1 条消息(共 5 条)
3,687 次查看

In the Chart properties set the X-axis type to float. Then when you execute the code wire an empty array to the HistoryData property.

-----

The best solution is the one you find it by yourself
0 项奖励
2 条消息(共 5 条)
3,682 次查看

I can't seem to figure out what you mean. I have no formal training with labview. It's taken me a long time to write the simple program I've attached. Any further guidance would be greatly appreciated!

0 项奖励
3 条消息(共 5 条)
3,671 次查看
解答
已被主题作者 townes 接受

@townes wrote:

I can't seem to figure out what you mean. I have no formal training with labview. It's taken me a long time to write the simple program I've attached. Any further guidance would be greatly appreciated!


Its pretty normal for a newbie taking time to write code. Right click the Waveform chart>Create> Property node>History Data, you will get a property node, keep that at the start of the code and create a constant. You can also go to the VI properties and>Execution and select "Clear Indicators when called".

 

I would recommend you to go through LabVIEW basic materials which will give you an understanding about the basics concepts/components of LabVIEW.

-----

The best solution is the one you find it by yourself
4 条消息(共 5 条)
3,657 次查看

I will definately make the time to go through the basic materials. Thank you for yuor help!

0 项奖励
5 条消息(共 5 条)
3,651 次查看