LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Is there any way to get block diagram from EXEcutable?

Hello.

 

I would like to know if there is any possibility to get block diagram from .EXE created with application builder.

 

Thanks a lot!

0 Kudos
Message 1 of 11
(4,833 Views)

Hi A.,

 

using default settings the block diagram will be removed when the exe is built, so the answer is NO.

 

(When enabling debugging etc. the block diagram will be kept in the executable. You might be able to open the exe and get access to the included VIs.)

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 2 of 11
(4,818 Views)

Hi. Thanks for replying.

So if I want that anybody can not acces to block diagram in executable I have to disable debugging when I create the executable and that is all??

Disable "enable debugging" on image above right?

 

Thanks again.

0 Kudos
Message 3 of 11
(4,814 Views)

Hi A.,

 

yes, simple like this.

 

Comment: When you use "VI plugins" (your exe will load other VI as needed at runtime using VIServer calls) you need to remove their block diagram too…

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 4 of 11
(4,802 Views)

And that can be do in application builder when I am building the executable right?

 

Thanks a lot again

0 Kudos
Message 5 of 11
(4,738 Views)

Hi A.,

 

what is "that"?

To remove the BD from a VI you can save a copy of the VI using the AppBuilder to generate a source distribution: here you can select to remove the BD while saving…

(Keep in mind: once the BD is removed it IS REMOVED and the VI ins't editable anymore. Always keep the original VI in a safe place!)

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 6 of 11
(4,736 Views)

Thanks a lot!

VI's that I create with "source distribution" has the same behaviour that the original VI'?

0 Kudos
Message 7 of 11
(4,734 Views)

Hi A.,

 

as long as you don't change the VI it will have the same behaviour…

(This doesn't account fro errors like race conditions, target specific code, conditional disable structures, …)

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 8 of 11
(4,729 Views)

Hello again @GerdW .

I realized that when I create an executable (with "ennable debugging" option uncheck) Labview create a .ini file.

In this ini file there is an option of debug (in false by default):

 

DebugServerEnabled=False
DebugServerWaitOnLaunch=False

 

If user change this value to true, can they debug my application in run time execution and because of that get my block diagram?

 

Thanks a lot.

0 Kudos
Message 9 of 11
(4,688 Views)

Hi A.,

 

when "they" have the LabVIEW IDE available "they" can debug your EXE…

 

When you are angry of IP theft you should not include the BD in the EXE by disabling the debugging feature!

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 10 of 11
(4,678 Views)