LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

listbox

Solved!
Go to solution

How to create a listbox for jpg picture,?so l can choose different picture in listbox ,and the 2d picure control can display.

0 Kudos
Message 1 of 3
(2,855 Views)

Hi zychocolate,

 

use a picture ring…

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 2 of 3
(2,837 Views)
Solution
Accepted by topic author zychocolate

If you are trying to import different pictures at run time you can do this with a 2D picture control and the tools found on the Graphics & Sound >> Graphics Formats subpalette.  Here you provide a path to a picture file and it can load the data which can be displayed.

 

But if your images don't change at run-time, the easy solution is the one already mentioned.  Import each image into a ring control, then pick which image to display when a number.

Message 3 of 3
(2,802 Views)