LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

real time plotting of data!!!

Solved!
Go to solution

Hi,

 

I am struggling with trying to incorporate what seems like a simple graph! I am running a loop which acquires a set of data per iteration. Now in each iteration I would like to obtain the max value from the data and plot it on a graph in real time so that as the loop updates my graph updates and I can view the maximum value for each iteration in real time.

 

I also would like to use a feedback node as opposed to a shift register. Can someone show me a simple vi which would do this with an arbitrary set of data? Please show with a feedback node. I tried the feedback node - but it only updates each value AFTER a loop iteration so I tend to always have the last value of the graph truncated 😞

 

 

Thanks!

0 Kudos
Message 1 of 3
(3,589 Views)

If you can post your code it will help us see what you are dealing with. A feedback node is essentially a shift register where you don't have to run the wire from the left of the loop to the right, so what you will see will be the results of the previous interation of the loop, nothing is on the feedback node/left hand shift register node  until the iteration is completed and the next one starts. The data goes out the right hand side, sneaks around behind the scene, shows up on the left in time for the next pass through the loop. Smiley Wink

Putnam
Certified LabVIEW Developer

Senior Test Engineer North Shore Technology, Inc.
Currently using LV 2012-LabVIEW 2018, RT8.5


LabVIEW Champion



0 Kudos
Message 2 of 3
(3,585 Views)
Solution
Accepted by topic author AKCanada

Example Attached with Feedback Node and Graph 😄

Message 3 of 3
(3,574 Views)