LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Do my VIs live on my Real Time target?

Solved!
Go to solution

Hi,

 

If I build a real time appliaction program with "Enable Debugging", does that mean that the source files will be available for anyone who connects to it with Labview to debug?

 

I want to leave debugging enabled as a just in case option for the future but not if there is any chance that my block diagrams will be exposed.

 

Or is it like normal debugging where you can only step thorugh the original source code if you have the files?  I did a find on the Linux file system for *.vi and no results.  But when I connect to debug remotely it says it is uploading all my VIs!

0 Kudos
Message 1 of 6
(2,750 Views)

Hi ashesman,

 

when you enable debugging in executables the source code (aka block diagram) is kept within the executable!

When (remotely) debugging such an executable the block diagram is read from your executable…

Best regards,
GerdW


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

Thanks for your reply.  Sorry, I didn't quite understand what you mean.  I guess all I want to know is can someone with LabVIEW (who doesn't have our source code) extract the block diagrams from the executable (built with debugging enabled) or cDAQ and see our IP?

0 Kudos
Message 3 of 6
(2,683 Views)
Solution
Accepted by topic author ashesman1

Yes, they'll be able to see your block diagrams.

0 Kudos
Message 4 of 6
(2,679 Views)

Bugger, so I need to password protect them, or build with debug disabled.  I think the later is probably a better plan...

 

Thanks for your help.

0 Kudos
Message 5 of 6
(2,677 Views)

Disabling debugging also reduces memory requirements and can improve code performance. Thus, unless you specifically plan on debugging, this would be another reason to consider disabling it in the final application.

 

Regards,

Regards,

Michael Whitten
Senior RF Applications Engineer
0 Kudos
Message 6 of 6
(2,658 Views)