Quantcast
Viewing all articles
Browse latest Browse all 203384

Re: Network-published variable - read buffer without emptying

In addition to the previous message - I use data logging as a "buffer" of historical data, so now I actual want to empty the buffer once I read it :smileyvery-happy:

 

However, another problem occurred - my data is organised as a 1D array with 44 elements in it, and I want to be able to access last 600 1D arrays (corresponds to 600 seconds of measurements of various variables). In order to enable this, I created a network-published variable with enabled network buffering, where buffering is configured with following parameters:

- Number of arrays: 600

- Number of elements (type: Array of Double): 44

Although I specified that I want to "remember" last 600 arrays, I somehow get only last 9 arrays. I tried to increase number of arrays to 1200, without any success - I'm still able to acess only last 9 arrays. Any suggestions?

 

EDIT: I figured out now that network-published variable buffer is starting to fill only when I start the VI that reads that particular buffer. Is there a way where buffer is filled always, regardless of the VI that reads it, so that once I run VI on PC buffer already contains last 600 arrays?

 

Marko.


Viewing all articles
Browse latest Browse all 203384

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>