07-13-2023 09:08 AM
When using the Sweep Chart Update Mode on a Waveform Chart, the Line Style appears to change to Line Style 3 (dash dot) automatically after the first sweep through the Chart History X axis size.
Even setting the line style property to 0 every time doesn't change this.
If I click the chart control and select line style 0, it will change for a moment, and then change back to line style 3 again (see picture).
I would like to continue using the Sweep Chart, but I don't want to use Line Style 3 because it doesn't accurately reflect the data.
Is there a setting or a property to prevent the line style from changing? I included a small test VI to demonstrate the changing line styles on the sweep chart vs a scope chart.
07-13-2023 09:19 AM
07-13-2023 12:36 PM - edited 07-13-2023 12:41 PM
Here I am just playing around with it, generating a sine wave and adding some random noise to it and then sending it to a few different charts which have different update modes selected. All of the charts have the default solid line style selected.
I also looked at the History Data to compare if the size and statistics were similar for the different update modes, and they appear to be the same despite drawing to the charts differently.
07-13-2023 02:31 PM
Hi
It looks like there is something to do with the refresh rate of the Waveform Chart, I don't know why it does that, I never faced it before.
As a "work around" solution you can change the Width of the waveform to be a little "thicker" it will stop doing that.
07-14-2023 09:54 AM
It seems to depend on interpolation style selected.
I was using linear. Stepwise horizontal and stepwise vertically centered are much worse.
Interestingly, stepwise (vertical) and stepwise horizontally centered display fine though.