LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

data from multiple sources to one screen

I am collecting data from multiple sources of UDP packets (at 1 or 5 Hz) where each source has its own UDP listener on its own port.  I want to display data from all the sources on one screen.  I am doing this successfully for my text displays that show just the most recent data from each source.  However, I am having trouble coming up with a clean way to plot data.  Since each source has its own time, I need an XY graph.  When I try to build arrays, I start losing packets or have timing problems.

So here is the question:
If I could collect and process the data from each source in its own VI,  is there a way to plot to a shared window?
0 Kudos
Message 1 of 2
(2,393 Views)
Initialize the all the plots with NaN. Then replace the points actually received from the sources with the real data. NaN points do not show on the plots, do not affect autoscaling, etc. I am not sure what the effect of gaps in the data might be. You could make a simle trial to find out.

Lynn
0 Kudos
Message 2 of 2
(2,384 Views)