02-28-2020 02:13 AM
Hi,
I would like to ask how to do make the diagram from another VI pop out when my cursor hover over the smart meter and disappear when my cursor leave the smart meter? Example, when I hover my mouse over the smart meter between node E and F, I want the diagram in NodeEF.vi to pop out and disappear once my cursor leave the smart meter.
Thank you
Solved! Go to Solution.
02-28-2020 02:18 AM
what do you mean by popping out?
02-28-2020 02:42 AM
Like when my cursor is on the smart meter ( the black box thing) on the main frame, the diagram from another vi will appear. Once my cursor is not on the smart meter, the diagram will disappear
02-28-2020 02:46 AM
02-28-2020 02:49 AM
Is there a video or tutorial on it? Cause I'm abit confuse on how to do the block diagram in the event structure, thank you
02-28-2020 02:57 AM - edited 02-28-2020 03:08 AM
Hi Olso,
tutorials about LabVIEW are found here under "LabVIEW Training resources".
You need to learn about using the event structure and property/method nodes (to show/hide/move frontpanels/windows)…
Example:
Showing a help message upon "mouse enter" event for two frontpanel elements. (The "mouse leave" event clears the message…)
02-28-2020 03:08 AM
This really intrigued me as a UI feature that I have never considered doing, and as I would probably be interested in using it myself I have thrown something together for you as an example.
I haven't used your files as I couldn't work out what your main UI was. I have also put it together very quickly so I haven't had time to properly style it; no error handling etc. But it will give you a good idea on how this could be achieved.
02-28-2020 03:13 AM
Thank you, I will check it out in school next week as only my school computer have the labview program. My main VI is my main frame, sorry for the messy sorting for my project.
02-28-2020 03:18 AM
I have just read through the comments in this. If you are new to LabVIEW I would recommend doing some of the tutorials as Gerd mentioned. Three main things you will need to understand what I have done:
event structures
asynchronous calls
occurrences
02-28-2020 08:17 AM
@Worle wrote:
This really intrigued me as a UI feature that I have never considered doing, and as I would probably be interested in using it myself I have thrown something together for you as an example.
I haven't used your files as I couldn't work out what your main UI was. I have also put it together very quickly so I haven't had time to properly style it; no error handling etc. But it will give you a good idea on how this could be achieved.
Not what the OP asked for, but definitely cool. I've cleaned it up a bit.