04-19-2012 06:41 PM
Hello, I got a problem with my waveform chart. The graph in the chart isn't responding to the changes of the values in the data mainstream. When I try to adjust the values in the main array, the graph lines should respond to the values changed. Unfortunately nothing happens in the chart even though the values have been changed.
04-19-2012 06:43 PM
more subVIs
04-20-2012 09:19 AM
The VI and question does not make any sense. The loop that you have the chart in just keeps plotting the same data over and over again until you click the stop button. What do you expect it to do when you do not pass it new data? If you stop the VI and change the values in your main data stream cluster array, then the chart will update to those new values. I don't think this VI is a t all useful.
04-20-2012 09:45 AM
04-20-2012 09:54 AM
Both of your loops should be eliminated. It simply does not make any sense to have them there. You would want to select channels to plot/save, etc, BEFORE you start your acquisition. I have no idea what sort of actual acquisition you are doing but none of the code you have posted in your almost countless questions has dealt with this at all. You seem to be mostly focused on appearances.
04-20-2012 10:06 AM
Hello,
I don´t understand your Problem.
But I have some hint for you, do you know the example finder?
Help --> example Finder
there are some good examples.
Another Point is that your Programmcode is unstructured.
For example try that your code isn´t bigger than one screen size.
Greez
Sebastian
04-20-2012 02:14 PM
04-20-2012 02:33 PM
You Main Data Stream is read only once at the very beginning of your VI.
You can change it all you want, but because it never gets read again, the data inside the while loop isn't going to change.
04-20-2012 02:40 PM
@Bombbooo wrote:
Well the problem is ; as you see the front panel in my main vi, when you adjust the values in the data stream, the graph lines on the chart should respond with the changes of value you have adjusted.( but it doesn't)
You can try to change the values in the data mainstream. Nothing happens with the graph lines. That is my problem. Do you have any idea to fix my vi to make it work the way I wan ( based on the vi I already attached) ?
Thank you
I told you to eliminate both of those while loops because they did not make any sense. They stop acquisition and plotting new values.
04-20-2012 02:40 PM