05-02-2018 03:20 AM
When I build an executable with a dynamic vi located in in the support directory I will have a bunch of vi's created in that directory. For distribution all those file were also copied to the destination computer. Is there a way to hide or compress all those files on the destination computer so I can load them without the operator can see them. (without hiding the directory)
05-02-2018 03:42 AM - edited 05-02-2018 03:46 AM
05-02-2018 07:02 AM
Hi,
Thanks for the tip but, that's not working for me because I am using an DLL for Pie charts.
05-02-2018 08:03 AM
05-02-2018 08:29 AM
HI,
The library I'm using is the 'DataVisualisation' tool. I have also another problem with putting the vi's in the executable. When I compile my program I am getting 'Error 6 File I/O error'.
I can put the vi in a lvlib but it is only one file the rest are dependency's.
05-02-2018 08:39 AM
Hi Poema,
I can put the vi in a lvlib but it is only one file the rest are dependency's.
That's why I suggested to include that one VI into the executable. All the dependencies will be included in the exe too…
When I compile my program I am getting 'Error 6 File I/O error'.
Do you get that error "while compiling" or "when running the executable"?
Did you include some error logging to know which file access is failing?
05-02-2018 08:39 AM
@Poema wrote:
I have also another problem with putting the vi's in the executable. When I compile my program I am getting 'Error 6 File I/O error'
That sounds like an issue with how you are referencing the VIs. Can you share some code to show how you are calling your dynamic VI?
05-02-2018 08:47 AM
While compiling, there is no file name specified.
05-02-2018 08:55 AM
05-02-2018 09:59 AM
@crossrulz
FYI
When I include the vi in the program as a sub vi I am getting 'Error 6 File I/O error' (during compilation)
When I include the vi as a dynamic vi in the executable I am getting 'Error 6 File I/O error' (during compilation)
When I include the vi as a dynamic vi in an external directory => no problem