LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to reference multiple FIFO refnums in simultaneous loops using a cluster

Solved!
Go to solution

Hello,

I am referencing the following NI tutorial:

 

http://www.ni.com/tutorial/53682/en/

 

On the server application side, I am confused on how the FIFO refnum cluster is being created and then unbundled to retrieve the proper FIFO refnum. Below is the direct link to the server application block diagram in question.

 

http://www.ni.com/tutorial/app/largeimage?lang=en&imageurl=%2Fcms%2Fimages%2Fdevzone%2Ftut%2FCBC_Exa... 

 

I would like to implement something similar to select the right FIFO refnum by a descriptive name. What is going on inside the Init RT FIFO, Close RT FIFO, Read, and Write FIFO subVIs in this tutorial?

 

Thank you. 

 

0 Kudos
Message 1 of 3
(1,789 Views)
Solution
Accepted by topic author apollo21

That example is intended for LabVIEW Real-Time. Maybe I did not get the question but is this helpful?:

Create FIFO Refnum Cluster.png

You need to wire the type first with the desired data type and then right click on rt fifo refnum output and create constant or control. You can then copy the constant/control and paste it on your FIFO Refnum Cluster.

Lucian
CLA
0 Kudos
Message 2 of 3
(1,719 Views)

Thanks LucianM. Yes, this was the root of my question. I was incorrectly creating the FIFO refnum constant before (and not after) wiring the desired data type for each individual FIFO, which in my case were all unique data types..

0 Kudos
Message 3 of 3
(1,715 Views)