LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Merging 2 graphs from different case structure

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.

 

Graph.PNG

    

0 Kudos
Message 1 of 5
(1,066 Views)

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.

Message 2 of 5
(1,027 Views)

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

Message 3 of 5
(1,021 Views)

Hey ,

 

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 ? 

0 Kudos
Message 4 of 5
(1,003 Views)

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

0 Kudos
Message 5 of 5
(993 Views)