LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Waveform Chart Artifacts

Strange artifacts appears during waveform chart updates (LabVIEW 2021). Does anyone know why? How do I solve this issue?

Screenshot attached below:

 

Untitled.png

 

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

A screenshot does not SHOW US THE CODE that is writing to the Graph and all of its properties and any other methods that are invoked that redraw the graph plot area..

 

The code probably has some problem.

 

If you knew how to fix it you would have looked at the code and said, "A-Ha! That's what part of the code I need to change!"  Instead, you started this thread.  So let us look at the code and show you. 


"Should be" isn't "Is" -Jay
0 Kudos
Message 2 of 5
(1,413 Views)

Yes, please show the code... and by show, that means "post the VI file", not "post a screenshot" (though posting both is better).  This is especially true if you're using anything containing Express VIs.

 

One important thing to ask: Is this definitely a "chart", or could it be a "graph" instead?  Charts take single values or arrays, while graphs take arrays of X,Y points.  So it's usually impossible to see data like this on a chart since they usually don't allow the line to go "backwards".

0 Kudos
Message 3 of 5
(1,388 Views)

@Seruhan wrote:

Strange artifacts appears during waveform chart updates (LabVIEW 2021). Does anyone know why? How do I solve this issue?

 


Can you point out the "artifacts" and describe what makes them "strange"? I don't want to guess! Did it work differently prior to LabVIEW 2021?

 

If this is a chart, what's the datatype? (scalar cluster? array? waveform? Dynamic?). If waveform or dynamic, do successive writes have unusual timestamps? What's the history length? What's the typical update rate?

 

Yes, please attach a simplified VI that shows the problem. (preferability down-converted to 2020 using "save for previous")

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

artifact.png

 

These are artifacts that I mentioned earlier. I'm using waveform chart and feeding chart with 2D array of doubles. Currently cannot post code due to privacy as it is module of our application.

 

Using Actor framework and retrieving data asynchronously. When two chunks of data received they get parsed to the chart. The solution I found is manually scale fit chart continuously.(?)

Screenshot attached below. Thank you for your responses!

 

 

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