LabVIEW interrupts the execution of a loop when a dialog box is called in another loop

Hi all

I have a program of multiple loop (single loop made data acquisition, analysis and the other to handle errors). If the acquisition loop or loop of analysis was a mistake, I passing that the error in the loop of error through a comprehensive functional Manager (basically, it loads a buffer FIFO loop error handler appears errors off of a at the same time).

Global functional handles, error writing to a log file when a new error is pushed into the buffer. What I need the loop of error handler to do is to display a dialog box to the user so that they know something happened. I had been using the screw box to do this, but I noticed that they seem to break other loops as well. I would like to find a way around that I got to the point where the program can recover most of these errors coming from hardware communication problems automatically.

Essentially I want to do is have a pop-up box that warns the user that something has happened but not interrupt data acquisition or analysis loops so that I always get data from the rest of my devices even if one of them has a problem that my program can not resolve on its own.

Create your own dialog box. LabVIEW subVIs can be made to present their façade and set to look and behave like a dialog box.

Tags: NI Software

Similar Questions

  • When I click on my desktop shortcut icons in the new firefox 4 I get a dialog box that indicates that windows does not find that the website

    I have improved the previous version of firefox to the new firefox v.4 and now all the shortcut icons I used with the previous version display a pop-up dialog box that says that windows does not find this website, check the spelling - address - etc. But immediately after this window opens the Web site loads. I tried to load the original site, delete the old shortcut and drag the new shortcut to my desktop, but Firefox always gives me the same message.

    See:

  • How to make the lines selectable listfield, when the list has been added to a dialog box

    Hello

    I added a listfield to a dialog box. Now I want that when I click on a line any of this list field, I should get a menu (i.e. something should be available for me so that I can perform an action on the selected line). But when I click on the line, nothing happens.

    Help, please

    Create your own screen, its less than the actual display dimensions to make it look like a pop-up screen. When a line is selected/clicked, call makeMenu.

  • Cannot modify document metadata when a dialog box is open

    Hello world

    I get an error: cannot process the request because a modal dialog box or the alert is active. Whenever I try to edit document metadata and a dialog window is opened.

    I put my extension is not interrupted by dialog boxes with UserInteractionLevels.neverInteract:

    public static function run():void

      {

        var app:com.adobe.indesign.Application = InDesign.app;

        app.scriptPreferences.userInteractionLevel = UserInteractionLevels.neverInteract;

        // ...

      }


    However, when I try to save the metadata of the document, if a dialog box is open, this code does not work:

    public class Metadata

    {

       public static function itemDownloaded(document:com.adobe.indesign.Document, dataXML:XML)

         {

          // ...

          document.metadataPreferences.setProperty("http://mydomain.com", 'data', dataXML);

         }

      }

    This is the place where the metadata code is called, it fires when a file has been downloaded:

    public class FileDownloader

      {


       // ...


       public function onComplete(completedFile:File):void

         {

           var app:Application = InDesign.app;

           Metadata.itemDownloaded(app.activeDocument, downloadInfoXML());

           // ...

         }

      }

    Is it possible to go around it? Any suggestions?

    Thanks in advance for your help.

    -Bastien

    You don't say what modal dialog gives you bad.

    I guess that you don't talk about your own ModalDialog CSXS. You should have no problem with it.

    If you use no script or ScriptUI modal dialog boxes, these pose a problem, as the integrated modal dialog boxes.

    The only thing that UserIteractionLevels done is prevent some modal dialog boxes popping up while a script is running. He's not the modaless.

    Substances

  • Click on a .pdf link does not open the .pdf file, it opens a SAVE DIALOG box

    Recently, when I click on a link to .pdf file I'm not able to open the file in an adobe reader or a FIREFOX Web page or open it using the full program from adobe. Instead, it opens a dialog box SAVE asking me to save it on my hard drive. I don't know what happened, and I'm trying to find someone who might know what is happening?

    I had the same problem, but I got by the following methods:

    Go to Firefox > Options > Applications > Portable Document Format (PDF)

    And for the Portable Document Format (PDF) set the State as "use Adobe Acrobat (in Firefox).

    Fact

    Now the PDF opens in the Firefox browser without having to download the file to open.

  • By clicking on the e-mail address, Server MS exchange dialog box comes up

    To any site when I click on an e-mail address, a MS Exhange Server box Monte. How can I fix this so I can send an email?

    This could happen because the default internet browser may not be IE and whenever you click an e-mail link, it will appear a dialog box.

    In case, your default browser is Firefox, and it is running, you will not face this problem.
    But if Firefox is closed, then a dialog box opens to the top whenever you click on an email address.
    If this is the problem then, follow this link for troubleshooting tips:
  • The XI of Acrobat text field properties dialog box

    There must be a simple answer...

    When I select 'properties' for a field, the dialog boxes displayed are very large.

    Specifically for the 'format' tab, the dialog box is great, that I don't see the bottom of things, so I can't close and change the formatting.

    I don't see any way to make these elements of smaller display property

    Fixed

    On the main screen of Acrobat, choose Edition > Preferences > general and select 'System' of 'grid of the screen resolution.

  • Proceed with the trial after you open a vi dialog box

    I am a beginner with TestStand. I'm going through the entire sequence until all end with some dialog windows left open without waiting for a user to click on OK/QUIT on the dialogue window to go to the next step of the test. I want the test at the end with no required user interaction.

    I tried with dynamically called vi, but it stops the test - waits until the user closes the window and what, he does not pass the settings of the dialog box (maybe I did something wrong with the dynamic appeal.

    Is it possible to open vi of dialogue and to proceed with the trial without user interaction?

    PS Dialogue vi only receives the arguments and displays them on the chart.

    Hey Michal,.

    You On-The-Fly reports is enabled in the options of your report? I created the sample VI to run in a new thread and set a breakpoint later in the sequence. At this point, in the base_dn with my movie file folder, I got a report_Tmp.xml file that contains the part of the report up to date.

  • What about a required no program that floods the screen with their pop-up windows dialog box explaining why underwriters for their care antivirus

    It is impossible to use my XP computer.  If I click on an ICON to desktop, or any other program, nothing happens. In addition, the screen is filled with their pop-up dialog box. Yes, the block popups is turned on. Any program is selected, except Microsoft Outlook, a message topic infection arises.  "Care ANTIVIRUS SYSTEM" will fix everything if I sign up for their program. Already, I have several programs to do this, but right now can not get any. In the meantime, I'm dead in the water.  The XP system was working fine until this problem appeared. I can't help but think this is a deliberate attempt to acquire a new customer.  And if it is true, the company should be run out of business. Please help me.

    Take a look at the forum anti virus and malware.

    the malware even you have answers there.

  • Prompts the user to some responses in a dialog box

    Hi all

    I want to create a dialog box containing a few questions requiring a response from the user. I tried to use the app.response () method, but it can show a question and an entry field (for the user to answer the question) at a time.

    Using this method, if I have 10 questions requiring a response from the user, I have to use this method of app.response () ten times respectively.

    I could create a dialog box that can show several questions and inside input fields?

    If the user could answered all questions to the dialog window only one.

    My second question, the input field in the dialog box that showed using the method app.response () is just a regular text box field. I could create a dialog box to get user input that can use the drop-down list field as entry field, instead of textbox field?

    Any help is appreciated

    Thank you.

    Kind regards

    Rocky

    The 'app.alert ()' method can recover a 'yes', 'No', 'OK' or 'cancel the answer.

    The "app.response ()" method can retrieve a text string.

    The "app.popupMenu ()" and "app.popupMenuEx ()" may return a selected item.

    The "app.execDialog ()" method can collect any number of data items in the text fields, check boxes, drop-down list, or buttons.

    For more information, see tutorials from Thom Parker:

    http://www.acrobatusers.com/tutorials/popup-menus-Acrobat

    http://www.acrobatusers.com/tutorials/2006/popup_windows_part1

    http://www.acrobatusers.com/tutorials/2006/popup_windows_part2

    http://www.acrobatusers.com/tutorials/2006/popup_windows_part3

    http://www.acrobatusers.com/tutorials/2006/popup_windows_part4

    http://www.acrobatusers.com/tutorials/2006/popup_windows_part5

  • How to set the focus to a button in a dialog box alert several button?

    Hello

    I have a dialog box alert two basic button... "Are you sure you want to do this?  YES or NO."

    Everything works very good about it but take button YES that focus so if you accidentally press the RETURN key, YES is what is pressed. I want to have the button NOT to be investigated, there is no accidental confirmation Yes unless the user clicks on specifically on YES. I put emphasis on a variety of different components, but I can't find information on how to do this, or if this is possible. Any ideas?

    Thank you

    defaultButtonFlag property or the last parameter to Alert.show () method is what you are looking for.

  • Ends of the executions in a loop when the exception occurs

    Hello
    create or replace type staff_list in the table to the varchar2 (100);

    create or replace procedure get_empno_job (staff_list staff)
    is
    number of v_empno;
    v_job varchar2 (100);
    Start
    I'm in staff.first... staff. Last
    loop
    Select empno, v_empno work, v_job
    WCP
    where ename = staff (i);
    dbms_output.put_line(v_empno ||) ' '|| v_job);
    end loop;
    exception
    When no_data_found then
    dbms_output.put_line (staff (i) |) 'has no data");
    end;


    exec get_empno_job (staff_list ('SMITH', 'ALLEN', 'JONES', 'RAGHU', 'BLAKE', 'JAMES'));

    If I execute this procedure it display empno and job to SMITH, JONES, BLAKE, RAGHU is not in emp
    He goes to the section of the exception and the loop stops there.

    I need to view the details for BLAKE and JAMES also.

    Thank you
    Rambeau

    Hello

    To improve your next messages, please include your code between {code} tags (start and end tag are the same and you need to remove the space). Also, check out this [http://forums.oracle.com/forums/ann.jspa?annID=719].

    Kind regards

  • Stop the execution of a loop in a structure of the event

    I tried searching the forums to avoid posting a duplicate, but more I couldn't open most of the vi as they were higher.

    I put in a dummy while loop in an event structire I intend to use. Once I have begin to execute the while loop, I am not able to stop using a control for some reason any the fornt panel control.

    I am not able to change the vale of the shutdown command at all. I tried to create a separate event for the STOP, and I still couldn't stop the program when the While loop was running.

    I guess I'm missing something really small. I would appreciate your comments on this.

    Thank you

    Nevil

    Right-click on the structure of the event and choose 'edit events' in the case that gives you bad.

    Make sure that the check box lock the front panel is not checked.

    I suspect that yours is checked, so your front is locked until the end of the event, so you can never stop your loop.

  • When I start the computer. Initially, it shows a dialog box to enter my system or the administrative password. but does not the password...

    When I press F2 or F12 =, same thing. Help me! I m stuck

    As JoeWilliams56 says, it's a BIOS password. To reset the password, you can either remove the battery CMOS for quite awhile, say a minute or two (make sure that the main power is off during this period).

    In addition, most desktop computers have Cap BIOS reset setting on the motherboard. Definition the CAP to restore mode clears the BIOS and the password is removed. In laptops, the CAP is absent; Instead, jumper PIN must be bypassed manually. For this step, see the computer user/service manual.
  • How can I disable UPD "properties of the device requesting...". "Dialog box?

    I have two servers, Windows Server 2008 R2, and every time that I add an IP printer with the HP Universal print driver, I get this when I try to enter in the properties of the printer:

    How can I disable this? I just it acts like a normal printer software HP without cluttering it.

    Well, I found out how, using the Install.exe in the uncompressed driver package, there is an option to the traditional Mode and dynamic Mode. Traditional way, that's what I had and I was able to add the printer.

Maybe you are looking for

  • Pavilion m6 doesn't recognize wireless router

    Hello I have a HP Pavilion m6 running Windows 7 Home Premium. My place of work installed a router a few months ago.  It's a Cisco E2000.  My laptop will not recognize the signal wireless to the router.  He acknowledges about 10 other signals wireless

  • How to defragment Inspiron 570?

    How can I "defrag this Inspiron 570?" * original title - maintenance cleaning disc *.

  • Is there a way to combine most of 70 updates + after installation of SP2?

    I work in a computer repair shop and reformat ever Vista machines. I need to know if there is a way to download and burn or deploy updates of 77 (avareage) after you install Windows Vista Service Pack 2. Thanks in advance for any help. Mark

  • Problem in opening a card encrypted database

    Hello I'm having problems when trying to open a connection to a database sqlite stored on the SD card. I'm moving the file from database on the network when the application is run first, and if the phone is set to encrypt files from media card then i

  • Smart disk hard imminent failure

    My laptop (hp G6 - A6 amd vision - quad core with windows 7 Home premium) was running very slow and hanging very often, I did a scan for a virus and, apparently, there was not. I did a restore to factory with hp Recovery Manager and now I get a messa