LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

multiple XY graph

Hi, in a control and simulation loop,  I am making an xy graph that combines data from two wires for the x values and data from two wires for the y values.  I have attached a picture of part of the code.  When I run using some variable it works ok (picture 1) but when I change the variable to a lower value it looks like the signal stopped and the rest of the curve is not drawn (picture 2, green line which should go until about 42 in the x axis).  Am I inserting the right functions for making this sort of graphs or am I missing something like a build array function or something similar?

 

Thanks

Download All
0 Kudos
Message 1 of 2
(2,432 Views)

For the untrained eye it is impossible to tell what you really want and what the significant difference between the two images is. On both graphs that you show, the green curve does not go to 42 on the x-axis. (one goes to x=~12 and the other to x=~15)

 

Maybe you should have a look at the real data. Could it be some values are NaN? I don't have this particular toolkit (simulation?) installed, but if you attach your program, somebody else might be able to troubleshoot further.

 

I am not a big fan of dynamic data and expres VIs, because they hide too much information when looking at a diagram picture. What is in the arrays and scalars that build the dynamic data? Is the express VI set to retain data between calls?

0 Kudos
Message 2 of 2
(2,369 Views)