From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
03-02-2020 01:10 AM
Hi all, I had created a event structure for my smart meter between node E and F using mouse enter and mouse leave. My idea is when my cursor hover on the smart meter, the panel of another vi (NodeEF.vi) will pop up on the main vi (Main Frame.vi) and remain there till I move my cursor away from the smart meter. However, currently when my cursor is on the smart meter, the panel of another vi is flickering non-stop. How can I solve this issue?
Solved! Go to Solution.
03-02-2020 02:23 AM
Hi Olso,
@Olso wrote:
Hi all, I had created a event structure for my smart meter between node E and F using mouse enter and mouse leave. My idea is when my cursor hover on the smart meter, the panel of another vi (NodeEF.vi) will pop up on the main vi (Main Frame.vi) and remain there till I move my cursor away from the smart meter. However, currently when my cursor is on the smart meter, the panel of another vi is flickering non-stop. How can I solve this issue?
Again you forgot to name your project and the main VI in this project: it's quite hard to find when one opens the first project in your folder named "PowerMeter"…
Your "MainFrame" event structure works exactly like requested: with a MouseEnter the frontpanel of the subVI is opened, with a MouseLeave the frontpanel is closed. I don't see any "flicker"…
Recommendation (apart from cleaning up this huge block diagram): Don't use absolute file path! Use the AppDir file constant:
(Using loops running endlessly only makes sense on FPGA and maybe RT targets…)
03-02-2020 02:40 AM
Hi, sorry for forgetting to mention my project name and my main VI. My project name is SCADA and main VI is main frame. Thank you for the recommendation, I will edit it into my program.
03-02-2020 05:04 AM
Hi, may I also ask, if I include a third VI in addition to the idea I wanted at the top which I want to open it when I double click or click on the smart meter, which function should I use for event structure? As currently, I already used up on mouse enter and mouse leave.
03-02-2020 05:20 AM - edited 03-02-2020 05:21 AM
Hi Olso,
@Olso wrote:
Hi, may I also ask, if I include a third VI in addition to the idea I wanted at the top which I want to open it when I double click or click on the smart meter, which function should I use for event structure? As currently, I already used up on mouse enter and mouse leave.
When you want to handle mouse button events then you need to handle mouse button events…
03-03-2020 12:01 AM
Hi, may I ask how do I troubleshoot for Error 1000? Tried some solution proposed by other on the web but it still occurs on Node S node. Additionally, I experienced some flickering panel on some of the smart meter (mainly the one between Node V and Node A, Node L and Node K, Node B and C). Thank you. My project name is SCADA and my main VI is main frame
03-03-2020 01:20 AM - edited 03-03-2020 01:23 AM
Hi Olso,
error 1000: the VI is not in a state ready to run…
To troubleshoot you should start with some (programatic) error handling at all!
Recommendations: