Company Events Academic NI Developer Zone Support Solutions Products & Services Contact NI MyNI

Creating a Shared Variable with Real-Time FIFO (RT Module)

LabVIEW Real-Time Module 8.2 Help
August 2006

NI Part Number:
370622D-01

»View Product Info

You can create a shared variable and enable the real-time FIFO to deterministically share data locally on an RT target or across a network with VIs on another target.

Complete the following steps to create a shared variable and enable the real-time FIFO.

  1. Right-click the RT target on which you want to create the shared variable and select New»Variable from the shortcut menu to open the Shared Variable Properties dialog box.
  2. Enter a name for the variable in the Name text box.
  3. Select the data type for the variable from the Data Type pull-down menu.
  4. Select Single-Process or Network-Published from the Variable Type pull-down menu.
  5. Click Real-Time FIFO in the Category list to open the Real-Time FIFO page.
  6. Place a checkmark in the Enable Real-Time FIFO checkbox.
  7. Select Single element or Multi-element to create a FIFO buffer with a single element or a FIFO buffer with multiple elements.
  8. If you select Single element, configure the size for the array elements or the size of the waveform for the FIFO element if you select an array or waveform data type.

    If you select Multi-element, configure the size and the elements of the FIFO buffer to match the settings from the Use Buffering section of the Variable page, or you can configure a custom size for the FIFO and the FIFO elements.
  9. Click the OK button.

Resources


 

Your Feedback! poor Poor  |  Excellent excellent   Yes No
 Document Quality? 
 Answered Your Question? 
Add Comments 1 2 3 4 5 submit