LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

dynamic data waveform chart x-axis problem

Solved!
Go to solution

I am trying to plot two graphs on a one chart. I am merging the arrays and outputing the merged signal to a waveform chartHowever I run into the problem that the start time is 1903 (Chart 3)!  I would prerfer for it to display the same as chart 1 and 2 or at the very least have the the x axis be 0 time when the acquisition/graphing beginsHow can I do that?

 

 

 

Waveform Problem.JPG

0 Kudos
Message 1 of 3
(3,381 Views)
Solution
Accepted by topic author Oreos

What you are doing does not make much sense. First, you have a for loop set to iterate once. Eliminate that and you will be passing a 1D array to each chart. Second, no reason at all for the conversion to dynamic data. It's the dynamic data that expects to have timestamp information and that is the cause of the '1903' date (default date).

 

Take the two 1D arrays and wire them to a Build Array function. This will create a 2D array. On the chart, right click and unselect 'Transpose Array'.

 

p.s. Turning on context help will show you the correct data types to wire to a chart. Also, don't post such large

images. 

 

multiplot chart.PNG

 

Message 2 of 3
(3,368 Views)
Worked like a charm.  Thanks!
0 Kudos
Message 3 of 3
(3,348 Views)