From 09:00 PM Friday, August 7 - 10:30 AM CST Saturday, August 8, ni.com will be undergoing system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

Memory Method Node

LabVIEW 2018 FPGA Module Help


Edition Date: March 2018
Part Number: 371599P-01
View Product Info

DOWNLOAD (Windows Only)


LabVIEW 2016 FPGA Module Help
LabVIEW 2017 FPGA Module Help
LabVIEW 2018 FPGA Module Help
LabVIEW 2019 FPGA Module Help
LabVIEW 2020 FPGA Module Help

Owning Palette: Data Storage & Transfer Functions

Requires: FPGA Module

Invokes a method on a memory block on the FPGA. The methods available depend on the type of memory you configure.

You must specify a memory item before you specify a method.

You can invoke the following memory methods for memory you implement as block memory or look-up tables:

Write, Read

You can invoke the following memory methods for memory you implement as DRAM:

Write, Request Data, Retrieve Data
Note  When you configure the memory to have two read interfaces, the Read method contains an [A] or [B] in the label to denote which interface the node will access.

Details  

Memory In specifies the FPGA memory. You can wire a Memory control, Memory constant, VI-Defined Memory Configuration node, or another Memory Method Node to Memory In.
Memory Out returns Memory In if Memory In is wired. Otherwise, Memory Out returns the memory that you specify in the Memory Method Node.

Memory Method Node Details

To use the Memory Method Node, you first must create memory items. You can create a memory item in the Project Explorer window or using a VI-Defined Memory Configuration node. You then can right-click the Memory Method Node and select the memory item from the Select Memory shortcut menu.

When you wire a memory item to Memory In, LabVIEW renames this node to Memory Item to indicate that the node is now associated with a memory item in the project.

Tip  You can drag a memory item from the Project Explorer window to the block diagram to place a configured Memory Method Node on the block diagram.

Right-click the Memory Method Node and select Add New Memory from the shortcut menu to create a new memory item in the Project Explorer window.

Tip  If Memory In is unwired, you can right-click the Memory Method Node and select Find Item in Project from the shortcut menu to highlight the memory item in the Project Explorer window.

If you reset the FPGA VI, the memory remains unchanged. You must download the FPGA VI again to reinitialize the memory.

Displaying Error-Handling Terminals

Add error terminals to monitor whether the operation you performed completed correctly. You also can add error terminals to place this node in the data flow. Right-click the Memory Method Node on the block diagram and select Show Error Terminals from the shortcut menu to add standard LabVIEW error in and error out parameters to the node. If error in includes an error, you might receive incorrect data.

Note  Adding error in and error out parameters increases the amount of space the node uses on the FPGA target. The error in and error out parameters also can cause slower execution on the FPGA target.

To use this node in the data flow without using error terminals, include the node in a Flat Sequence or Stacked Sequence structure.

WAS THIS ARTICLE HELPFUL?

Not Helpful