LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Display picture instead of message.

Hello there. Is there a way to display a picture in a pop up instead of a message?
0 Kudos
Message 1 of 6
(4,081 Views)

You will need to create your own pop up dialog by creating a new VI, going into File>>VI Settings>>Window Appearance and customizing the VI to open its FP when it is called and to be modal.
Now, when you run this VI, it will be brought to the front and the user can do nothing until they dismiss it.

You can place a picture control in the background of the VI and load any image you want into it.

To learn more about LabVIEW, I suggest you try searching this site and google for LabVIEW tutorials. Here, here, here, here, here and here are a few you can start with and here are some tutorial videos. You can also contact your local NI office and join one of their courses.
In addition, I suggest you read the LabVIEW style guide and the LabVIEW user manual (Help>>Search the LabVIEW Bookshelf).


___________________
Try to take over the world!
0 Kudos
Message 2 of 6
(4,072 Views)
Hi archangel,

yes it's possible:


You can do:
- use a picture indicator
- use a picture ring
- use customized (boolean) controls

So many possibilities...

Message Edited by GerdW on 07-24-2007 04:47 PM

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 3 of 6
(4,073 Views)
If you are using Windows and have other types of objects that you might want to load into the dialog, you might want to look at this vi I posted in the LAVA forums. It is a dialog box with an embedded HTML browser.

http://forums.lavag.org/Embedded-Web-Browser-IE-Only-t5402.html&pid=21578&mode=threaded#entry21578

You can load JPGs, GIFs, etc as well as things like PDF files if you've installed the appropriate plugin.



0 Kudos
Message 4 of 6
(4,059 Views)
How do I customize the boolean control to make it display the picture when it's on and display nothing when it's off?
0 Kudos
Message 5 of 6
(4,049 Views)
Hi archangel,

you have to customize your control.
Select your control, then choose menu entry Edit-> Cusomize Control.
Now you're able to change the look of your control by copy/paste images... For your boolean: paste an empty image in OFF state and the other picture for the ON state.
Or: use a picture ring with 2 pictures. Use the one from the classic palette and make the borders transparent!
Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 6 of 6
(4,028 Views)