Complete the following steps to read from or write to a memory item in an FPGA VI.
- Create a new project or open an existing project.
- Add an FPGA target to the project.
- Right-click the FPGA target and select New»VI from the shortcut menu to add an FPGA VI to the project. You also can open an existing FPGA VI.
- Create a memory item in the project or using the VI-Scoped Memory Configuration node.
- Place a Memory Read or Memory Write function on the block diagram of the FPGA VI.
Memory Read
Memory Write
- Right-click the Memory Read or Memory Write function and select Select Memory»x from the shortcut menu, where x is the name of the memory item in the Project Explorer window or the VI-scoped memory item on the block diagram. LabVIEW prepends VI:: to the name of VI-scoped memory items.
You also can click the memory item in the Project Explorer window and drag it onto the block diagram. LabVIEW places a Memory Read function, configured for the memory item, onto the block diagram. Right-click the Memory Read function and select Select Method»Write from the shortcut menu to change to a Memory Write function. You also can click the function and select Write from the shortcut menu to change to a Memory Write function.