LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Picture Ring

Solved!
Go to solution

Hi Gak,

 

Thank you very much. I have successfully used your method in my project and it works very well. Kudos to you! 🙂 🙂

 

Miu

0 Kudos
Message 11 of 35
(1,651 Views)

Good. Smiley Happy

Gaurav k
CLD Certified !!!!!
Do not forget to Mark solution and to give Kudo if problem is solved.
0 Kudos
Message 12 of 35
(1,644 Views)

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

 

Download All
0 Kudos
Message 13 of 35
(1,625 Views)

Hi Miu,

 

you should use picture indicators to show JPGs loaded from additional picture files using the pciture functions. That way your user can simply exchange the files to show different pictures...

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 14 of 35
(1,618 Views)

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

0 Kudos
Message 15 of 35
(1,613 Views)

Hi Miu,

 

read this: ReadJPGFile and PictureIndicator! Just search the examples coming with LabVIEW!

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 16 of 35
(1,615 Views)

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

 

0 Kudos
Message 17 of 35
(1,602 Views)

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.Smiley Wink

Gaurav k
CLD Certified !!!!!
Do not forget to Mark solution and to give Kudo if problem is solved.
0 Kudos
Message 18 of 35
(1,590 Views)

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

 

 

0 Kudos
Message 19 of 35
(1,582 Views)

Oops I forgot to attach the picture again! Here it is, so sorry.

0 Kudos
Message 20 of 35
(1,581 Views)