02-10-2014 09:09 AM - edited 02-10-2014 09:24 AM
Hi,
I already read the white-paper regarding to my question but I did not understand the intension of combining the RT-FIFO
and the Network Buffer (http://www.ni.com/white-paper/4679/en/).
What is the advantage of the combination?
In my opinion it is useful if you have more than one writer but then the Network Buffer must have the double size of the RT-FIFO to have no corrupt data.
Is my opinion right and is there any other intension?
Is it possible to give a simple example, please?
Best regards, MS7.
02-21-2014 02:29 AM
The network buffer helps avoiding the loss of data and the FIFO provides determinism. If you use RT-FIFO without the network buffer, there is still the risk that you could lose data even though determinsm is guarenteed. However if you use the network buffer without the FIFO, you will quarenee that data does not get lost however you won't have a proper determinism in your system..
02-21-2014 07:40 AM
Thanks for your reply.
In my opinion the RT-FIFO is also a Buffer like the Network Buffer, isn`t it?
When I look to Figure 11 from the white paper and compare with Figure 13, I see in Fig.11 a single publisher writing data in the RT-FIFO and both subscriber get these data in their own RT-FIFO. The same happens in Fig.13, if you just use one publisher. I understand your statement that RT-FIFO is for determinism but what is the difference between those two Figures?
If both are just Buffers, why you should combine RT-FIFO with Network Buffer? It could be possible to use RT-FIFO like a Network Buffer, in this case the RT-FIFO with multi Element also avoid data loss.
Maybe I misunderstand something in the white paper but this is my understanding and I am agree with your statement.