LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

problems with graphs

Hi !!

I´m measuring the data and I want represent the data in the XY-graph. I want that xy-graph display don´t move at the time when the measuring is used. I know how I can chance the scale properties that it won´t scaled automatically. The file will show that what kind of curve I want to the display!!
Message 1 of 14
(3,977 Views)

@jjv wrote:
I´m measuring the data and I want represent the data in the XY-graph. I want that xy-graph display don´t move at the time when the measuring is used.


jjv,
Apologies if I'm misunderstanding your problem, but if it is that you don't want the plot area to change size as the scale changes:
Right click on the graph and uncheck Advanced>Auto Adjust Scales.
=====================================================
Fading out. " ... J. Arthur Rank on gong."
0 Kudos
Message 2 of 14
(3,943 Views)
My description was a little incomplete...
I mean that signals start write a curve in the zero point in that way curve/line would save in the display all the time...
just right now the data wont save in the display...Results what I want to shown in the XY-graph would looks like similar what I attach in a file (without data points)...
0 Kudos
Message 3 of 14
(3,931 Views)
Is it possible that you want to create something like an XY chart, i.e. an XY graph that updates as new points are added during execution?

LabVIEW includes an example. Look for XY chart in the example browser.

Even simpler, you could do something like in the attached VI (LabVIEW 7.0).
Message 4 of 14
(3,913 Views)
Thanks for the help and the example !!

I want do excatly like you assume...Because I measuring the data I want fix and chanhce somehow that example...
Do you know is it possible to create with while loop that kind operations what includes in the example what you attached in the file?
While loop is necessary for me because I want control that when the measures will ends.
0 Kudos
Message 5 of 14
(3,880 Views)
Have someone experiences to update the measure data to XY-graph...I have try modified to "UpdateXYGraph.vi" but it wont work...This is very necessary for my project...
0 Kudos
Message 6 of 14
(3,860 Views)

Message Edited by jjv on 04-28-2005 06:59 AM

0 Kudos
Message 7 of 14
(3,854 Views)
I'm not sure if I'm completely understanding your problem and i only have LabView 6.1, so I can't check the example, but I think you might be looking for something like the example attached. If this is the case you just need to clear the history outside of the while loop to keep the data on the graph.

Hopefully this is what your looking for.

eewonder
LV 6.1, 8.2, 8.5, 8.6 beta
Fieldpoint
DAQmx
IMAQ Vision
0 Kudos
Message 8 of 14
(3,823 Views)
I had a look at your VI and when trying to clean up some of the messy wiring, I moved the second shift register of the for loop down. What I found was a hidden connection from the empty array directly to the for loop. So what you have is three connections from the empty array. Two to the shift registers and one an autoindexed input. A for loop iteration count is equal to the size of the smallest array wired to it. Your for loop iterates zero times because of the wiring mistake. I happened on this by chance. For future reference, placing a probe on one of the arrays inside the for loop or on the iteration terminal, will quickly help you determine these kinds of errors.
Message 9 of 14
(3,812 Views)
Thanks for example...

I have two signals and I want update in real time xy-graph in that way that the data (only 1 curve/line) would save in the display...Just like a file what you attached...But I´m not sure how add that in my project...


I attached my project blockdiagram a file...
0 Kudos
Message 10 of 14
(3,799 Views)