Error -2628 When Importing a FPGA Personality in NI VeriStand

Updated Nov 7, 2023

Reported In

Software

  • VeriStand

Issue Details

I have designed a FPGA personnality for VeriStand and I am now trying to add it to my VeriStand project. I am getting the following error :
Error -2628 occurred at Invoke Node in NI_XML.lvlib:Load XML File.vi->FPGA.lvlib:Read FPGA Data Configuration.vi->FPGA.lvlib:Read FPGA Configuration File.vi->FPGA.lvlib:FPGA_Create Structure.vi- >FPGA.lvlib:Reload FPGA.vi->FPGA.lvlib:FPGA Device.vi

There are also a lot of mentions similar to Line 3, Column 137, Message: Unknown element 'FPGADMAChannelData' in the potential causes. How can I fix this ?

Solution

This error happens because VeriStand is not able to locate two files that are necessary to read your fpgaconfig file, NI VeriStand FPGA DMA.xsl and NI VeriStand FPGA DMA.xsd. To correct the issue copy those two files from C:\Users\Public\Documents\National Instruments\NI VeriStand 2xxx\FPGA\ (make sure you specify your own version number) and paste them right next to your fpgaconfig file.

Additional Information

Those files are necessary as they contain information that describes how a fpgaconfig is structured. Without those files, VeriStand is not able to identify its specific xml tags, hence the Unknown element errors.