Dialog box problem when controlling front panel remotely

I have encountered an issue with the Web Publishing Tool- I have a VI that calls a subvi that uses the Promt User for Input function.  When controlling the front panel from another computer I get a message saying that you "Cannot control subVI front panels remotely" and points you to the machine actually running LabView to enter the information in the Prompt User dialog box.  I set the subVI front panel to show when called, which does show the front panel of the subVI, but still get the error related to the dialog box.
Is there any way to make this work?  Am I missing something obvious?
Thanks,
Nathan

Hi Nathan.
There are some limitations with dialog boxes in remote applications.  This tutorial has some good examples and explanations on functionality to avoid with web applications.  Additionally, the LabVIEW online Help offers some general guidance for Viewing and Controlling Front Panels Remotely, which may help you in further developing your application.
Hope that helps!
Lorielle P.
Applications Engineer
National Instruments

Similar Messages

  • Button Function Problem When Showing Front Panel of Sub VI

    Good Afternoon,
    I have a created a simplified version of a much more complicated vi to illustrate the problem I am having. Attached is a main vi and a sub vi. The main vi has a boolean which says to open or close the front panel of the sub-vi. This works great. However, the other push button ( " My Button Function" ) on the main vi does not work properly when the sub-vi front panel is being displayed. It is supposed to be a  "switch until released" button. However, if you try to click and hold it down while the sub-vi panel is displayed it acts as if I am clicking the button rather than being able to hold it down? I was wondering why showing the sub-vi front panel makes this happen? And also, if anyone has any recommendations to fixing this problem?
    Attachments:
    main.vi ‏12 KB
    sub.vi ‏5 KB

    What is happening is the loop is running very fast.  It is constantly reading the open SubVI button and opening the subVI if true, even if the subVI front panel is already open.  If you are trying to hold down the other button, the opening of the subVI front panel is taking away the focus from the main VI and thus acting like you let up on the button.
    Maintain the status of the subVI in a shift register and only open or close it if the status changes.  See attached Main VI.
    Attachments:
    main.vi ‏12 KB

  • Trigger&Ga​te Express VI. Is it possible to control Dialog Box parameters on the frontal panel?

    When you use a Trigger&Gate Express VI the Dialog Box Options permits you to configure the VI. I am asking if it is possible to control Dialog Box parameters with controls on the Frontal Panel. I am especially interested on Start Level Threshold.

    open the VI that the trigger and gate is in. Right click on the express VI and select open front panel. Then find the control that you want and edit the connector pane to be able to input the parameter that you want. Attached is a modified version that I came up with for you.
    Hope this helps you.
    Joe
    Joe.
    "NOTHING IS EVER EASY"
    Attachments:
    example_trigger_and_gate.llb ‏92 KB

  • The charts are cleared when viewing a front panel remotely

    Every time when a new client connects to the Web Server with the intention
    to view a front panel remotely using a Browser, the charts are cleared on
    server and all connected clients. Just the same happen when the user on
    client computer pushes the refresh button in Browser. This behavior is new
    to LabVIEW 7 and was not was noticed in LabVIEW 6.1.
    How to prevent this behavior in LabVIEW 7?
    Thank you

    Bojane,
    This is a known issue with LabVIEW 7 with charts and remote panels. Our R&D engineers are aware of the issue, and are working on the solution for the next release of LabVIEW. For now, the only workaround is to use graphs instead of charts.
    Zvezdana S.
    National Instruments

  • "Dialog box "PROBLEM WITH SHORTCUT"

    When my T40 p starts up I keep getting the following message, over and over again until I close the system tray IBM Connect bar. 
    "Dialog box “PROBLEM WITH SHORTCUT”
    The drive or network connection that the shortcut IBM Access Support.lnk refers to is unavailable.  Make sure that the disc is properly inserted to the network resource is available, and then try again. "
    Help!

    You'll need to find your iTunes folder. It's usually located on your main hard disk under My Documents/My Music/iTunes. Copy this whole folder to another hard drive (if possible) or burn it on a CD (probably will take more than one--depending upon how large your library is) or DVD. Once you have a good backup of your library, try downloading and reinstalling iTunes.

  • Reference to control on main front panel fails when subvi front panel is closed?

    Hi All,
    I'm experiencing an odd bug. In my code, I use a subvi to control a piece of hardware. This subvi has controls for all of the functions of my hardware.
    I'm changing the value of one of these controls from my main front panel by running a reference to a knob on my main front panel into the subvi, grabbing the value of the knob with a property node, and then updating the value of the subvi control using a signaling property node.
    This works fine when my subvi front panel is open but fails to work at all when the subvi front panel is closed.
    I'm new to labview , so any help is appreciated.
    Thanks,
    Arpan
    Solved!
    Go to Solution.

    What is your LabVIEW version?
    Front panels that are not shown are typically not updated and might not even be loaded into memory.
    The presence of certain code elements (e.g. property nodes) often forces the front panel to be in memory even if it is not shown, but I haven't studied it in a long time so there might be subtleties. Maybe somebody from NI can give more details.
    If it does not work unles the FP is open, open the front panel minimized to avoid distraction.
    Can you attach some code? Maybe there are better ways to do all this anyway.
    LabVIEW Champion . Do more with less code and in less time .

  • A dialog box appear when condition meet

    hi
    my Q is ... is it possible in a VI when a specific condition meet a dialog box appear
    that contain 2 or more controll SW labeld 1.2.3... represnting diferent task  ,when pressing any one of them
     relevant function r to be execute ..any one how know plz inform me ..how it could be done .
     okkkkkkkkkkkkkkk looking for answer  

    Make build a sub vi which performs these conditions, base on the task selected.
    select its 'show front panel' properties,
    Or in Menu>>VI properties>> windows appearance>> select appearance as 'Dialog box' )
    Keep this sub VI in a Main VI, inside a case structure.( inside either true or false)
    Now when the specific condition is met in your Main VI, make this corresponding case structure to execute and your sub Vi will pop up.

  • LV2011 problem with several front panels

    Hello,
                 There is a bug in my software and I don't know it is common to every one or not. This not to be worry, I will notify you anyway. When I open only one front panel and one block diagram which having a program to communicate with a serial device. In this case, if I choose the VISA resource name, it obviously takes some time to popup the USB and after it show the port and front panel will stay in front you until you choose the device. Here, every thing is fine but when I open several front panels and working on only with serial program front panel to choose the serial device in VISA resource name. Then after some time, it took me to another front panel. I have seen this problem several times in past two months. More, even when I am decorating the front panel and front panel took some time after pushing some controls and switched another front panel.
    Is this bug? Or I common for every one.
    Using labVIEW 2011.

    I am certainly using labVIEW from two months. So, I did not use MAX in my past time. I only used one time to check my USB 6008 device but this is off topic here. I will tell you down here.
    Suppose, If I open multiple VI's and I am only working with one VI that can communicate with my SERIAL device and the rest of the VI's(Block diagram and front panel) are rested. This case, if I click the drop downlist of "VISA resource name" of SERIAL VI, then it took some time(200ms or 100 ms, just it is a guess) to populate and it is switched to another front panel which were opened and rested before. Again, I need to come to my serial front panel again to select the COM port. This is one case.
    If don't have any other VI's not opened than this serial Vi. Then it stays on the same front panel.
    Is this bug came with labVIEW or  is it common?

  • Blank dialog boxes problem

    When trying to modify properties, that use a pop-up dialog box, by right-clicking on a component or by using the properties panel the information in these dialog boxes are not visible.
    I'm working with Update6 (but without installing this upgrade I have the same problem).

    I mentioned I have this problem when trying to use a datasource pointing to Informix.
    I created a database server type for Informix followed by a Data Source using this entry.
    What I see is that when doing a View Data, the system gives me the records of the table.
    But nothing works when using this daa source in my page.
    Guy

  • All Office 2010 Applications Slow To Produce "OPEN" or "SAVE AS" Dialog Box ONLY When PC Connected To Network

    Hello all,
    Frustrating problem: ALL Office 2010 apps require a 45 second delay to produce an "open" or "save as" dialog box when the computer is connected to a LAN (wireless or wired, domain or workgroup). When the computer is NOT connected to a LAN (wireless or wired,
    domain or workgroup), then Office 2010 "open" or "save as" dialog boxes open normally (and quickly).
    I suspect a network search/survey function internal to MS Office is at fault.
    This is NOT the infamous mapped network drive problem associated with Office 2007/2010. There are no mapped drives (nor have there ever been) on the PC, although there might exist a related solution. Additionally, there is no 45 second delay when opening
    a file by double-clicking on the file itself which will launch the application.
    Other information:
    1. PC runs Windows 7 Pro 32 bit - PC is a relatively new Lenovo T400 laptop, all updates from Lenovo and MS installed, running clean and nicely otherwise, no spyware, no viruses, no previous software or hardware issues requiring assistance. Event log is
    clean.
    2. Absolutely fresh installation of Office 2010 Pro Plus (MS Action Pack)
    3. Running Office apps in safe mode does not alter problem behavior (ie, "windword.exe /a" or use CTRL key and double-click to launch app)
    4. Running Windows 7 in safe mode with networking and then subsequently testing Office apps is not possible: "license not able to validate" issue. This is a known problem and is not related to the slow dialog box response behavior.
    5. A desktop PC with the same MS Office 2010 installation, same volume license key, on the same network does NOT produce this problem.
    6. Full uninstall, reboot, and re-install of Office 2010 does not alleviate problem
    7. Disabling ALL startup items and services (including, of course, ALL Lenovo management software) does not alleviate problem
    8. SMB v2 bug is not the problem: ie, disabling mrxsmb20 service does not alleviate symptoms.
    9. I have isolated "Client for Microsoft Networks", "QOS Packet Scheduler", "Link-Layer Topology Discovery Mapper I/O Driver" (and Responder), and "Printer and File Sharing for MS Networks" in the network adapter properties are NOT causing the issue.
    10. Using Sysinternals Registry Monitor, I was able to determine that Office apps evaluate certain properties of your Internet Explorer settings before attempting to launch the "open" or "save as" dialog box. Altering the way intranets are detected, for
    example, does not alleviate the symptoms.
    11. Turning off Antivirus software (Avira Personal) does not alleviate the issue.
    This issue is causing a huge loss of work efficiency. Any help would be greatly appreciated.
    Thank you for your time.
    Sincerely,
    Rick

    Hello Rick,
    Through all the research I have done so far and talking with a few other coworkers what the common issues that cause this are is:
    1. Antivirus: disabling the antivirus is not good enough it needs to be totaly uninstalled and retested.
    2. startup programs: these need to be disabled through either Safe mode with networking or the start menu or MSconfig.
    3. Office addins: Disable all of them see if that helps. Then turn them back on one by one to see which addin is causing the issue.
    To disable addins: 1. open up regedit and navigate to this key. HKEY_CURRENT_USER\Software\Microsoft\Office\14.0\Word\Addins and HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Office\Word\Addins
    Then change the LoadBehavior to 0 this will disable the addin. 3 lets it run. Since this affected only one user HKEY_LOCAL_USER might be your best bet but don't rule out the other location.
    To verify there are no addins running go to the File tab>options>Add-Ins make sure nothing is listed under Active Application Add-ins.
    I hope this helps
    Thanks,
    Paul Slaathaug Sr. Support Engineer - Microsoft Word

  • Dialog Box Problem

    i have created dialog box manually using stage and modility. the problem is when the dialog box executes the code following dialog box
    gets executed before closing the dialog box. i want to use it like confirmation box in swing. i want to stop further execution of code till yes/no button of dialog box clicked.please suggest... please help me....

    Ok, so it doesn't look like there is an easy way to do modality in JFX. I had thought since Swing does and JFX uses the same threading model that it should be do-able, but from what I can tell, Swing does some serious magic under the covers to make modal dialogs work.
    Your best bet probably is to use callbacks instead. Make your own dialog window and instead of doing something like this:
    int choice = MyDialog.show("Are you sure you want to do that?");
    if (choice == MyDialog.OK)
        doTheAction();
    } Do something more like:
    MyDialog dialog = new MyDialog("Are you sure you want to do that?");
    dialog.setOnOk(new EventHandler<ActionEvent>()
        public void handle(ActionEvent actionEvent)
            doTheAction();
    });In fairness, that is probably a bit more 'correct' anyway and inline with the JFX style of doing things (although it is more code).
    Here's some very, very rough code for doing something like what you want. You could obviously customise the class to take an enum of the button options available etc. It could all be improved a lot.
    public class TestApp extends Application
        public static void main(String[] args) throws Exception
            launch(args);
        public void start(final Stage stage) throws Exception
            StackPane rootPane = new StackPane();
            FlowPane contentPane = new FlowPane();
            BorderPane dialogContent = new BorderPane();
            dialogContent.setStyle("-fx-background-color: white");
            dialogContent.setCenter(new Label("This is a dialog"));
            final Dialog dialog = new Dialog(dialogContent);
            dialog.setOnOk(new EventHandler<ActionEvent>()
                public void handle(ActionEvent actionEvent)
                    System.out.println("Ok selected");
            dialog.setOnCancel(new EventHandler<ActionEvent>()
                public void handle(ActionEvent actionEvent)
                    System.out.println("Cancel selected");
            Button showDialogButton = new Button("Show Dialog");
            showDialogButton.setOnAction(new EventHandler<ActionEvent>()
                public void handle(ActionEvent actionEvent)
                    dialog.show(stage);
            contentPane.getChildren().add(showDialogButton);
            rootPane.getChildren().add(contentPane);
            BorderPane glassPane = new BorderPane();
            glassPane.setStyle("-fx-background-color: rgba(200, 200, 200, 0.5)");
            glassPane.visibleProperty().bind(dialog.showingProperty());
            rootPane.getChildren().add(glassPane);
            Scene scene = new Scene(rootPane, 300, 300);
            stage.setScene(scene);
            stage.show();
        private class Dialog extends Popup
            private BorderPane root;
            private EventHandler<ActionEvent> onOk;
            private EventHandler<ActionEvent> onCancel;
            private Button cancelButton;
            private Dialog(Node content)
                root = new BorderPane();
                root.setPrefWidth(200);
                root.setPrefHeight(200);
                root.setStyle("-fx-background-color: white; -fx-border-width: 1; -fx-border-color: gray");
                root.setTop(buildTitleBar());
                root.setCenter(content);
                root.setBottom(buildButtonBar());
                getContent().add(root);
            public void setOnOk(EventHandler<ActionEvent> onOk)
                this.onOk = onOk;
            public void setOnCancel(EventHandler<ActionEvent> onCancel)
                this.onCancel = onCancel;
            public void setContent(Node content)
                root.setCenter(content);
            private Node buildTitleBar()
                BorderPane pane = new BorderPane();
                pane.setStyle("-fx-background-color: #0000aa; -fx-text-fill: white; -fx-padding: 5");
                pane.setOnMouseDragged(new EventHandler<MouseEvent>()
                    public void handle(MouseEvent event)
                        // not sure why getX and getY don't work
                        // double x = getX() + event.getX();
                        // double y = getY() + event.getY();
                        double x = event.getScreenX();
                        double y = event.getScreenY();
                        setX(x);
                        setY(y);
                Label title = new Label("My Dialog");
                pane.setLeft(title);
                Button closeButton = new Button("X");
                closeButton.setOnAction(new EventHandler<ActionEvent>()
                    public void handle(ActionEvent actionEvent)
                        hide();
                pane.setRight(closeButton);
                return pane;
            protected Node buildButtonBar()
                FlowPane pane = new FlowPane(6, 6);
                pane.setAlignment(Pos.CENTER);
                Button okButton = new Button("OK");
                okButton.setOnAction(new EventHandler<ActionEvent>()
                    public void handle(ActionEvent actionEvent)
                        hide();
                        if (onOk != null)
                            onOk.handle(actionEvent);
                pane.getChildren().add(okButton);
                Button cancelButton = new Button("Cancel");
                cancelButton.setOnAction(new EventHandler<ActionEvent>()
                    public void handle(ActionEvent actionEvent)
                        hide();
                        if (onCancel != null)
                            onCancel.handle(actionEvent);
                pane.getChildren().add(cancelButton);
                return pane;
    }

  • R&R 4.10 no Password dialog box displayed when recovering a Backup

    Hello all,
    I am using a T61 8898-6dg with XP and r&r 4.10.314
    After reinstalling the system from a XP CD I tried to reinstall an R&R backup from a network share.
    R&r starts well showed me the backup files and all the files included in the backup. So I was able to select the files I want to recover and the recovery process starts.
    Because the backup is secured by a password, a dialog box should appear and asking for the password. But now, r&r stops and nothing happens. I think it is waiting for the password. But I cannot see an dialog box for entering a password. Even pressing the Alt and Tab keys to bring the dialog box to the foreground don’t help.
    In the rr.log file, I found the following entry:
    Sat May 10 12:27:36 2008 RescueRecovery: Running: C:\Programme\Gemeinsame Dateien\Lenovo\mnd\mapdrv.exe *
    Sat May 10 12:27:42 2008 RescueRecovery: No user found to display dialog '2', waiting...
    The same problem I have with r&r 4.20
    Any hint what I can do to be able to enter the password?
    many thanks in advance
    Juergen
    Stuttgart/Germany

    when the magic mouse is not connected it seems to work fine, I usually click the trackpad and the system prompts me for a password - I enter my password and go back to work.
    However every time the problem has occurred I have left the computer with the magic mouse connected, when I return I move the magic mouse, the screensaver stops "moving" but I don't see the prompt for my password, it's almost as if the password dialog is behind the screen saver.
    Hope this helps...

  • Noise when using Front-Panel headphone j

    This message is for those who may experience noise in headphones plugged into a case's front jack. These noises would likely be heard if one uses a quality phone set with good isolation. (not noise cancelling type) and during quiet times, such as when no music or other audio source is being played, or perhaps when listening to programming with very high dynamic range and the frequent, very low loudness passages of music, etc.. There is no problem with the card. (I'm using an Xtreme Gamer card) The problem will be with the header panel on the case itself. You need to isolate the case ground from the other grounds coming in from the various board headers, such as USB, the sound card, etc. I accomplished this by scraping away the foil from around the stud landings on the panel module board. Of course you need to exercise care when performing such a modification but you will be rewarded with absolute, golden silence, when that's what you should be getting. Again, there is NO problem with the card.

    If it is possible to remove the circuit board assembly for the front panel jacks from the case, you can see how the circuit foil "traces" on the board are connected. In my situation, and probably yours, you may find that the mounting screws that hold the circuit board to the computer case will also have the foil traces under them and that those traces will be a common ground to the rest of the circuits on the board. The problem arises because the computer case ground is at a somewhat different "signal" level than the grounds coming into the circuit board from the various "header" connectors, that is, the connectors you mate with the corresponding pins on your sound card, as well as the USB pins, if you choose to hook them up too. There is a great deal of strange noises that can be present in a given motherboard's circuits and associated grounds. All the ground connections from the headers coming into the board should only go to the individual connectors on the front panel. I cut away the foil paths where the grounds were all run together on the circuit board, thus isolating them from one another, as well as cut away the foil under the mounting screws. You may even have to cut foil from both sides of the board, depending on your model. You need to take care not to open up a circuit when making those cuts. A good, sharp Xacto knife or utility knife should work fine.
    I found it strange that the designers of the board didn't consider the problem of "ground loops", which is what the problem is defined as. Ground loops, as you can see now, can happen when when a circuit or even separate components altogether, such as a computer, TV and HIFI system are all connected together. In the?HIFI setup case, hum results because the point of incoming cable ground for your TV and/or Internet are at a different 60 Hz voltage from the ground in your home's wiring,?to which your computer is connected for power. This causes a current to flow through the audio cable shields that is large enough to induce a voltage into the audio equipment. I've even heard of ground loops so bad that people have seen sparks when trying to hook up the audio cables between the pieces of equipment. Almost anyone who has a system hookup such as I described has run into that problem of hum when using their computer's audio into their HIFI setup. The only relief is to get some type of ground "isolator" that connects between the incoming cable and your TV and/or Internet cable modem. A quick and dirty solution is to use a grounding adapter in the AC connection for your computer and other equipment that uses a grounding plug. This, of course, is not recommended, but will kill the hum for now. I thought I would throw in the HIFI setup hum problem since, as I said, many people are suffering from that problem.
    Even if the header grounds were all shorted together, the problem would be no where near as bad as having the case ground shorted to the header grounds, which was the way mine was made.
    I know this is a looooonnnnnng winded post but trying to explain something like this in writing is not easy. Hopefully you will now have a better understanding of what I meant the first time, even though it was by no means a short post either.

  • Controlling Front Panel LEDs

    This is hopefully a simple problem, but I can't figure out what to search under.  I have a program with two loops (Z Only Test and Full Test in Tester Program v2).  They do not run at the same time.  I would like both loops to interact with an LED on the front panel (Testing).  How is this done?
    Under Z Only Test, it works fine.  I tried to connect it to the sequence (Full Test), but it tells me I can't do that.  On odd sequences, for the most part, I would like to have the LED light (TRUE).  On evens, off.
    Attachments:
    code.zip ‏143 KB

    rbergs wrote:
    Do you mean make the LED a shared variable?  How do you do that?  I clicked on it and changed it to a variable, but I thought that was like one of the others that I have.  I'll give it a try and see what happens.
    I would assume whatever works for this would also work for numerical displays as well.
    No.  I'm not even sure exactly what you mean by clicked on the LED "and changed it to a variable."
    Right now you have only a single place where you use that LED.  It has a terminal node on your block diagram within a while loop.  I don't know how that fits into your overall program architecture as your VI is quite expansive.  (Two tips, 1.  Don't use stacked sequences.  2.  Look into a state machine architecture)
    All that happens at that point is your read from a shared variable called "Testing".  I'm not sure from where else in your VI that you want to interact with that front panel indicator.  Or whether it will conflict with the already written piece of code.   I also don't know where this shared variable is written to. But the first idea is have the other sections of the code write to the shared variable and let this one update the front panel indicator.
    The second idea is to create a local variable of the front panel indicator.  Right click on the terminal within your code and select Create / Local Variable.  But again, you will have to be careful with conflicts with the different portions of your code writing to the LED.  This is also known as a "race condition".
    (Yes you can use either shared variables to store numeric data, or create local variables of numeric controls or indicators.)
    I'm a bit nervous about your code.  It looks like you have a decent amount of LV experience as you have created quite a sophisticated VI there.  However, it doesn't seem like it is easy to expand or modify.  It takes up quite a bit of screen real estate.  It doesn't use any subVI's even though a lot of the code seems to be duplicated or very similar.  And it seems like it uses a lot of shared variables, probably more than necessary.
    Message Edited by Ravens Fan on 05-29-2009 01:38 PM

  • Dialog box appear when condition meet

    hi
    my Q is ... is it possible in a VI when a specific condition meet a dialog box appear
    that contain 2 or more controll SW labeld 1.2.3... represnting diferent task  ,when pressing any one of them
     relevant function r to be execute ..any one how know plz inform me ..how it could be done .
     okkkkkkkkkkkkkkk looking for answer  

    See here

Maybe you are looking for

  • Z87-GD65 USB and ATA/ATAPI Bridge Issues

    I just installed a new Z87-GD65 into a Silverstone HTPC case and I'm having weird issues with all USB 3.0 ports. This problem occurs on both a Windows 10 technical preview install and a Windows 8.1 install. Everything is updated including the BIOS an

  • IMac mid 2007 screen burn in

    hi I have a mid 2007 imac 24 inch. Recently i noticed that there was some kind of screen burn in. It is not the regular screen burn in since it disapears slightly when i turn it of for about an hour. Does anyone else has the same problem and does any

  • Error while compiling form 6i

    Hi All, I am getting Memory fault error while compiling the form. I tried with two commands. I executed these commands from $AU_TOP/forms/US At first I tried with f60gen $AU_TOP/forms/US/XXTEST.fmb apps/opopop123 output_file =$XXEEG_TOP/forms/US/XXTE

  • Most relevant test score for PPro CS5 to run on notebook?

    Hi, I hope I didn't miss this topic anywhere in the forum. Since I am in the market for a new notebook to occasionally edit 3-5min clips of panasonic HMC 150 AVCHD material (most of the time just office work), I was wondering what the best and still

  • Calling search services from outside sap

    Dear Experts, are there any chances to call the SES or the SAP NetWeaver Enterprise Search from outside the SAP environment by passing a search query and credentials per HTTP GET Request? The response schould be provided to callee in XML form. I thin