01-11-2010 12:54 AM
I have data with array numeric and array string. I confused how to plot array numeric"OVL value" in axis-X and array string"time&date" in axis-X ?
Anybody can help me?
thanks before..
regard,
angga
01-11-2010 02:22 AM
Hi angga,
I'm confused too: What is an "OVL value" and why do you want to plot both on the X axis???
I suspect you want that OVL value as Y value over a timeX scale...
You should convert your time strings to timestamps and then build an XY graph.
Or:
When values are evenly spaced in time then you only need to convert the first timestamp to form a waveform and feed that waveform to a simple graph or chart...
01-11-2010 03:09 AM
using LV 7.1, 8.6.1 and 9.0 2009 on WinXP
I'm confused too: What is an "OVL value" and why do you want to plot both on the X axis???
Ans: Sorry, I'm wrong type..:D
I suspect you want that OVL value as Y value over a timeX scale...
Ans: ya, that's right.
You should convert your time strings to timestamps and then build an XY graph.
Ans:How ? I'm still confuse..
01-11-2010 03:12 AM
01-11-2010 03:21 AM
01-11-2010 03:43 AM
Yah.. I understand..
but I have trouble again..
Ex : I acquition data everyday. and then, I saved array numeric and time/date data files. After that, I merge much data files like that be one files with different numeric and time/date.
I want plot array value as Y value over a timeX scale.. I have problem at timeX scale. How merge time/date every files, and then plot it at Graph..
01-11-2010 03:55 AM
02-11-2010 08:22 AM
Hi
I am also seeing the same problem.
I have a few LVM Files to be read and to be plotted out . I did a loop to extract a value from each LVM file to be used as the Y axis and then i wanted the x-axis of each point to be the date that the LVM file is created. I use "File / Directory Info" Vi to extract the "date modified". I am stuck over here, there is always problem for me to link the X axis data into the XY graph or the Build Waveform.
Please help me on this. I tried to google for other thread related to this but to no avail. And this thread offer the closest to what i need.
02-11-2010 08:29 AM - edited 02-11-2010 08:30 AM
Hi pengxin,
well, by using all those express VIs I would have problems too
And why do you google when there is a search function in the forum?
You already have the "build waveform" function in the block diagram. Just wire the timestamp to t0 and the data array from the LVM file to the Y input. Now connect the waveform to a graph...
You don't need express VIs to build a plot. The context help of the graphs tells ou how to do without!
One more note: don't inline such big pictures. It's annoying to have to scroll the browser window to read the full text...
02-11-2010 08:36 AM
Did you even try what I suggested? If you were confused about my answer, you should have posted back on that thread.