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

network shared variable vs RT fifo enabled

$
0
0

Good morning.

 

I have an application for using a "notifier" for changing state on a real-time system.  I am thinking of using a shared variable to accomplish this (I could use a network stream, but I think that would be overkill).

 

I implemented a test VI that uses a network published shared variable with update timeout in a loop on the RT platform.  On the Windows side, I wrote to the network published shared variable and observed the behavior on the RT platform.  The timeout indicator would go off immediately after the write and then go back on as no data change occurred.

 

I implemented a test VI that uses a network published shared variable with single element RT FIFO enabled and update timeout in a loop on the RT platform.  On the Windows side, I wrote to the network published shared variable and observed the behavior on the RT platform.  The timeout indicator would go off immediately after the write and then go back on as no data change occurred.

 

I am puzzled.  The behavior of the network published shared variable and the network published shared variable with single element RT FIFO enabled appears to be identical.  Is there a suggested approach for mimicking a notifier between devices?  I would have assumed that the single element RT FIFO-enabled network shared variable would be the "correct" approach.

 

Thanks for any help,

Hamilton Woods


Viewing all articles
Browse latest Browse all 69241

Trending Articles



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