Quantcast
Channel: LabVIEW topics
Viewing all articles
Browse latest Browse all 70327

Flush shared variables

$
0
0

Hi all,

In my rt application I have a separate task that is responsible for saving the data an displaying the latest values to the user. As I want to see only the latest ones, I do not care about the losses in that case - I use network published shared variables, which have the buffering disabled and rt fifo disabled as well. However it seems that the shared variables are buffered anyway - even though I stop the acquisition (I am sure it is stopped and there is no data being sent to the npsvs) it still takes a while before the host part notices that, becasue there are lots of data being displayed. I check if there are new values with timeout put to 0. I tried using Flush vi, but it didn't do the job. Do you have any idea how to discard all those values that seem buffered?

Thanks for any suggestions


Viewing all articles
Browse latest Browse all 70327

Trending Articles



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