LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

LabView API to perform Deploy Target Setting instead of Menu GUI

Hello Support Community,

In the attached file you will see "Deploy Target Settings" menu from LabView Development Environment [IDE].

How to perform same task using LabView VI or LabWindows/CVI or any other API Calls?

Best regards

Pashan

 

0 Kudos
Message 1 of 4
(128 Views)

I don't think there is a public API for this. This is functionality of the realtime project provider that collects all kind of project specific settings mostly related to the according Build Specification.

 

Well there seems to be something:

 

Project::Deploy Items

 

But it's going to take some serious trial and error to get that working as you will need to enumerate the correct Project Items to pass to that method.

 

Rolf Kalbermatter  My Blog
DEMO, Electronic and Mechanical Support department, room 36.LB00.390
0 Kudos
Message 2 of 4
(117 Views)

"Deploy Items" shows no available for Real-Time Target as shown in the attached document.

So that will not work for cRIO-905x Chassis having NI RT Linux.

Correct?
Please confirm so I can understand better as my system is Windows Host PC running LabView IDE and cRIO-9054 running NI RT Linux connected to Host using Ethernet Cable.

Question is, how do I create an EXE file which will run on Host PC to perform "Deploy Target Setting" as it is doing from IDE Menu?

0 Kudos
Message 3 of 4
(98 Views)

@Pashan wrote:

 

Question is, how do I create an EXE file which will run on Host PC to perform "Deploy Target Setting" as it is doing from IDE Menu?


Short answer: you can't!

 

Longer answer: It has nothing to do with the fact that you want to deploy to a real-time system. But everything with the fact that this method is not supported in the runtime system. Same effect but not the same reason.

 

Even longer answer: It's possible but only if you have a full LabVIEW IDE installation. Your EXE then can remotely connect to the LabVIEW IDE and invoke that method in there through VI Server. But the question here is of course: Why do that and not just invoke the VI directly in the LabVIEW IDE?

Rolf Kalbermatter  My Blog
DEMO, Electronic and Mechanical Support department, room 36.LB00.390
0 Kudos
Message 4 of 4
(59 Views)