01-23-2021 03:50 AM
Hello Labview Experts,
I am a new bee in labview and started a project. I'm facing a simple problem:
I want to show one graph which is feeding from 2 different case structure. Till now I could be able to show two wave graph instead it should be merged to a single graph.
Any help will be appreciated.
Thanks.
01-23-2021 08:57 AM
Dealing with the dynamic datatype wire makes it harder, It would be better if you worked with an array of waveforms.
But you need to store that graph data in an array of waveforms. Put the data from one graph at element 0 of the array, the graph of the other data at element 1. The waveform array is maintained from iteration to iteration by way of a shift register.
01-23-2021 09:52 AM
Another suggestion (as it will clean up your Block Diagram) is to right-click on a Control or Indicator (such as Waveform Function 2) and say "Create Property Node" and choose "Visible". You will not need a Reference, the Property Node will have the name of the Control/Indicator associated with it, and you have fewer wires running around.
Note that if you are plotting two signals on the same Chart or Graph, they should "agree in size" (though you might be able to do some "tricks" to handle differing amounts of data ...).
Bob Schor
01-23-2021 03:02 PM - edited 01-23-2021 03:04 PM
Hey RavensFan,
Thanks for you suggestion. So instead showing data in an array there is no way that I can show both graph data in a waveform graph ?
01-23-2021 03:49 PM
I have no idea what you are saying there
But if you have an array of waveforms, it will show multiple plots in an waveform graph.
Look up the help for Waveform graphs.
I would recommend looking at the online LabVIEW tutorials
LabVIEW Introduction Course - Three Hours
Learn LabVIEW