LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

disabling further events until subVI closes

Solved!
Go to solution

Hi All.

I'm having an issue regarding mouse down events that continuing to register altough another control is on top.

 

As can be seen in 1.vi attached

when I press the control "1" , subvi 2.vi opens, but if i continue to mouse down the control (on the same place) and then closing 2.vi I get that that 2.vo pops up again

It's like the String doesn't cover the 1 and 2 controls.

 

after pressing 1 or 2 and 2.vi pops I would like to disable further events until I stop 2.vi execution

Modal is not an option for me sue to graphics issues

I have also tried to "cover" 1 and 2 control with boolean but witout success.

 

Any ideas?

Thank you.

 

Download All
0 Kudos
Message 1 of 18
(3,106 Views)

Essentially, you shouldn't work with static event registration in this case. Please refer to dynamic event registration/de-registration. You can find an example "Dynamic Event Generation.vi" in the LV Example Finder (2013).

 

Norbert

Norbert
----------------------------------------------------------------------------------------------------
CEO: What exactly is stopping us from doing this?
Expert: Geometry
Marketing Manager: Just ignore it.
0 Kudos
Message 2 of 18
(3,092 Views)

What is the point of opening another VI when you click into a numeric control?  I'm guessing you are opening up a numeric keypad.  So why would you not want a Modal window in that case?


GCentral
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
0 Kudos
Message 3 of 18
(3,089 Views)
Yes it's a numerical control.
I can't use modal because when u run a modal window it gets a 3d frame unlike float window who has a flat look.
0 Kudos
Message 4 of 18
(3,074 Views)
I meant numerical keypad not control
0 Kudos
Message 5 of 18
(3,073 Views)

@KJmaster wrote:
I can't use modal because when u run a modal window it gets a 3d frame unlike float window who has a flat look.

I'm not seeing this at all.  What settings were you using?  Can you post a screenshot?


GCentral
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
0 Kudos
Message 6 of 18
(3,061 Views)

Here u go. the top one is Modal and the bottom is float

Thanks.

 

Modal.png

 

Float.png

0 Kudos
Message 7 of 18
(3,051 Views)
You are hung up over a minor cosmetic issue? Let's not say can't when you obviously can.
0 Kudos
Message 8 of 18
(3,030 Views)

Personally, I like the border because it reminds me of a real keypad and not a graphic.  🙂

 

I think it should be possible to start out with the floating and then click on "customize".  At this point, you should have it set up like the floating window.  Then just set the modal settings they way you want.  Having something like a keypad NOT modal is really asking for trouble.

Bill
CLD
(Mid-Level minion.)
My support system ensures that I don't look totally incompetent.
Proud to say that I've progressed beyond knowing just enough to be dangerous. I now know enough to know that I have no clue about anything at all.
Humble author of the CLAD Nugget.
0 Kudos
Message 9 of 18
(3,025 Views)
Hey
Thanks for your replies.
I know it looks like a minor issue but we are using a really great graphic in our application and popping out a window in Grey 3d really messes things up.

0 Kudos
Message 10 of 18
(3,009 Views)