07-06-2021 08:59 AM
Hello all,
The current LabVIEW directory I'm working on uses an image folder to load images of our products in the application. There is no real problem with the solution, it works fine. However, I don't like the fact that we'd send the software to clients with an images folder that they could access or even just see.
Here's what it looks like currently.
Is there a way to include this images folder in the executable or the installer of the project so that it doesn't show by itself ?
Solved! Go to Solution.
07-06-2021 09:05 AM
Hi Frogeur,
@FrougeurPro wrote:Is there a way to include this images folder in the executable or the installer of the project so that it doesn't show by itself ?
You could convert all the images into 2DPicture constants, and place them in a "collector" VI to access them...
07-19-2021 02:24 AM
Thank you for your asnwer, I've looked up ways to create 2D picture constants and only found this video : https://www.youtube.com/watch?v=UPqL8otrMAo. However, it looks like a convoluted way to do it. I've looked around the VIs palette and only found the "2D image" VI which looks to be more about drawing shapes than stocking a picture.
How would you create said picture constants ?
07-19-2021 03:32 AM - edited 07-19-2021 03:32 AM
07-19-2021 03:34 AM
Ok thanks, that's how it was done in the video but I thought there might be another way to do it.
Thank you for your answer.
07-19-2021 03:50 AM
Hi Frogeur,
@FrougeurPro wrote:
Ok thanks, that's how it was done in the video but I thought there might be another way to do it.
Sure there are other ways.
You might employ VIScripting to create those constants from image file: this way you can create constants (and any other code) programmatically!