Real-Time Measurement and Control

cancel
Showing results for 
Search instead for 
Did you mean: 

FPGA chassis deploy problem

Solved!
Go to solution

Hello!

 

I've been using cRIO 9024 with several modules for controlling a voice coil actuator. 

 

The problem I have is that when I'm running the FPGA code, it says "The chassis is in Scan Interface programming mode. In order to run FPGA VIs, you must go to the chassis properties page, select FPGA programming mode, and deploy the settings." 

 

So I checked the property but it was set as "FPGA programming mode". Also when I'm trying to deploy the chassis, I'm having error message, "LabVIEW:  (Hex 0x80DF0010) The current deployment operation has a missing dependency."

 

Since I'm not the one who wrote the code, I have no idea what's causing this problem. This code has been used for the different set up with same cRIO model but different modules. I've already replaced modules I've been using with those needed for this code.

 

Does anyone know what is going on here, please?

 

Thanks a million in advance.

 

Geehoon

 

0 Kudos
Message 1 of 13
(9,673 Views)

Hi Geehon,

 

Could you provide a screenshot of your project so we can see how it is configured?  Thanks!

Josh B
Applications Engineer
National Instruments
0 Kudos
Message 2 of 13
(9,640 Views)

Hi Josh,

 

I apologize for super late response. I was totally forgetting about this problem for a long time. But since I start using the code again and still have the problem it would be great if you can help me. 

 

project.png

 

This picture shows the project overall. When I am trying to run the FPGA code I'm getting the message below.

mess2.png

 

But the problem is that the chassis is already set to "FPGA programming mode"....

 

setting.png

 

The project is running on Labview 2013 and the softwares installed on cRIO are the latest available ones from MAX.

softwares.png

I'm guessing the problem is caused by some compatibility between the NI scan Engine and cRIO but have no clue about how to fix it.

 

Best,

 

Geehoon

 

0 Kudos
Message 3 of 13
(9,020 Views)

Hello Geehoon

 

I suspect you are running in to the same issue described here. http://forums.ni.com/t5/Real-Time-Measurement-and/Error-at-open-FPGA-reference-61201/m-p/2556959#M13...

 

Quoting from that thread

 


Chances are the chassis setting has not been deployed. To do this, right click on the chassis and select deploy. You should be able to see the chassis item listed in the deploy window.

 

If you don't see the chassis being deployed and your issue is not resolved, you may be running in to some deploy caching behavior. It's possible that your host thinks the setting has been deployed, which causes the setting to be filtered in future deployments, but it actually hasn't. To force the chassis mode setting to be deployed, change to Scan Mode, deploy, then change back to FPGA mode and deploy again. It's also possible that "Deploy All" (available by right clicking on the RT Target) will also fix this, but I can't remember. 


 



Thanks,

 

Sebastian

Message 4 of 13
(9,017 Views)

Hi Sebastian,

 

Thanks for the reply. However, it seems the solutions from the quot don't work for my case. 

I'm still getting the same message. Would there be other solution?

 

Best,

 

Geehoon

0 Kudos
Message 5 of 13
(9,009 Views)

Just a quick reply with a couple of suggestions that might be worth a try:

  • in one of property menus (sorry can't remember which one) there is a button to "Erase Bitfile"
  • Clear the build cache – in LabVIEW Project Explorer, Tools | Advanced | Clear Compiled Object Cache
  • try to right click on cRIO | deploy and then right click on Chassis | Deploy
  • in additional to deploy you could just do a download of the bitfile (right click on Build Specification) - not essential but we found that it can help provide a consistent installation

Sometimes several repeated attempts at the installation and reboots makes it work.

 

There are some other things that can be tried, but I don't have my notes with me right now, but I think some of these things depends on the specifics of your application.

 

This white paper is very helpful - http://www.ni.com/white-paper/9640/en/

 

 

 

 

Consultant Control Engineer
www-isc-ltd.com
0 Kudos
Message 6 of 13
(9,003 Views)

Sorry to  hear that didn't fix it. I think the deploy error is the crux of the issue. Can you reply with the entire contents of the deployment window? You should be able to copy paste it.

 

As another thing to think about, that list of installed software you included is very long, and while it certainly should be ok, should is the operative word here. I can't see in your RT VIs, but my guess is you don't need much more than the base RSS. I'd recommend re-installing the LabVIEW 2013 Recommended Software Set and only selecting add ons if you are sure that you need them.

0 Kudos
Message 7 of 13
(8,982 Views)

Hi AndyClegg,

 

Thanks for the suggestions, but unfortunately non of those are working.

 

  • in one of property menus (sorry can't remember which one) there is a button to "Erase Bitfile"

--> I cannot open "RIO device setup" to Erase bitfile, and it says:

 

The FPGA target is busy. Stop any VIs that are running on or communicating with the FPGA target and try again.  If the FPGA target is in a chassis running a Scan Interface application or with Scan Interface mode deployed, you must redeploy in LabVIEW FPGA Interface mode. In the LabVIEW Project, open Chassis Properties, ensure the programming mode is set to LabVIEW FPGA Interface, and redeploy the chassis settings.

 

  • Clear the build cache – in LabVIEW Project Explorer, Tools | Advanced | Clear Compiled Object Cache

--> tried it but doesn't help deploy problem

 

  • try to right click on cRIO | deploy and then right click on Chassis | Deploy

--> can deploy cRIO but cannot do it on Chassis

 

  • in additional to deploy you could just do a download of the bitfile (right click on Build Specification) - not essential but we found that it can help provide a consistent installation

--> I don't actually know how to download the bitfile....

 

Geehoon

 

0 Kudos
Message 8 of 13
(8,972 Views)

 deployment.png

 

This message is the entire contents of the deployment window. 

 

One thing I've noticed is that when only base RSS are installed on cRIO I could actually deploy the Chassis. However, I need this "NI Softmotion module" and once I install those softwares on cRIO the problem occurs. 

 

So i'm guessing that one of softwares related to "Softmotion module" is causing the problem. 

 

Another thing that I don't understand is it works for Labview 2012 but doesn't work for 2013. So it might be some version issue?

 

 

Geehoon

0 Kudos
Message 9 of 13
(8,967 Views)

To be clear, can you confirm that the Base RSS with the softmotion add on (and it's dependencies) is enough to break deployment of the chassis?

0 Kudos
Message 10 of 13
(8,964 Views)