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

YScale of Waveform Chart Max and Min values keeps changing

$
0
0

Hi,

 

I have attached a simple array of values which is plotted over time. In the original project the values change but here it is constant. So here it is an array of 84 values all values are 3.615 and I want to plot how each value changes over time, so created a 2d array out of it and gave it to the waveform chart. And it is correctly plotting all values. But the problem is the range. So before plotting each loop, I set the YScale. Maximum to 4.16 and YScale.Minimum to 3. And when I ran the program, YScale kept changing between 4.16 and 4 for maximum and similarily for minimum. So i ran the program in highlight execution mode and I saw what happens, so intially when I set the max and min YScale values, you can see those values are also set in the chart, but then the actual array values come in to the waveform chart automatically the max and min changes. Why is this happening and how do I correct it, thank you. I have also attached the screenshot below.  

govindsankar_0-1712734651807.png

 


Viewing all articles
Browse latest Browse all 66691

Trending Articles



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