Real-Time Measurement and Control

cancel
Showing results for 
Search instead for 
Did you mean: 

IO Engine will not downlaod

I am trying to deploy my IO Engine to communicate shared variables with the FPGA.  Error message is returned stating failed to download IO Engine Host Code.vi. 
The FPGA file is compiled and runs fine in stand alone mode (FPGA.vi will communicate).  I've attached the files I am using, I am running a NI cRIO-9012 controller on a NI-9102 chassis. 
Any suggestion would be greatly appreciated.
0 Kudos
Message 1 of 12
(4,635 Views)

Hi Recoh,

 

I would like to clarify a few things before we toruleshoot this:

 

1. By I/O engine do you mean I/O server?

2. If yes, what make is it and what protocol are you using (OPS, Modbas etc)?

 

I am having a look at your code in the meantime.

 

Ipshita C.

National Instruments
Applications Engineer
0 Kudos
Message 2 of 12
(4,612 Views)

Hi Ipshita,

 

        You'll have to excuse my terminalogy this is my first time working with Real Time and FPGA so am trying to use same wording as some of my reference documents which may not make sense with what I am trying to achieve. 

 

        Anyways, I do beleive I/O Server is what I am looking for and currently I am simply running through ethernet so Modbus will be fine.  In the end this will be stand alone unit using the memory to store the software.  

 

        The problem I am having is I can control the I/O throught the FPGA.VI, using hardware but cannot interface (Host.VI made by FPGA wizard) to control the I/O through software.

 

        Hopefully this makes a little more sense I apoligize for any confusion.

 

Ric 

0 Kudos
Message 3 of 12
(4,599 Views)

Hi Recoh,

 

In your project explorer window please tell me where you are placing the host VI? If you can post a screenshot of your project explorer window that would help. Also please provide some more details regarding not being able to interface. Are you just receiving an error or are you getting no results/blank indicators when you run your VI?

 

Ipshita C.

National Instruments
Applications Engineer
0 Kudos
Message 4 of 12
(4,580 Views)

Hi Recoh,

 

You do not need to provide the screenshot if you have made no changes in the code since posting it in the forum.

 

Ipshita C.

National Instruments
Applications Engineer
0 Kudos
Message 5 of 12
(4,579 Views)
No changes have been made.
0 Kudos
Message 6 of 12
(4,575 Views)

Hi Recoh,

 

Your code is able to access NI-OPC servers from my end. I shall take a closer look at it and try working it with other PLCs this weekend.

 

Ipshita C.

National Instruments
Applications Engineer
0 Kudos
Message 7 of 12
(4,555 Views)
I have been succesful in communicating with the FPGA.vi using external input/outputs, but have yet to have any sucess communicating to the host.vi, and run other software through the fpga.
0 Kudos
Message 8 of 12
(4,549 Views)

Ipshita,

 

        I've added the I/O server (Modbus) as suggested, I can still see a "light" turn on each time I interface with an input in the FPGA.VI, but I still cannot deploy the HOST.VI without it failing, therefore cannot seem to inface with my shared variable library to interface with future control software.

0 Kudos
Message 9 of 12
(4,531 Views)

Hi Recoh,

 

Please check the version compatibilities of software that you are running. Here are the things you can let me know:

 

1. Version of LabView you are running

2. Versions of LabView FPGA, NI-RIO and LabView RT.

 

Essentially, the software versions on your computer and on your cRIO mcust match for the VI's to all work effectively. I checked your VIs and there seems to be no issue in the code itself.

 

Ipshita C.

National Instruments
Applications Engineer
0 Kudos
Message 10 of 12
(4,524 Views)