From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

IP integration node error. "Failed to call Windows API"

Hello. I'm new to integrating VHDL code in a labview project so I'm trying to create a very basic implementation.

 

I have the following code in an IP integration node:

 

library IEEE;
use IEEE.STD_LOGIC_1164.ALL;

entity main is
    Port ( button : in STD_LOGIC := '0';
           led : out STD_LOGIC);
end main;

architecture Behavioral of main is
begin
    led <= button; 
end Behavioral;

 Which exists in the attached subVI

 

Compilation works fine, but when trying to run and deploy the vi to a myRIO I get the following error.

 

Error in IP integration node:

 

Possible reason(s)

Failed to call Windows API. If this error persists, contact National instruments technical support.

 

The subVi containting the IP integration node is put into the RT Main.vi automatically created by the myRIO fpga template.

 

As I said, I'm still very unsure about how to include VHDL code in labview, so if anyone knows about some basic tutorial then please link one here.

0 Kudos
Message 1 of 5
(2,694 Views)

It sounds like the problem is not with the IP but with the deploy process, xilinx tools, or any number of other things (there are obviously no windows APIs on your fpga target) so it might be better to give a screenshot of the error.

 

To answer your other question about a tutorial, it just so happens that there is one tucked away in the help:

http://zone.ni.com/reference/en-XX/help/371599K-01/lvfpgaconcepts/integrating_hdl/

and here:

http://zone.ni.com/reference/en-XX/help/371599K-01/lvfpgaconcepts/fpga_clip_tutor_intro/

 

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

Hi mcarlie,

 

As Dems mentioned, it would be great if you can send a screenshot of the error with the error code so that we can investigate further into the issue.

 

Thanks,

GajanS

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

Thanks for the replies. Turns out that the IP integration node needs to be in the FPGA default VI in order to run properly. I tried putting it in RT main.vi since I couldn't figure out how to interface with the myRIO leds and button in the FPGA vi.

0 Kudos
Message 4 of 5
(2,622 Views)

Hi mcarlie,

 

Thank you for updating us and I'm glad you solved the issue.

 

GajanS

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