Real-Time Measurement and Control

cancel
Showing results for 
Search instead for 
Did you mean: 

How to I develop on one crio and deploy on another

Solved!
Go to solution

How to I develop on one cRIO and deploy on another?

 

I have developed a cRIO-based application, and want to test it on another cRIO before deploying it on many other cRIOs.  (See image below.)

 

cRIO Deployment Diagram.PNG

 

I'm used to doing this in non-real-time systems: develop it at our facility with our hardware, and then test at a customer's site on their development system.  But with the cRIO things are a little different.  In the project explorer window, I have the host (my computer) and the target (Lab cRIO).  I tried the following:

  • Connection: disconnecting from the Lab cRIO (via crossover Ethernet) and connecting to the customer cRIO, and then discovering the new cRIO in the project explorer. It works.
  • Copying VI's & variables: I copied the same file structure under the Lab cRIO in project explorer to the new cRIO. I did this by adding one VI and one shared variable library - the same ones on the Lab cRIO. This seems to work.
  • Running or Not: The problem arises when I try to run it because it looks for the shared variables on the old cRIO.

 

 

System specs: LabVIEW 8.6.1, cRIO 9074 w/ various modules, configured in scan mode and to be deployed as an executable

 

 

What's the easiest way to copy a project from one cRIO to another?

Message 1 of 3
(4,337 Views)
Solution
Accepted by Agile

Hello,

First off may I say that is the most lovely and informative problem post I have seen.

 

Second, You should be able to do the following:

 

- rather than add both targets to your project, to just go into the Target properties (right click target, select properties ) and change the ip address to the one you are testing on. This would be the easiest, cleanest method.

 

- otherwise, in your current setup, when you port the code from one to the other cRIO, remember to right click the target and select deploy all. You will have to rebuild your application as well.

 

Please let me know how these suggestions work out for you.

 

Regards,

 

Anna K.

National Instruments
Message 2 of 3
(4,318 Views)

Thank you Anna.  That was both kind and helpful.  The solution seems so easy it's almost embarrassing.  I won't be able to give it a try until next Tuesday or Wednesday, so if it works, I'll mark this as a solution. 

 

Thanks again.Smiley Happy

0 Kudos
Message 3 of 3
(4,303 Views)