03-10-2022 05:42 AM
03-10-2022 07:34 AM - edited 03-10-2022 07:38 AM
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.
03-10-2022 12:28 PM
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".
03-10-2022 12:52 PM - edited 03-10-2022 12:54 PM
@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")
03-14-2022 04:25 AM
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!