LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

FPGA on NI-9145: compilation error

Hello everybody,

 

I use Labview 2017 in order to deploy FPGA code on a NI-9145 Ethercat chassis through a PXIe-8880 controller.

Recently I added a different NI-9145 device, since we are planing to expand the EtherCAT network. Since then, I am facing compilation issues. Apparently the compilation cloud needs memory on the development computer in order to place the FPGA code. The error I get after ca. 20 min. is:

 

LabVIEW FPGA:  Some of the compilation steps were not executed.

Time (s): cpu = 00:01:10 ; elapsed = 00:00:36 . Memory (MB): peak = 3916.988 ; gain = 0.000 ; free physical = 23933 ; free virtual = 0
INFO: [Route 35-416] Intermediate Timing Summary | WNS=1.228  | TNS=0.000  | WHS=N/A    | THS=N/A    |
terminate called after throwing an instance of 'std::bad_alloc'
  what():  std::bad_alloc

 

 

For some fancy reason, compilation works normally (and pretty fast) on a virtual NI-9145 in the existing EtherCAT-Master. FPGA compilations abort however if I place the VI on the FPGA target of the real, physical NI-9145.

 

Any help is welcome

Best wishes Smiley Happy

Lysandros

 

Unbenannt.PNG

 



0 Kudos
Message 1 of 6
(3,381 Views)

Seems it's an FPGA problem and related to your PC. Have you tried rebooting your PC?

0 Kudos
Message 2 of 6
(3,326 Views)

Hello,

sounds plausible.

However, I formatted the PC and reinstalled Windows 7 and Labview 2017. The problem remains.

  • Windows 7, 64-bit OS
  • Labview 2017 SP1 (32-bit)
  • Labivew 2017 FPGA Module
  • Xilinx Vivado 2015.4 (for local compilation)

Thanks



0 Kudos
Message 3 of 6
(3,323 Views)

Hmm, you're still using LabVIEW 2017 FPGA module. I would recommend you upgrade it to LabVIEW 2017 SP1 FPGA module.

 

Meanwhile, LabVIEW 2107 Real-Time module, CompactRIO 17.6, and EtherCAT 17.6 are also required.

 

If the problem still exists, you can try increasing the virtual memory and check if will help or not: https://www.youtube.com/watch?v=qyUlDXG4g0E

Message 4 of 6
(3,314 Views)

Thank you.

I installed Labview FPGA SP1 and it seems that it helped. I can compile FPGAs and use I/Os on them. Everything works, except if I discover the NI-9237 C-Module (Strain guage amplifier).  Then the compilatinon crashes, even if this module is not layed on the FPGA, just on the EtherCAT expansion chassis. ..

 



0 Kudos
Message 5 of 6
(3,302 Views)

np

Did you use CompactRIO 17.6 and EtherCAT 17.6?

0 Kudos
Message 6 of 6
(3,299 Views)