Quantcast
Channel: LabVIEW topics
Viewing all articles
Browse latest Browse all 69028

XY Graph Freezing

$
0
0

Hello,

 

This question is about the XY Graph control freezing at seemingly random times. I am continuously plotting multiplot data in an XY Graph. The data is coming from a shared variable (Array of Doubles). Element one is Time (I use Convert to TimeStamp) and it is used as the X coordinate for the remaining 4 elements. I aggregate the data using a Shift Register in a while loop and then plot the resulting data. I find that the XY Graph just stops updating at seemingly random times - sometimes after 2 points are plotted, sometimes after 10,000. 

 

Items to note:

- The data from the Shared Variable never stops coming in, and it does continue to change. I can drop an indicator on the wire and see the updating values.

- Wiring the same data to a Waveform Chart shows continuous updates

- Changing the X axis Display Format typically makes it work again for a while, but it always eventually freezes

- Copying into a new VI does not help

- Replacing the XY Graph or using a different kind (Like system control) does not help

- Restarting the VI without changing anything typically makes it work

- Using LabVIEW 2012 SP1

 

Has anybody seen this before? Any suggestions on how to fix it? I couldn't find any related posts.

 

My end goal is to have a continuously updating multiplot graph on my Windows Host using my timestamp values (The data is coming in from a cRIO using Scan Engine).

 

Thanks in advance!

 


Viewing all articles
Browse latest Browse all 69028

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>