05-14-2012 02:11 PM
NO! That does absolutley nothing! It does not build an array with previous elements. It does not have the for loop I mentioned or even a shift register with the Build Array function. It does not even attempt to use the multiplier property of the Real Time Chart example.
Please decide what you really want - a chart or a graph. Please decide how many samples in total you want to display. Please read the help for the multiplier property.
05-14-2012 02:20 PM
ok that is wrong,please my friend post your suggestion.it would be more helpful
05-14-2012 02:22 PM
I can't post anything until you decide on what you really want. The simplest thing is to just add the multiplier property to your existing code and use the chart you have.
05-14-2012 02:42 PM
what i want is to be able to put the 100 samples per second in a graph and my graph can be refresh every 2 seconds with the new measurement,that means from 0-2 sec i have 200 samples from 2-4 400 samples etc. So if understand correct according to your recent post i must some how create an array with the running values , this array would always renew with the latest value but it will also keep the last value,am i correct?This is something i needed to do so i can be albe to put my data in the graph as i describe above.I really don't know to do that
05-14-2012 03:19 PM
Here is something basic. Using a shift register is extremely basic and you really need to learn how to use the basic LabVIW tools. Be aware that the build array is unbounded and if you run something like this for an extended time, things will get sluggish. You can limit the size of the array (perhaps with a queue) but I'll leave the details for you to add.
Also note the property node. Your existing code will work with the simple addition of this but I have said that over and over again.
05-14-2012 03:35 PM
Really thanks for your help,i would try to add the details and i would keep the property as i have it and tommorow i would give you a feedback.Can you save it with previous version because i have labview 9 please.
05-14-2012 03:38 PM
Sorry. Here it is as 2009.
05-16-2012 11:04 AM
I would like to thank for the solution example you provide me it help me to solve my problem thanks