NI-Industrial Communications for EtherCAT

Content Type
Programming Language
Current manual

Optimizing an FPGA Application

Optimizing an FPGA Application

The following table includes techniques to optimize the usage of the NI 9145 physical memory and increase the compiling speed.

Optimization TechniqueDescription
Limit the number of user-defined variablesThe number of user-defined variables that can fit in the NI 9145 depends on many factors including the number and type of C Series modules used in Scan Mode, the number and type of user-defined variables, and the user logic on the LabVIEW FPGA diagram.
Use the smallest data type, if possibleUse the smallest data type for non-constant values to decrease the size and increase the speed of an FPGA VI.
Shorten the length of user-defined variable nameThe user-defined variable name is stored in the NI 9145 Object Dictionary (OD) after you compile and download the FPGA VI. Shortening the name reduces the usage of the OD table.
Was this information helpful?