01-04-2011 09:39 PM
Hi Gak,
Thank you very much. I have successfully used your method in my project and it works very well. Kudos to you! 🙂 🙂
Miu
01-05-2011 12:41 AM
Good.
01-09-2011 10:38 AM
Hi Gak,
I have a question regarding "Pictures" again.
May I know if Labview has a configurable way of programming in such a way that another user can change the pictures at the Front Panel of my program without deep knowledge of programming?
I have attached a picture below of how my pictures at my Front Panel look like.
The 3 food pictures there are actually customized from the "OK Buttons" created earlier on. I customized these pictures by:
Right Clicking on the OK Button > Advanced > Customize
And then I click on the red highlighted part to change to the "Wrench icon" so that I can import files by right clicking onto the OK Button after that. (refer to "Pictures on Front Panel (2))
However, at the end of all my programming, I am going to create my program to an EXE File and I want my program to work in a way that another person can change these pictures on the Front Panel without having to run the Labview program itself. In other words, without having to buy the license of Labview after I have created this EXE File.
I was hoping that the stall owner is able to change the pictures on the Front Panel when he/she has updated pictures of their own or when they have new food item pictures, and do not have to hire any Labview engineers to do it for them.
Is this actually doable? Are there any methods to solve this "customizable picture problem"?
Miu
01-09-2011 10:48 AM
01-09-2011 10:59 AM
Hi Gerd,
Could you kindly provide me with more information and details on how to go about doing it? Because I haven't done anything like this before.
I would really appreciate that. Thanks! 🙂
Miu
01-09-2011 11:30 AM
01-09-2011 08:51 PM
Hi Gerd,
Could you do a simple example because I have spent quite some time trying to find ways to use the 2 things that you asked me to but to no avail.
I guess I do not really understand because this is something really new to me, so I hope you can be a little more detailed.
I am so sorry for the trouble!
Miu
01-09-2011 10:28 PM
Hi miu,
If you want to change image you can have additional vi which will do this for you.
You can call this as setting or modification vi.
Have a look at attached example.
I hope it will help you.Just make sure when you change picture, image extension is same as you are using in program.
You will get file extension vi in labview which will give you file extension, you can compare it with required one before replacing.
Best of luck.
01-09-2011 11:48 PM
Hi Gak,
Thanks for your solution. May I ask what does the "Item list" in the VI do?
I am not really sure how this VI actually works 😕 Have to blame it on my little knowledge of Labview.
Also, I got an error (error stated in picture I attached below) while running the program after selecting the new image path.
I hope my understanding towards this is on the right track 😞
Miu
01-09-2011 11:48 PM
Oops I forgot to attach the picture again! Here it is, so sorry.