LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

labview chart problem

Solved!
Go to solution

This is probably a very stupid questions but I have been trying for a couple hours to avoid asking this on the forum.

 

I have attached a screen capture of a graph and chart in my VI in LabView. Both are receiving the same data from a hard file recorded file of data capture from another VI. The graph correctly represents the data whereas the chart bunches up the data in a cycle into one time slice instead of "painting" it properly over time.

 

Can someone help me? I must be missing sometime that is starring me in the face!  Thanks, Bill

0 Kudos
Message 1 of 6
(2,680 Views)

A graphs draws exactly the data wired to it. A chart maintains an internal buffer of a fixed lenght and appends the new data to the existing data whenever you write to it. Once the data exceeds the history lenght, old data is removed.

 

To analyze, we need to see the actual code, because there are many ways to wire data to these indicators and we cannot tell what you are doing from looking at the front panel alone.

0 Kudos
Message 2 of 6
(2,672 Views)

Thanks for your speedy reply -- attached is a screen capture of front panel and block diagram. Also attached is the VI code. I appreciate your help.

Download All
0 Kudos
Message 3 of 6
(2,663 Views)

Do you also have a typical meaurement file to read?

0 Kudos
Message 4 of 6
(2,654 Views)

I had to cut the file down to the attached from original 20MB.

0 Kudos
Message 5 of 6
(2,651 Views)
Solution
Accepted by topic author Mr_Mechanical

Solved the problem!

 

Added a convert from dynamic data to 1D array of scalers and back to dynamic data. Now I get the proper wavepattern as expected.

 

See attached block diagram.

0 Kudos
Message 6 of 6
(2,638 Views)