LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Run vi without connected targets

Solved!
Go to solution

I have added two targets in my project. A cRIO and an Ethernet Expansion chassis.

When they are turned on and connected to the network I can run my vi in "My Computer".

How can I run my vi if they are not turned on?

Do I have to remove them from the project when I don't have access to them ?

 

DeploymentProgress.PNG

0 Kudos
Message 1 of 4
(3,513 Views)
Solution
Accepted by topic author nikosfs

Any code that references a VI on the missing target will cause your VI to not run.  Its a little like having a single-target system and trying to run a VI after "removing" (deleting) one of it's sub-VIs.

 

However, you certainly can run code from a Project that does not reference the missing target.  For example, my Real-Time Project includes several Analysis routines that run on the Host (including Generate Configuration File).  These will run fine, both in Development Mode and in Compiled Mode, with my Remote System turned off (or otherwise not connected).

 

Bob Schor

0 Kudos
Message 2 of 4
(3,495 Views)

So, which is the correct way to handle this issue?

Remove the targets from the project and add them again when they are connected ? If this is done, then all the shared variables that link to the channels of the modules need to be re-linked.

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

I have my RT Project on Subversion, so I download the entire Project to whatever computer I am using,  In particular, my Laptop is not connected in any way to the Remote Host.

 

If I am developing code, even code that will (eventually) be deployed on the Remote Target, and hence (in the Project) shows the name of the Remote Target, there has never been a problem.  Code develops just fine, though (of course) it cannot be Deployed or tested without the Remote.  I do sometimes find that when I open the Project and click on the Remote Target, it may take a minute for it to figure out how to open all the VI.

 

Note that any routines that run on the Host and do not require the Remote should compile and run just fine.  

 

Bob Schor

 

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