LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

sharing front panel graph

i want the option to display data continuously acquired or data retrieved from a file, but on the same graph, not simultaneoulsy, one or the other. i have a case statement for the source (daq or file) the daq case contains configuration and a while loop continuously acquiring data and displaying it,no hassle there. my 'file' case has the bit to read the file and retrieve data, i then get abit stuck. i've played around with 'locals' and loops within loops, but aren't getting anywhere really. i've attached the code to help see what i'm doing.

thanks in advance.
0 Kudos
Message 1 of 3
(2,578 Views)

You don't really give enough information on which graphs you want to re-use, etc.

I am making the assumption that you want to process the file data the same way as your sampled data. A simple solution is attached, modify as needed.

0 Kudos
Message 2 of 3
(2,566 Views)
thanks altenbach, i spent ages tryign to pass data between loops and cases without success.  brill!
0 Kudos
Message 3 of 3
(2,553 Views)