12-05-2012 09:20 PM
Hello dear Labviewer
I have a Daq device which measures pressure as data in the Y-axis, and i use the relative time in the X-axis of the Waveform Chart. Now i want to make a array with 2 columns (Time and Data). I use that build array function with both my relative time and data, but how do i connect the relative time from the chart to the build array function ?.
12-05-2012 11:32 PM
I could not get relative time of chart.
But you may use tick count or elapsled time vi to generate your own relative time data.
12-06-2012 03:23 AM - edited 12-06-2012 03:23 AM
hi
check the attached picture vi.
12-06-2012 10:30 AM
Hi Aojha.
Im afraid of there will maybe occur an offset time between the Chart time and the elapsed time, if i use that procedure ?
12-06-2012 10:34 AM
Hi Freelance_LV
What's the relationship between this Vi and my Vi ?.
12-06-2012 10:40 AM - edited 12-06-2012 10:41 AM
You can use the Get Waveform Time array and subtract the t0 from each element.
12-06-2012 11:33 AM
Hi Dennis.
Is this okay?
12-06-2012 04:00 PM
It's okay only if you only want to write the time information and not Y data. In your first image, you had a build array to have the two columns. Why did you get rid of that?
Quite frankly, I don't understand what all of that code is doing. The wiring is a mess.
12-06-2012 04:16 PM
The first part is to get rid of those crazy time numbers since 1. January 1904. Now i start my start time of the chart is 0 instead of something like 234324234.
The second part is to get rid of the random offset because i want to define the first data value as zero
12-07-2012 03:43 PM
I have tried this solution, but i only get th Y-data and not the X-data (time data). Is there anything wrong ?
Thanks in advance
Oesen