LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Writing to a file and Reading from it "AT THE SAME TIME"

Hello,
If you have a vi (vi 1) that is generating and storing data to a file. Is it possible to write ANOTHER vi (vi 2) that reads & plots the data located at the same file (BTW, vi 1 will still store data to the file while vi 2 is reading the data)
 
All I am trying to do is to plot data that is generated from a different vi (vi 1) somewhat in "real time". Unfortunately, I cannot access the vi (vi 1) that is generating the data and add a diagram to it. I have to build my own separate vi (vi 2). Smiley Sad Is this possible?
 
Thanks in advanceSmiley Happy
0 Kudos
Message 1 of 2
(2,519 Views)
Once you open the file, you can't access it again until the original reference is closed. You might want to look at a functional global architecture. You use a case structure to determine how to access the data. Initialize, write, read, save are common examples of sections inside the functional global.
 
0 Kudos
Message 2 of 2
(2,511 Views)