Configuring a subVI to have a configuration window/dialog box

I am attempting to write my own slope/y-intercept calibration subVI for a program I'm building into an executable to be used on another machine.  The program is a generic DAQ program and I want the user to have some control over the calibration of the incoming signals.
My questions are these:
how can I configure the subVI to have a boolean input that when asserted will open that particular subVI's Front Panel.  I would also like to have a "Close" or "Cancel" button that closes that front panel once the user has changed those values.
am I using the Configuration Data sub vis properly?  It seems pretty obvious.  I would like there to be a "config.cfg" file created/openned/written to in the base folder of my final executable.  Can multiple instances of this subvi use the same file?  I assume so, because there are "section" inputs for the writting and reading Configuation Data subVIs
Inputs:
(bool) Open Front Panel
(string) Instance Label (wired to the "section" inputs for the writting and reading configuration data subvis).
(dbl) Input (x)
Output:
(dbl) output (y)
Thank you for your help.
-Nic

Your problems isn't really with the config VIs but rather your VI's architecture. It sounds like you want this VI to be used as a subVI that simply gives you "output" when you set a "display" boolean input to False. If the boolean input is set to True then the subVI should display itself allowing the user to click the buttons. Well, your subVI's architecture needs to change. You need to have a case structure that will run only if the "display" is True. The code to execute in this case should be a simple event structure. See attached example as a suggested alternative.
Attachments:
linear_calibration mod.vi ‏29 KB

Similar Messages

  • Configure Columns dialog box

    hello,
    in dashboard design 2011, you can open this box from the general view on the list view component, by clicking the configure columns button. i'm not sure that i understand the purpose of this dialog box. it looks like you can rearrnge the columns by clicking on the arrows in the second column, but they are not enabled. i looked in the pdf documentation, but i did not see anything for this dialog box. any help would be greatly appreciated.
    thank you
    tracy
    9

    hi roy,
    i didn't necessarily want to change the column width. when i wrote that, i was thinking out loud" as they say.
    i'm just trying to figure out the purpose of the Configure Columns dialog box, which wasn't in the version of xcelsius 2008 that i used maybe a year ago.
    i didn't see any documentation indicating that this is a new feature to dashboard design 2011.
    when you open this dialog box, what functionality is available to you?
    when i tried to use the dialog box, i didn't see any feature that worked.
    thank you
    tracy
    Roy Zhang wrote:
    IMHO, single column width cannot be changed by dragging the column edge, such operation for column is not supported, but it support to change the whole width of listView. The width of each column can be specified in Configure Columns Dialog.

  • How can I supress a Windows dialog box programmatically in LabView?

    I am trying to automatically supress or close a windows dialog box that appears when a LabView program crashes. I have a restart program that will automatically reopen the program and I don't want to have to click on the program error window that results from the crash. Does anyone know how to do this?
    Thanks so much for your time!

    The program rarely crashes - it is running in the background for the entire day and we just want to ensure that it is monitored and restarted in case of a crash. We also don't want the user to be bothered with the program error messagebox that pops up saying that an error log is being created. The program crashes when too many programs are running at the same time - so the problem isn't a huge one. I was just wondering if it was possible to stop this program error message from appearing by programmatically selecting the okay button or by suppressing the message entirely?

  • How to avoid the windows "dialog box" when we use flexprintjob class

    in the print segment
    http://help.adobe.com/en_US/flex/using/WS2db454920e96a9e51e63e3d11c0bf65381-7ffc.html
    it says
       printJob.start();
    This causes the operating system to display a Print dialog box.
    this  windows "dialog box" which is used to set the page size, page index, or some other page settings.
    but in my case , i can't let user see this dialog box.
        how can i avoid this "dialog box" when i call   printJob.start();
    it is my big issue ,please help to give a suggestion

      hi   how can i set the "ie" "internet explorer"  to avoid the "dialog box."  if i have to do it .
    thank you very much !

  • Open window dialog box

    Dear reader,
    My application is uploaded on the web.
    I want to open the "Open window dialog box" on the web but am unable to do so.
    also I dont want to get a static file but it should be selectable. Using java beans opens a static file and its not dynamic.
    if i am wrong please correct me otherwise give an alternative.
    thanks & regards,
    bhakti.

    if i understand correctly you have a note item (based on table) on every child record? when you open the dialog box: how do you put data from notes to dialog box? in the same way as you can write it back ...

  • Help using Dreamweaver cs3 tutorial, chapter 8, opening browser window dialog box

    Hello,
    I am using the adobe classroom in a book tutorial for cs3 and have run into a snafu on page 188 of chapter 8.   I have tried to select the + sign under the smaller top photo to create a pop-up window.  when I select the + sign I cannot access the open browser window dialog box to enter info.  I cannot seem to use the link field in the property inspector for this.  The link area under source will not come up, just the link over target, which in turn will not bring up the open browser dialog box.  Any solutions?  Thanks,  DesignChambers

    Hi David,
    I just had the same problem.  I cannot preview in Mozilla (or IE).  The program becomes unresponsive and I have to close it. Is there any chance that Adobe will update Dreamweaver CS3 so that we can preview in modern browsers?

  • While adding new fonts, somehow dumped necessary fonts from OS 10.6 library. now have only blank menus, dialog boxes, even apple support site. How to fix?

    Imac Snow Leopard .....While adding new fonts, somehow dumped necessary fonts from OS 10.6 library. now have only blank menus, dialog boxes, even apple support site. How to fix?

    Thanks again baltwo,
    Thank you all very much,
    Strangely enough even though I had gotten the " Install failed....Mac OS X could not be installed on your computer....The install could not copy the necessary support files"  I had left it on the screen and left the room for awhile. I walked back into my computer room a few minutes ago and the window on the screen stated that the SL OS 10.6.4 had successfully installed. I am now very carefully checking things out to make sure the fonts are where they should be. With the exception of some updating it appears all may be well.
    PS. Below is a note I was writing to Kurt (also assisting me) to try and detail what had happened. Added it in case it could be of any value to you
    Kurt,
    Thank you for response. following is series of events to my best recollection.
    I would typically not have been this stupid/ignorant but was doing this in a hurry with someone asking me questions...wasn't paying attn. to what I was doing
    • downloaded new fonts
    • opened downloaded fonts, clicked font icons to open and install them.
    • typed "fonts" in spotlight (with the intention of moving new fonts into font folder)The Spotlight results window revealed 5 or 6 font folders. I ignorantly started to try a clean up by installing all fonts into a single folder (not thinking about system fonts)
    Sometimes when you are moving a folder the window you moved it from will jump around..well this occurred and I mistakenly released the folder on the desk top. This caused a copy to be made. After some investigation I realized it was a copy of the required system fonts that were still located in the original "spotlight results" window.
    • I attempted to delete the copy..when I did an administrator password box appeared I entered the password and the result was both system font folders were deleted (the original & the desk top copy I erroneously made)
    • Now windows open but are blank with sometimes faded mini sized icons. If I click one of the mini icons i get a new blank window. I am unable to give any instruction, have total blank menus, dialog boxes, etc.
    I can open the some of the items that have icons in the apple dock at bottom of page in the 

  • I just statred Flash CC for the first time and it seems that the text within the pop-up window (dialog box) is mis-aligned and not allowing me access to the command buttons, nor all the text. (ie: the NEW Template Box, can't see but 2/3 of the content)

    I just statred Flash CC for the first time and it seems that the text within the pop-up window (dialog box) is mis-aligned and not allowing me access to the command buttons, nor all the text. (ie: the NEW Template Box, can't see but 2/3 of the content) is there a fix to this problem? using 8.1, Monitor is a high res.2560x1440.

    Another View.
    the GUI is so hard to read (so small) I enlarge my Ps UI by the instructions below...which helped a lot.

  • Keep displaying "Install Windows" dialog box and pressing OK button to Restart over and over again

    Hello, I tried to update my laptop from Win8 to Win10 but before that Win 8 need to be upgraded to Win8.1 then Win10. Unfortunately, I encountered issue after installing the free upgrade to WIn10. I decided to use the system recovery and the source is from my USB.  (I created the recovery in USB stick).  The restore was completed and started to do the configuration suddenly my laptop just shutdown due to excessive heat and caused my laptop not to complete the windows 8 installation and ended getting the dialog box "Install Windows". I inserted the USB stick but it seems like its not reading it. I tried F2 - System mode but it only display the Bios and other tests not the usual F2 screen.  I tried F11 and same thing no luck. My question is, how can i make my laptop get back it back to working mode like how to re-install the whole OS and the HP recovery manager or HP configurations. Do i need to buy a CD from HP to recovery my laptop? I appreaciate any feedback from HP or someone who is willing to assist and help.  Thank you in advance. Image screen below: 

    Hi there ,  Thank you for visiting the HP Support Forums and Welcome! This is a great site to get answers and ask questions. I read your post on the HP Support Forums. I understand that you originally had an issue upgrading to Windows 10. After the upgrade you tried to restore to Windows 8 (your previous version) and now you are having issues going back.  I did some research for you. I am going to provide you with some troubleshooting documents I had found. The first document is called Troubleshooting HP System Recovery Problems (Windows 8). If that does not work, please follow this document called Recovering your computer from a USB flash drive. Please follow the troubleshooting steps in this document to see if you can get the USB Recovery Media you had created to work. If the USB stick you had created still will not work after performing the troubleshooting you can either go to the HP Pavilion g6-2330dx Notebook PC Drivers Page and Order Recovery Media-CD/DVD/USB or you can use the following link to create yourself a case number, then call us:
    Step 1. Open link: www.hp.com/contacthp/Step 2. Enter Product number or select to auto detect
    Step 3. Scroll down to "Still need help? Complete the form to select your contact options"
    Step 4. Scroll down and click on: HP contact options - click on Get phone number
    Case number and phone number appear.
    They will be happy to assist you immediately. If you are going to try to Restore Windows 8, Upgrade to Windows 8.1 and then upgrade to Windows 10 again, please read this document called Upgrading to Windows 10.  Hope this helps! Have a great day!

  • Key Event Windows dialog box

    I have executed a windows program using
    Runtime = Runtime.getRuntime( );
    Process proc = rt.exec(command);However the program brings up an " an ok message dialog box" which needs click in order for the program to run.
    I have used the Robot class to simulate a Enter key press using the
    robot.keyPress(keyEvent.VK_ENTER);However this does not work because the focus is on the command prompt and not on the windows message window. is there a way round this??
    cheers
    Javamug :)

    I have figured it out, so if any one else has this problem this is the solution.
    Unfortunatley the only way I could do it was by turning to the dark side and using a spot of black magic and voodoo, sorry I mean Windows scripting (.vbs)
    You first have to set the focus of the error title bar Appactive( ) and then use the Sendkeys( ) method to send a simulated enter key press, yuk!!!!!
    If anyone has a better solution please tell
    Regards
    Chris

  • Calling windows dialog box in web based Forms6i application

    Hi !!
    I have develop a form in form6i. On pressing a button(on the form) windows OPEN FILE dialog box appears,from this user choose the required file.
    I m using the GET_FILE_NAME built in for this purpose and it is working in client server mod.
    The problem is it does not work when I post the form on web or run it in web.

    This will not work on the web. If you want to present the use with a file dialog box this will have to be done using a java bean.
    Regards
    Grant Ronald.

  • Cannot stop "restore windows" dialog box from flashing. Please help!

    Finder not working! Bouncing finder icon and flashing 'restore windows' box are driving me slowly insane. I tried a few tricks like rebooting Lion 10.7.5 and deselecting "restore' in prefs but nothing has worked. Haven't found right terminal command yet either. I shut down my Mac with Safari open and maybe Google Chrome also, and when I turned it back on...my odyssey began. If you have ANY suggestions your help would be greatly appreciated.

    I got the same problem: I just purchased Office 13. When I tried to open a Word file that came viaOutlook I got the dialog box "Word can't open this file because a dialog box is open" but when I clicked further it opened the file OK and gave
    me the option to remove "Protected View" which I did and everything was OK. I called MS Support and the person who answered had a very thick accent that I could barely understand. When I told him my problem he did not understand it and said the program
    is trying to prevent me from opening viruses. I asked, why didn't it say instead of giving me the "open dialog box" error message? He had no answer and suggested I buy Microsoft support for $149 a year of $99 per incident. Great customer service,
    eh? Then I tried this solution by unchecking "Enable Protected View for Outlook Attachments" in the Trust Center and the Word files opened normally. I am very disappointed in Microsoft but thank Mike_obe for his excellent help
    Dave

  • Can we display GUI windows/dialog boxes from two asynchronus threads?

    Hi All,
    I'm facing a problem with asynchronous threads. I've a client-server application where client is a Java application and server is a C++ application running on UNIX m/c. The C++ server is implemented equivalent to a HTTP server which handles the HTTP requests from the java client. So, whenever user select some action on the Java client, say "File/Open" menu, the client sends the equivalent HTTP request to the server, and waits for the response back from the server, and after getting the response displays it on the GUI.
    So far the java client application is single-threaded, and the communication between client-server was only one-way, i.e. all the communication was always initiated by the client.
    We had to change this behavior to make it multi-threaded, or rather two-way communication where kernel while processing any client request might need some response from the GUI. So, we had to create a ServerSocket on java client side, and C++ server is connected to this socket. So, whenever C++ server has to send some message to the GUI, it can send thru this other socket.
    On the java side, it's listening at this ServerSocket port in a separate thread, whenever it receives any request, it has to display a dialog box based on the request.
    Here is my problem coming. The main application thread (which is an AWT-EVENT- thread) has made a http request to the kernel and is blocked until it gets the response back, and in the mean time, the C++ server has sent a message to the GUI thru the other socket, and when I use JOptionPane.showOptionDialog(...), I see the dialog box outline but not the contents, and the same for my main application window.
    So main question here is, can I invoke, say,
    JOptionPane.showOptionDialog(...) on another thread, when the main application thread (rather AWT-EVENT -QUEUE thread) is blocked.
    Please let me know if anyone knows the answer or if has faced the similar problem. It will be a big help.
    thanks,
    Ajay

    You mean to make the HTTP request in a separate thread, like below,
    new Thread ( new Runnable() {
    public void run() {
    server.makeHTTPRequest(...);
    }).start();
    But we cannot do this, as there is one more constraint with our application, that it has to behave like single-threaded from user's perspective. i.e. If user has clicked "File/Open" menu, user has to wait until the "File/Open" action is completed. He cannot do anything in between.
    But if the server sends some message thru the other socket, then it has to displayed, and whatever user select on that dialog box, has to be sent to the server thry the same socket.
    I'm not sure whether this possible.
    Here is what I tried to make the http request in a separate thread, and at the same time, keeping the main thread in a wait state until the thread completes:
    new Thread (new Runnable() {
    public void run() {
    synchronized(server) {
    server.makeHTTPRequest(...);
    server.notify();
    }).start();
    synchronized(server) {
    server.wait();
    Even by doing the above it doesn't work, the GUI just hangs. I think the above code is effectively the same as,invoking directly,
    server.makeHTTPRequest(...);
    All I know is it's quite confusing. Does anyone has insight into it.
    thanks,
    Ajay

  • Import window dialog box does not appear

    iMovie 11 - trying to import video files from HDD
    Within iMovie I am doing the following:
    Select File-> Import -> Movies...
    ... and then nothing happens.  No dialog box to select a location.  Nothing.
    Please help!
    Thanks
    Ed
    OSX Lion 10.7.1

    Did you upgrade your machine from an install of Snow Leopard 10.6.8? Try running Disk Utility under the Utilties folder inside your Applications folder. And do Repair Disk Permissions.
    And along the same lines of preventive maintenance also try deleting the iMovie preferences file. Go to your Desktop, and go to the Go Menu (while holding down the Option key) > Library > Preferences > com.apple.iMovieApp.plist (move that to the trash). Quit iMovie and open it again. It's possible one of these might get the Import dialog window working again.
    Failing that, the other thing to try is create a new user account, and launch iMovie while logged in as that user. See if the import dialog window shows up from that new user account.

  • SAP 8.8 PL13 - Client keeps getting Configuring Client dialog box

    Hi all,
    We have 2 installation of B1 8.8, PL11 and PL13 respectively.
    At some of the workstations, once user login to B1 client, there is a box pop-up that says "Please wait while Windows configures SAP Business Client". The progress bar below will show "Gathering required information", and keeps moving from empty to full, then empty to full, and so on.
    I am getting this problem on both Windows XP workstation as well as Windows Server 2003 R2.
    Any idea what is wrong?
    thanks,
    Fey

    hi all
    same problem
    using windows 7 office 2007
    and i have upgraded to PL 15
    keeps trying to install or configuring something !!
    he stops asking files from a directory ...\upddata .... which is not on my system
    so this is a system bug ?
    then i have to cancel alot of times because he restarts the config everytime
    after some cancels
    - he is not started
    - or he is started
    how to avoid this
    ps all other addons are working
    greetings
    philippe

Maybe you are looking for