Jump to content

Event based dialogs (non-modal)


HChandler

Recommended Posts

I've used the event based dialog template with some sucess. I would like to go a step further and keep the dialog VI running in the background, toggling its visibility from a front panel control.

Can I use a dialog to contain a polling loop, state indicators and other controls and toggle it open and closed the from my MAIN panel?

I'm trying to use non modal dialog boxes to create, maintain and monitor backgrownd processes. I would love a simple example that shows how to toggle the visibility of such a thing from the front panel of my main user interface panel.

Thanks

Link to comment

QUOTE(HChandler @ Sep 12 2007, 06:26 PM)

I've used the event based dialog template with some sucess. I would like to go a step further and keep the dialog VI running in the background, toggling its visibility from a front panel control.

Can I use a dialog to contain a polling loop, state indicators and other controls and toggle it open and closed the from my MAIN panel?

I'm trying to use non modal dialog boxes to create, maintain and monitor backgrownd processes. I would love a simple example that shows how to toggle the visibility of such a thing from the front panel of my main user interface panel.

Thanks

Have a look at the LabVIEW examples.

If set to task based tree (the default) there's a branch 'Progrmatically controlling VIs', browse through these items.

Good-luck Ton

PS you need to use the method 'Open front panel', with the hidden state

Link to comment

QUOTE(HChandler @ Sep 12 2007, 11:30 AM)

OK so far I can toggle the dialog/info window from my main panel to be hidden/standard and minimized/standard too!

Now I'm trying to wire up the OK and cancel buttons to hide or minimize the dialog/info box.

Problem is it just locks up. What am I doing wrong?

Thanks

You're referring to buttons and code logic that we can't see. If you upload your code, we can see what is wrong.

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.