Memory Method Node
- Updated2025-01-28
- 3 minute(s) read
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, ReadYou can invoke the following memory methods for memory you implement as DRAM:
Write, Request Data, Retrieve Data
Inputs/Outputs
Memory In
—
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
—
Memory Out returns Memory In if Memory In is wired. Otherwise, Memory Out returns the memory that you specify in the Memory Method Node. |
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.
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.
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.
To use this node in the data flow without using error terminals, include the node in a Flat Sequence or Stacked Sequence structure.
Memory In
—
Memory Out
—