LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

problems with graphs

Can someone tell me how I must fix my VI...I have two signals and I want that (channel 0 is x-axis and channel 1 is y-axis)...I know how can update the xy-graph so that it
would show two diffrent (channel 0 and 1)lines, but I want that the xy-graph should show only a 1 line/curve...
0 Kudos
Message 11 of 14
(801 Views)
Hi!

I have serious problems save the data to the xy-graph display...When I accomplish measusuremnt (line/curve) wont save in the xy-graph display...it shows only present data...It would show the line/curve very fast and the its gone...Do I must create some kind of xy-chart or etc. but how...??
0 Kudos
Message 12 of 14
(785 Views)

@jjv wrote:
Hi!

I have serious problems save the data to the xy-graph display...When I accomplish measusuremnt (line/curve) wont save in the xy-graph display...it shows only present data...It would show the line/curve very fast and the its gone...Do I must create some kind of xy-chart or etc. but how...??


Your have two problems:

(1) You feed the shift register with the empty array at each iteration instead of the output of the newly appended array. Thus at each iteration you only see the new data. You can fix this by making the changes outlined in the attached image.

(2) The main cause for this error is the fact that your diagram is too disorganized and messy. This makes debugging really hard and mistakes are easily introduced. I cannot comment on the rest of your code, because I don't know what you want to do, but the attached VI shows a slighly cleaned up version.

Some more points to consider:
Do you really need to reconfigure your entire DAQ at each iteration?
How long is this supposed to run? You need to ensure that your arrays don't grow without bounds or you'll have a GB of data after a day in your shift register and your xy-graph. At one point, it will slow down or crash.

Message Edited by altenbach on 04-30-2005 09:23 AM

Download All
Message 13 of 14
(777 Views)
I have a problem with graphs too. My graph has peaks and valleys. Is it possible to make a program that displays a graph of ONLY all the peak points that also connects them to form a graph. Another program to display ALL the valley points and connect them.
0 Kudos
Message 14 of 14
(762 Views)