06-18-2019 01:50 AM - edited 06-18-2019 02:01 AM
There is a need to set number of plots in multiple Waveform Charts in multiple VIs. Scripting wold help if I could figure out how number of plots can be set
Please advice how the problem can be solved (LabVIEW 2017 is used for this project)
PS: I believe similar question would be razed for XYGraphs but so far I am stack with Waveform Charts.
Solved! Go to Solution.
06-18-2019 06:16 AM
What you mean "number of plots"?
Number of plots depends on data size, which you've sent to chart
06-18-2019 07:22 AM
I'm not sure what you're trying to achieve, but for example the Legend.Plot Minimum will set the minimum number of "plots" regardless of the data input. Does that help?
If you're trying to resize the legend, you can also do that with similar property node operations.
If you want to change (i.e. decrease) the number of plots with stored data, you can manipulate (perhaps using things like Index Array or Array Subset) the Chart "History Data" values (which can be both read and written).
06-21-2019 09:21 AM
@cbutcher wrote:
I'm not sure what you're trying to achieve, but for example the Legend.Plot Minimum will set the minimum number of "plots" regardless of the data input. Does that help?
Thank you, it is exactly what needed.
Sorry for delay with replies, I was working on another project far away from this computer.