06-18-2018 08:56 AM - edited 06-18-2018 09:18 AM
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
Lysandros
06-19-2018 02:52 AM
Seems it's an FPGA problem and related to your PC. Have you tried rebooting your PC?
06-19-2018 03:01 AM
Hello,
sounds plausible.
However, I formatted the PC and reinstalled Windows 7 and Labview 2017. The problem remains.
Thanks
06-20-2018 12:29 AM - edited 06-20-2018 12:31 AM
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
06-21-2018 02:39 AM
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. ..
06-21-2018 03:15 AM
np
Did you use CompactRIO 17.6 and EtherCAT 17.6?