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

Empty FIFO Shared Variable Node

$
0
0

Hi Everyone,

 

First time poster, long time reader here on the forums. I have a question about an empty FIFO buffer for shared variable nodes. I am using a cRIO-9076 RT and using it to send data up to my Windows GUI. I'm accomplishing this using shared variable nodes, which work quite well, except for the case when the FIFO buffer is empty. In this situation, my Windows-level code just keeps regurgitating the most recent value that was in the buffer. This wouldn't be a problem if I could detect that the buffer was empty, but the error signal remains low and the code that it spits out (seems to be) is nonsense. The code is I32 -1950679034. From my reading, I should be getting an error when this buffer is empty and my code should be 2002 (or something like that).

 

This would suggest to me that perhaps my RT module isn't configured properly, but my other shared variables work fine so I'm a bit puzzled.

 

Thanks for the help!

 

Scott


Viewing all articles
Browse latest Browse all 69077

Trending Articles



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