RT FIFO Create
- Updated2023-02-17
- 4 minute(s) read
RT FIFO Create
Creates an RT FIFO or obtains a reference to an existing RT FIFO that you can use with other RT FIFO nodes.
Inputs/Outputs

elements in array
The number of elements in the array for each RT FIFO element.
Default value: 1

size
The number of elements in the RT FIFO.
Default value: 10

name
The name of the RT FIFO that you want to obtain or create.
Default value: Empty string

type
Defines the type of data that you want the RT FIFO to contain. RT FIFOs do not support data types of variable size, such as clusters, strings, and variants. RT FIFOs also do not support multi-dimensional arrays.
Waveform Data Transfer with RT FIFOs
If you use an RT FIFO to transfer waveform data, the attributes of the waveform do not transfer. The attributes element of a waveform is a variant, which is variable-sized and therefore incompatible with the RT FIFO.

create if not found?
A Boolean that determines whether to create a new RT FIFO if the FIFO specified by name does not currently exist.
| True | The node creates a new RT FIFO if the FIFO specified by name does not exist. |
| False | The node does not create a new RT FIFO and returns an error if the FIFO specified by name does not exist. |
Default value: True

error in
Error conditions that occur before this node runs.
The node responds to this input according to standard error behavior.
Default value: No error

datapoints in waveform
The number of datapoints for every element of the array of waveforms. This input only applies if the RT FIFO elements are waveforms.
Default value: 1

r/w modes
Read and write modes for a new RT FIFO. The read and write modes define the behavior of an RT FIFO that reads a value from an empty RT FIFO or writes a value to an RT FIFO that does not have an empty slot.

read mode
Read mode for the RT FIFO.

write mode
Write mode for the RT FIFO.

rt fifo
References an existing or newly created RT FIFO.

created new?
A Boolean that indicates whether the node created a new FT FIFO.
| True | The node created a new RT FIFO. |
| False | The node did not create a new RT FIFO. |

error out
Error information.
The node produces this output according to standard error behavior.