03-11-2011 03:40 AM
I`am working on a VI that reads analog trends from tab delimited files.
I want to display this data i a Waveform Graph.
Waveform Graph indicator is ment to be connected to the Analog trend 1,
but to in an easy way show you the error, I use a array constant.
I run this code, but the Waveform Graph does not show the plot.
You can see that the "Analog trend 1" indicator displays the data.
If I right-click on the Waveform -> Advanced -> Customize,
the data becomes visible.
If i open a new VI, put a Waveform Graph at the front panel, and wire the same constant to it in the block code,
the Waveform works as it shold.
If i copy my entire code into a new VI, the same error occur.
The displayd code is so far the only place the Waveform Graph is represented.
There are no local variables, reference, property node or invoke node linked to the Graph.
Is this a LabVIEW-bug, or is it only me?
03-11-2011 04:32 AM
Hi,
Its not a LabVIEW bug, you can observe in the 1st graph you have attached that y-axis scale in not proper. Right click on waveform graph-select properties-select scales tab- select y-axis, set the maximum and minimum y-scale or check the autoscale option.
or
Right click on waveform graph->select y-scale-> Autoscale
It should work.
Let me know if this helps you.
03-11-2011 04:49 AM
Hi. Thanks for your reply, but it didn`t help me.
The autoscale option for y-axis was selected.
I just opened the VI on a different computer (with only LV2010 installed) with the same error,
but the problem was fixed when copying the code into a new VI.
I am a bit confused what caused the error, and I didn`t found a programming error.
My main computer has LV86, 2009 & 2010 installed.
Maybe it`s not a good idea to have multiple versions of LV on the same computer?
03-11-2011 04:55 AM - edited 03-11-2011 04:58 AM
03-11-2011 05:28 AM
Here is my project.
When the VI ask you to choose a file to open;
select; "090317_1415_OeKr.txt"
03-11-2011 06:12 AM