Overview
While the LabVIEW Example Finder DRAM examples are very full-featured and showcase a lot of best practices, the following example shows to get up and running quickly with the Write, Request Data, and Retrieve Data FPGA methods to interface with DRAM.
Block Diagram
This particular example implements a state machine to write a chunk of data into DRAM and then read the data back to the host. The host performs a comparison of the retrieved data to the written data to check for errors. Below are screenshots for each state, for purposes of recreating code in earlier versions of LabVIEW:
Note: For greater DRAM throughput and performance, refer to the Memory Throughput Test.vi Example in the NI Example Finder (Hardware Input and Output»FlexRIO»External Memory) as a reference. This example is meant to show basic handshaking and implementation for DRAM usage with NI FlexRIO