02-25-2009 07:42 PM
Dear All,
I am wodering if somone helps me.
I have a program which graph temperature and its derivative as waveform chart.
everytime I run the program, temperature chart starts from zero on the x-axis (time), but its derivative will never start from zero again and always continues form the last time which has on the x-axis.
How can I get a second chart which always start from zero same as first chart?
Regards....
02-27-2009 12:24 AM
Hi Neka:
Just to clarify, you want both charts to start graphing from zero when you run the VI?
I'm not sure what you are doing differently with your second chart partly because it's not displayed where you're writing to it on the block diagram. Could you post your VI so we can see what settings you have on each chart or at least post a screenshot of a larger portion of the block diagram so we can see where you're writing out to it?
02-27-2009 08:29 AM
Hi
Thanks,
the attached is the file.
02-27-2009 09:17 AM
A chart is supposed to append new data to old data and why would either of your charts start at zero each time. You are stripping out all of the time information by the needless conversion of waveform datatype to dbl array and then to dynamic data. Why would you do any of that? It makes no sense. If you want to display time information, don't remove it from the data.