LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Problem with FPGA and Ethercat expansion chassis.

Solved!
Go to solution

Hi

I have a simple FPGA program that compiles in cRIO without any problems, but I want to use the FPGA program on the NI 9144 EtherCAT Expansion Chassis in FPGA mode to NI PXIe 8135 (Code file attached). As you know there are some differences between programming the local FPGA and the FPGA for EtherCAT RIO, that must be used user-defined I/O variables (this paper).

For Compiling I did step by step as this paper said, we get successful processes, but after file generation complete we have an error (that attached). It shows that the file can not run in chassis. 

Please help me.

error.PNG

Regards. 

Download All
0 Kudos
Message 1 of 5
(2,589 Views)

Your message seems to be unrelated to the 3 year old thread in which it was posted.  I've moved it to a new thread and gave it an appropriate title so it will get attention.

0 Kudos
Message 2 of 5
(2,579 Views)

Hello, 

 

It appears that you are violating timing requirements. Make sure you update any Single Clock Time Loops (SCTL) to meet the new requirements.

 

-Michael 

0 Kudos
Message 3 of 5
(2,532 Views)

Thanks for your attention.

 

0 Kudos
Message 4 of 5
(2,500 Views)
Solution
Accepted by topic author tiba.shokatpour@gmail.com

Hi

I found the solution for Timing Violation Errors, In this link ( section 4)

The following are suggestions for improving timing in your FPGA code:

  • Adjust the build settings to optimize for performance (Note: this may increase compilation times, and may result in area trade-offs).
  • Optimize your code. Try the following best practices and optimization techniques within your LabVIEW FPGA code.
    • Reduce the amount of logic in the VI
    • Add pipelining to increase parallelism
    • Use Timed Loops instead of other loops
    • Change arbitration settings

I just use Timed Loops instead of other loops, so the compilation runs successfully.  

Regards.

 

 

0 Kudos
Message 5 of 5
(2,456 Views)