04-11-2018 07:13 PM
Greetings,
I am a newbie here. As mentioned in the subject, does anyone know or have a basic VI codelet on how to display image in an indicator on the front panel when a button is clicked?
I have already go through find examples and other resources, I can't seem to find it.
Thank you in advance for any help or ideas.
04-12-2018 01:40 AM
04-12-2018 06:38 AM
yes, I have mentioned that I already searched in the LabView Find examples.
One that I remember of is only showing how to rotate the 2D picture indicator.
04-12-2018 08:26 AM
Hi quadratini,
how to display image in an indicator on the front panel when a button is clicked?
You need those functions/structure:
- an event structure to handle the user input event (You might just poll the button and wire it to a case structure, too.)
- a Read image file function (LabVIEW brings functions for BMP, PNG and JPG files.)
- The PixmapToPicture function as is described and linked in the help of the ReadImageFile functions…
Which of these 3 parts is a problem to you?