Can not on the button while loop

Hi all... hoping to get a few design tips as I am very, very new to LabVIEW. I got a project that someone else had started and I've encountered a problem that I don't know how to solve.

I'm using LabVIEW version 8.0.1 and I think my problem has to do with the help of DAQmx in a while loop. In "Working.vi" (including the Sub - VI 'Temp data to CSV.vi'), I copied - and stuck the while loop in a vacuum VI for testing. In this VI, with nothing else, it works - slowly, but it works.

In the real VI, I can see the data of temperature updated every 4 seconds, so I know that the program is not frozen or something like that. However, by pressing the button "Return to main Menu" does nothing - the image of the button does not show that it is to be depressed, regardless of how many times you click or click and hold the button. I've attached a screenshot of the while loop inside the real VI; I prefer not to fix the real VI (especially because it contains references to many of the Subvi, and it is not currently contained within a LAW degree).

I'm this coding the wrong way? I have the feeling that it might be caused by my settings DAQmx (continuous samples, 2 samples to read, 250 mHz). The very low rate would be the cause? Is there a better way to have readings of temperature taken every 4 seconds (approximately)?

You have your case of event the value "lock the front panel" until full?  If so, then no other presses the button will be recognized until the ongoing case event complete.

It is never a good idea to have a code in an event business that takes a long time to run.  It will make your UI seems to lag or even functional.  Any time I see someone with a while loop inside a case of the event, I'm afraid.  (By the way, I am also concerned all nodes comments hovering over the structure of your event?  What are doing?  Why some operate on the default data?)

In general, events should take is no longer running then what ordinary person could be expected until they feel like the user interface is delayed.  Perhaps at the top of 1-2 seconds.  You should look at a model of design of producer/consumer with events.  The structure of your event should respond to UI events, then pass orders by a queue path to the part of your program that does the real work.

Tags: NI Software

Similar Questions

  • Can not find the button Delete in my windows media player 11.

    I don't think you understand me... they ask something.no you won't miss them but my windows media player... when I right click on my files or files .it's not remove button only remove from the list button.when I click on this file disappears for a while but returned then again.this is not good because I want to delete a large number of my files in my library .so what is the answer do I have to remove windows media player, and then download it again.must be a response,.

    * original title - just had my question answer can not find the button Delete in my windows media player 11

    Hello

    ·          Are you a right click on the file in the playlist or library?

    Try the procedure described in the following article:

    You cannot view, add, or remove items from the Windows Media Player 11 library: http://support.microsoft.com/kb/925718  

  • Can not find the button start or the taskbar (Windows XP)

    I can't find the button start or the taskbar on my computer.   I ran antivirus program and in the process must have hidden these.  How can I post because I can't go to the start menu.  Unable to access by pressing ESC or in safe mode.

    Hello

    Here is some additional information...

    1. Right-click the Notification area, and then select "Properties".
    2. Open the tab of taskbar, uncheck the box marked "Hide inactive icons".
    3. Click 'OK' to save the changes and exit the Properties window.

    Hope this information is beneficial.

    Thank you

    Aaron
    Microsoft Answers Support Engineer
    Visit our Microsoft answers feedback Forum and let us know what you think

  • walking to a touchsmart 600 of screen, but can not find the button of my presonalize, can anyone help?

    TouchSmart IQ526

    Vista

    homescreen improved to 600 300

    can search button t to customize the home screen and no tile TV

    BDemar, welcome to the forum.

    Here is the Product Specifications page for the computer.  In the middle of the page, there is a section called 'computer case '.  Under this section, there are four elements:

    Before the system

    The back of the system

    Right side of the system

    Left side of the system

    In each of them are the controls that are available.

    I am not sure what you mean by "tile tv".  I would like more information.

    If your problem is solved, please click "accept as a Solution.

  • When I go to a web page, I can not select the button bar, tab or search on the page, type or select the place where I want to go? The pointer seems to be disabled for these functions.

    If Firefox blocks a page, I can't click on the allow button appears because the pointer of the mouse is disabled...

    Hello

    You should check with the Support of FireFox and their forums.

    Support for Firefox
    http://support.Mozilla.com/en-us/KB/

    Firefox - community and live Chat
    http://support.Mozilla.com/en-us/KB/ask

    Firefox - Forums
    http://support.Mozilla.com/en-us/questions

    I hope this helps.

    Rob Brown - Microsoft MVP<- profile="" -="" windows="" expert="" -="" consumer="" :="" bicycle=""><- mark="" twain="" said="" it="">

  • Elite book 8470P: can not find the button print screen book elite 8470P

    I am eager to find the location of the print screen the book elite 8470P key.  It used to be on the upper right of the keyboard next to backspace button.  Thank you very much.

    I found it by clicking on the fn key and insert together then paste into word.

  • position in the property node is not updated in another while loop

    Hello

    I have a structure of the event in a while loop and I have a chart with 2 sliders on it. the chart is in the loop outside the structure of the event and it becomes a wave form when an event occurs.

    in a separate loop, I have 2 cursors cursor position property. I subtracted to get their distance. but when I move the sliders on the chart which is in the first, while the loop doesnot change the values given by the property nodes in the second loop

    is this something related to the structure of the event? don't needs real graphic to be updated all the time or is it ok if she becomes a waveform only on an event

    can someone please help

    Thanks in advance...

    The value of the variable "Stop 2"is in memory still "True" so on that a second (and resulting) running that your upper loop always ends after the first run.

    The display of "stop 2' LED is to be reset when you press the button"Get the waveform". making the False value.

    So reset the variable button after finishing two loops or before starting the two while loops.

    Tone

  • Firefox is not fully load site Barclaycard of authentication. It load regarding the demand for certain letters in my password but does not load the button 'Submit', so I can't continue with my purchase and I switch to IE8 browser to buy whatever it is ov

    Firefox is not fully load site Barclaycard of authentication. It load regarding the demand for certain letters in my password but does not load the button 'Submit', so I can't continue with my purchase and I switch to IE8 browser to buy anything on the internet. Clues?

    This has happened

    A few times a week

    Is a few weeks ago

    Your UserAgent string in Firefox is totally messed up by another program that you have installed and Barclays does not know you use Firefox 3.6.6 - it is probably similar to IE 6.0 on this site.
    http://en.Wikipedia.org/wiki/USER_AGENT

    type of topic: config in the URL bar and press ENTER.
    If you see the warning, you can confirm that you want to access this page.
    Filter = general.useragent.
    Preferences are "BOLD", a line at a time, and then select reset, right click
    Then restart Firefox

  • Can not change the mouse buttons

    I tried new mouse on my computer, and now my computer will not recognize the original mouse as a Microsoft mouse. The keyboard and the mouse still work, but I can't change the buttons of the mouse for left-handed people my family before I had no problem doing this. The original mouse is a Sony Vaio device that works wirelessly with a keyboard via a USB input device. Any ideas?

    See if that will help:
    The problems with the mouse button or scroll the parameters
    http://support.Microsoft.com/kb/303091

  • I just bought Lightroom and I can not find the download button?

    I just bought Lightroom and I can not find the download button?

    Download & install instructions https://forums.adobe.com/thread/2003339 can help

    -includes a way to go to a page to download the Adobe programs if you do not have a disk or drive

    -Cloud desktop http://helpx.adobe.com/creative-cloud/help/creative-cloud-desktop.html

    -Cloud Getting Started https://helpx.adobe.com/creative-cloud.html

    -you will need to enter your original serial number during the installation for non-Cloud programs

    - or kglad links in response to #1 here can help https://forums.adobe.com/thread/2081216

    Also go to https://forums.adobe.com/community/creative_cloud/creative_cloud_faq

  • I have adobe reader xi and can not find the "create button" in order to combine several files into a single pdf

    I have adobe reader xi and can not find the "create button" in order to combine several files into a single pdf

    Hello

    Reader is software to view PDF' only.

    You must either a pack PDF to perform the function of thin or Acrobat.

    Reader is not the software to perform editing functions.

    Concerning

    Sukrit diallo

  • I download InDesign (I paid for it, so not the trial version), but I can only find the button/link "download trial". What should I do?

    I download InDesign (I paid for it, so not the trial version), but I can only find the button/link "download trial". What should I do?

    Hello

    Please refer to the help documents below to download the application Adobe CC:

    Creative cloud to desktop

    Download, install, update or uninstall applications

    Once you have the CC Office application installed, you can install the Indesign from there.

    Kind regards

    Sheena

  • Want to re - install elements 8 on the new computer, the serial number, but can not find the download button on the adobe Web site to do so.

    Want to re - install elements 8 on the new computer, the serial number, but can not find the download button on the adobe Web site to do so.

    Hello laetitiah

    Please visit: http://prodesigntools.com/direct-download-links-for-lightroom-3-and-photoshop-elements-8.h tml

    Follow the instructions on the page to begin your download... Use your serial key to activate it

    ~ Mandy

  • FRM-41219: can not find the report: not valid

    Hi am having the error when calling the report of my form in 11 GR 2 when I click the button I get this error

    FRM-41219: can not find the report: not valid

    and when I click the ok button on the error I get this error frm - 40738:Argument 1 to builtin RUN_REPORT_OBJECT can NOT BE NULL

    This is how I called the report

    DECLARE
    repid REPORT_OBJECT;
    v_rep VARCHAR2(100);
    rep_status VARCHAR2(20);
    BEGIN
    repid := FIND_REPORT_OBJECT('report4');
    v_rep := RUN_REPORT_OBJECT(repid); END;
     

    Try something like this:

    PROCEDURE TEST_REPORT IS

    Repid REPORT_OBJECT;

    v_rep VARCHAR2 (100);

    rep_status VARCHAR2 (50);

    BEGIN

    Rep: = find_report_object ('report4');

    SET_REPORT_OBJECT_PROPERTY (REPID, REPORT_EXECUTION_MODE, batch);

    SET_REPORT_OBJECT_PROPERTY (REPID, REPORT_COMM_MODE, SYNCHRONOUS);

    SET_REPORT_OBJECT_PROPERTY (REPID, REPORT_DESTYPE, cache);

    SET_REPORT_OBJECT_PROPERTY (REPID, REPORT_DESFORMAT, 'html');

    SET_REPORT_OBJECT_PROPERTY (ID REP, REPORT_SERVER, '');

    v_rep: = RUN_REPORT_OBJECT (repid);

    rep_status: = REPORT_OBJECT_STATUS (v_rep);

    While rep_status in ('MARKET', 'OPENING_REPORT', 'PENDING')

    LOOP

    rep_status: = report_object_status (v_rep);

    END LOOP;

    IF rep_status = "FINISHED" THEN

    / * Display the report in the browser * /.

    WEB. SHOW_DOCUMENT ('/ reports/rwservlet/getjobid ' |)

    substr (v_rep, InStr(v_rep,'_',-1) + 1) |'? "|' server =","_blank"); "

    ON THE OTHER

    message ("error when running report");

    END IF;

    END;

    Replace with your report server name.

    Concerning

  • BlackBerry Smartphones can not hear the other end to the phone

    Hello

    I have a Bold 9900. Lately, I had a problem where I am unable to hear the ringing of the. The phone vibrates and I see an incoming call. When I answer the call, I can not hear the person at the other end of the line, or the other person can hear me. If I try someone sounds, I can't hear their phone ring, but I get the message that we are related, but may not have any conversation. When I do a full power off and restart its new normal.

    How can I get rid of this problem?

    Hello docvish,

    Welcome to the community,

    As the PC or laptop requires the restart of our smartphone require also restarts to remove slow, whenever you feel any unusual just give a battery pull reboot I have; e while the unit is on the battery wait a min. then reinsert it wait until it restarts. You can also give a soft reboot by pressing alt + Shift R (aA ^) + DELETE.

    Also avoid any applications running in the background, press on and hold Menu button for a few seconds, it will appear a screen showing running applications or that are still open., remember always to get out of the applications not only to return the key. Try if solves your problem, or alternatively you can visit any Center of Blackberry service to the issue.

    Good luck

    Click 'Like' If you want to thank someone.
    If problem resolves mark message (s) as a 'Solution', so that others can use.

Maybe you are looking for

  • I seem to have lost my home button and bookmarks, as well as others of my web browser

    I seem to have lost my home and bookmarks buttons, as well as others, my web browser

  • floppy drive please insert a disc into drive error message A

    I TRIED 2 NEW FLOPPY DRIVES, AND EACH OF THEM GIVES AN ERROR MESSAGE THAT SAYS: S ' PLEASE INSERT A DISC IN THE DRIVE A.I DID A LOT OF CONTROLS AND I TRIED A LOT OF THINGS TO DO FLOPPY WORK.IT SAYS IN DEVICE MANAGER THAT THIS DEVICE IS WORKING PROPER

  • My DVD - RW drive won't read any discs of all kinds

    Original title: Please help me with my cd/dvd! I have a laptop HP Compaq 6735 s with a Xp Sp3 system and I have problems with the Sony optiarc DvdRw AD7561S dvd, he doesn't read any type of disc (Cd and DvD new or original or burned), anyone have a s

  • No available recovery disk.

    So I tried a recovery disc for my HP Pavilion Windows Vista Home Premium 32-bit Office (Nr a6642p FK572AA #ABA) and there is none is available.  If anyone knows where I can get one?  Or what are my other options? Can I completely wipe my computer and

  • How to get rid of memory Fixer program?

    I some how installed or installed a program memory Fixer name.  How can I get rid of him? It keeps running diagnostics and give me a sales pitch for my hard disk cleanup.  I'll uninstall and before it starts I get a window saying hard drive not found