LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Setting execution target in LabVIEW 8

Does anyone know where the execution target selection box is in LabVIEW 8? I have a VI on an RT system, which I built and deployed. If I open that up, it'll run on my host PC but I want to be able to choose the IP of the RT system as the execution target.
 
0 Kudos
Message 1 of 8
(3,795 Views)

The integration of all "execution targets" into the LabVIEW Project was a significant change in LabVIEW 8.  The concept of "switching" the execution target no longer exists in LabVIEW 8.  You need to create a project and then create a new target in the project referring to your RT system.  Any VIs you place under that target will automatically get downloaded and run on that system via the LabVIEW Project.  This enables you to much more easily have VIs running on both the host computer and the RT system at the same time.

I suspect you could find more information on this in the Upgrade Notes or other such documentation for LabVIEW Real-Time, but I have not researched the specific details on where this information is.

0 Kudos
Message 2 of 8
(3,784 Views)
Hi Jeff, I've been able to do that with the VIs on different targets in my project. The VI on my host PC says "My computer" in the bottom-left corner, and the VI under my remote RT system shows its IP address. I built each VI into an executable and deployed the RT VI on to the RT system. I don't necessarily want that exe to be the startup program. I want to be able to run an executable on the RT system by loading it from my host PC just so I can watch what the RT program is doing. Has this functionality morphed in LV 8?
0 Kudos
Message 3 of 8
(3,775 Views)
Unfortunately I haven't used RT much since 7.0, so I can only offer the high-level advice.  Hopefully someone else can provide some more in-depth expertise on this one.
0 Kudos
Message 4 of 8
(3,773 Views)
Sima,
 
If I understand you correctly you are wanting to test and make sure that your executable was built correctly and functions properly.  To do this you would want to chose the executable to be a startup executable, deploy it to the RT device, and then Reboot the RT device.  This would allow you to check and make sure it is functioning correctly.  If you have multiple executables you can choose which one is the startup .exe and can switch them around. 
 
If you are attempting to do something slightly different please clarify and I'm sure I could help you out with it.
 
Thanks,
 
Steven B.
 
0 Kudos
Message 5 of 8
(3,753 Views)

Hi Steven, I've been able to verify that the executable works as a startup program simply by having it write to a piece of hardware. What I want to do is launch the executable from the host PC and at that time specify that it should download and execute on the remote RT system, just like in 7.1. I've been speaking with NI about this, and the last thing I was told was that this option might not have been included in 8. I'm waiting to hear back some more details.

 

0 Kudos
Message 6 of 8
(3,747 Views)

Sima,

You are correct that this functionality is no longer supported in LabVIEW 8.0.  Currently your only option is to have the executable be a startup.exe or to FTP the executable onto the device and then reboot to start the .exe.  I have not heard any plans to add this functionality back in future releases. 

I would definitely suggest making a Product Suggestion if you would like to have this functionality put back in. 

Steven B.

0 Kudos
Message 7 of 8
(3,727 Views)
I was surprised to hear it. I think it's a useful option to have. To the suggestion box...
0 Kudos
Message 8 of 8
(3,707 Views)