The high-level steps to creating a custom adapter module are as follows:
1. Design and build adapter module—Schematic, layout, assembly, etc.
The MDK includes all the necessary drawings, layout files, and instructions to create a PCB that will mechanically and electrically interface with the NI FlexRIO FPGA module. Files are available in standard .dxf and .dwg format for use with your own PCB design tools.
2. Register IO Module ID and program ID EEPROM
Instructions to program the EEPROM are contained in the NI FlexRIO Adapter Module Development Kit User Manual.
3. Create adapter module definition file (.fam)
The definition file makes the module appear in the LabVIEW development environment and defines certain electrical characteristics of the module. There are instructions and example files included in the MDK.
4. Create adapter module CLIP (HDL and XML)
The Component-level IP (CLIP) and an XML description of the adapter module establish the mapping of individual input and output ports from your hardware to LabVIEW. The MDK contains documentation and examples of these files.
5. Write LV FPGA VI for adapter module and CLIP
After all of the interfaces are defined, use LabVIEW FPGA to communicate to your custom adapter module and develop the rest of your system. Included in the MDK, you will receive examples and documentation of FPGA design VIs, examples using DMA to communicate across the PXI bus, and example host programs.
Successful adapter module development requires you and/or your team to have the following skills:
- PCB design—Schematic and layout
- PCB manufacturing/assembly
- HDL development/integration
- LabVIEW and LabVIEW FPGA development