Continuous Loop Error

I have a program that calculates wet bulb from a few user inputs. It is set up to read from a FP-TC-120 for a dry bulb temperature and a FP-AIO-610 for a 0-10v signal from a humidity transmitter. When using two "FP Read" functions the program would read successfully from both modules and calculate for only one iterations. AFter that the the read for the analog input would give error 32812, the read from the thermocouple does not return any errors but the value is now zero. I then replaced the "FP Read" for the anaolog module to "FP Advise". With this set-up I get two succesful reads before the error message and the 0 thermocouple reading. I'm not sure what else could be the problem.
LabVIEW 2012 - Windows 7
CLAD
Attachments:
ATMv12.vi ‏74 KB

Something else to take care of is the error handling. You split the error chain before the loop starts but only maintain the upper branch. The way the code is written, If an error occurs reading the second tag you'll never see it. The result is that the program will stop working and you won't know why.
Attached is a VI I wrote for merging two error streams.
Mike...
PS: Don't use NI's routine that claims to do the same thing. I will throw error data away on you...
Certified Professional Instructor
Certified LabVIEW Architect
LabVIEW Champion
"... after all, He's not a tame lion..."
Be thinking ahead and mark your dance card for NI Week 2015 now: TS 6139 - Object Oriented First Steps
Attachments:
Error Fork Stacker.vi ‏55 KB

Similar Messages

  • Infinite Loop Error - How to Remove?

    Only my "home page" will display in WampServer's Localhost, which I am using for my "testing site" in Dreamweaver CS5. All other pages in my website cannot be loaded by IE8 or IE9. Firefox and Chrome report that all webpages (except my "home page" ) have a "Redirect Loop" which prevents them from being loaded, and this is due to links which continuously loop between the same pages.
    QUESTION: How can I fix this (without starting all over to build my website)?
    I am using dynamic webpages with a template, all of which have the "php" extension. I started with HTML webpages and template, and then converted them to "php". They worked well until some time after I added a Login Form on my home page, with Dreamweaver's "User Authentication" in Server Behaviors. The "login" and "password protected" webpages worked for a while. But now it seems like the "Redirect Loop" error may be related to my "go to page if login fails".
    It may or may not be related, but around the same time my Infinite Loop problem started, the "Editable Region" of my home page stopped displaying the formating and background colour in "Design" view in Dreamweaver.  However, they do display properly in Dreamweaver's "Live View" and in WampServer's "Localhost".
    Any all help will be appreciated.

    Thank you for your reply, Nick.  I could not find the code segments which you suggested.
    I have included a link to show the text in my page, "about_us.php", which is one of the several pages I am having trouble with.
    http://www.sunisandsfl.com/text_file_from_about_us_php.html
    This is one of my "Non password-protected" pages. When I load "about_us.php" in Dreamweaver's "Design" view, there is an Error Message above the webpage which says, "An unknown error occurred while discovering dynamically-related files." The only files shown in the "Related files" bar are "Source Code", "conndbss.php" (my database connection file), and "main_sunisands.css".
    I have not yet uploaded any of my dynamic webpages to my live site (www.sunisandsfl.com).

  • How to execute the functionality of button at a time of pressing if function is in continuous loop?

    Hello,
    I am facing one basic problem that how can I execute the button which I have used in my vi at a time of pressing means in my vi I have used 4 button 1. Start 2. OK 3. Save and 4. Stop button
    when user press start button then continuous loop will be executed and after pressing OK it will stop that loop and waiting for next instruction from user whether he want to do reading operation again or he want to save or he want to stop.
    The thing is when I press start button then while loop is execute then its not possible to press stop button or save button, user need to wait until OK button is pressed.
    Will you please guide me how can I do so that when ever user press any button that button is executed at time.
    Thank you very much once again.
    Attachments:
    voltageforcecapacitance without instrument.vi ‏40 KB

    Hi Ankit,
    There are some issue in your code mention below please have a look and correct these will work fine for your requirement.
    1. Save button Boolean value pass to the lower wheel conditional loop means if you press save your bottom loop will stop working this is not the code requirement you have to continue loop and tigger start event in last using value tigger event property to tigger again start event.
           This step will reset your loop and start from zero.
    2. According to me I think both loop should stop only in stop condition so you can remove stop function from upper loop and pass the button value in both loop directly to wheel loop condition terminal.
           Upper loop direct and lower both loop local variable.
    3. Why you want to stop your upper loop on any error condition, you should Handel the errors and keep running the code.
    4. What is the use of queue no case related with dequeue in bottom loop.
    5. Wheel loop in a event is not  good practice so you can use your queue structure here to run continuous lower code.
    I hope these changes can improve your code.
    Thanks and Regards
    Himanshu Goyal | LabVIEW Engineer- Power System Automation
    Values that steer us ahead: Passion | Innovation | Ambition | Diligence | Teamwork
    It Only gets BETTER!!!

  • Bluescreen reads "device driver stuck in continuous loop"

    I have no knowledge of computers at all. I have had my laptop for about 18 months I purchased it new online while living in London and it has had this problem basically from the beginning but I was slack and didnt try to get it fixed on warrantee.
    It will turn on and work for a random period of time (sometimes 10 mins and sometimes 2 hours) then suddenly the screen goes blue and it reads a lot of numbers (I can get these and write them if required) and states "device driver stuck in a continuous loop beginning dump of physical memory, contact manufacturer for update on device. . . ."
    I have no idea what this means or what I should do/who I should ask etc.
    Can anyone advise me please?

    Hi!
    Its not easy to say what is wrong.
    First of all, which notebook do you have exactly?
    In your position, I would first check the RAM. There are some special tools and I do this always with Memtest86.
    You can download an ISO image to burn it on a CD from [www.memtest86.com]
    Boot from CD and test your RAM, maybe you will get some errors.
    You can also reinstall Windows with the recovery disk. It could be a software or driver issue.
    If you have more questions, I will try to help you.
    Bye

  • Nobody get back to me on my other question, so I'm going to try again. I am making a PowerPoint for a meeting and I want to take a 3D PDF and have it spin or rotate on a continuous loop. How can I accomplish this?

    Nobody get back to me on my other question, so I'm going to try again. I am making a PowerPoint for a meeting and I want to take a 3D PDF and have it spin or rotate on a continuous loop. How can I accomplish this?

    Please ignore PowerPoint comment, I can make the 3D PDF no problem with my converter plug-in for AutoCAD. Once it is made though you can spin it by hand/mouse in Adobe. but I want a video like scene with the object spinning by itself for modeling purposes?

  • Warning for Continuous Looping External flv or f4v as2

    Malfunction issued in Continuous Looping External flv or f4v in as2 from containers created in Flash Professional CS6 with code
    on (complete){
    this.autoRewind=true;
    this.play();
    solution: always make a new document!
    Mystic problems with x times resized documents, at media 2 or 3 times play and then not playing external fly/f4v

    use:
    kglad wrote:
    if all your buttons are attached to the same parent:
    on(press) {
      s = new Sound(this);
        s.setVolume(100);
        _parent.mcPlayer.seekToNavCuePoint("pict1");
        mcPlayer.play();
    on (release) {
        i = -100;
        s = new Sound(_parent);
        s.setVolume(0);
        gotoAndStop("reset");
    on (release) {
        i = -100;
        s = new Sound(_parent);
        s.setVolume(100);
        gotoAndStop("hold");

  • I woke up this morning and google and gmail no longer work in firefox. I get the endless loop error

    I woke up this morning and google and gmail no longer work in firefox. I get the endless loop error.
    I have the latest version of firefox and it is running under win 7 pro.
    it was working great since I installed it 3 weeks ago and I use it every day.
    the error reads:
    The page isn't redirecting properly
    Firefox has detected that the server is redirecting the request for this address in a way that will never complete.
    This problem can sometimes be caused by disabling or refusing to accept cookies.
    However my cookies are still enabled and and i have never changed my settings

    See also:
    *http://kb.mozillazine.org/The_page_is_not_redirecting_properly
    Start Firefox in <u>[[Safe Mode|Safe Mode]]</u> to check if one of the extensions (Firefox/Tools > Add-ons > Extensions) or if hardware acceleration is causing the problem (switch to the DEFAULT theme: Firefox/Tools > Add-ons > Appearance).
    *Do NOT click the Reset button on the Safe mode start window or otherwise make changes.
    *https://support.mozilla.org/kb/Safe+Mode
    *https://support.mozilla.org/kb/Troubleshooting+extensions+and+themes
    If clearing cookies doesn't work then it is possible that the <i>cookies.sqlite</i> file that stores the cookies is corrupted.
    Rename (or delete) <b>cookies.sqlite</b> (cookies.sqlite.old) and delete other present cookie files like <b>cookies.sqlite-journal</b> in the Firefox Profile Folder in case the file cookies.sqlite got corrupted.
    *https://support.mozilla.org/kb/Cookies

  • Connect by loop how to prevent continuous loop

    We have a forms environment and in one area of the system its possible to create a continuos loop i.e
    part 1
    ----> Part 2
    ------>part1
    We get round this currently using the nocycle option in our connect by and checking the values of the connect_by_iscycle option. But we only do the check this after a commit.. meaning user has to manually amend. I was wondering how people validated there was not a continuous loop before the commit?
    Thanks

    use CONNECT_BY_ISCYCLE to check the problem
    check this out
    http://www.rampant-books.com/10g_79.htm

  • Avoiding Logical Loop Error while defaulting values

    Hi Experts,
    We have a requirement where lets say Attribute A and Attribute B are displayed on the screen, we need to default value for Attribute B to NA if value of Attribute A is set by the user to "XYZ", else whatever value user enters in Attribute B will be set. To achieve this, we are setting the value of the Attribute B in the rule document. If we use the validation rule table like mentioned below, it throws a logical loop error:
    Attribute A
    “NA”
    Attribute B = "XYZ"
    Attribute A
    otherwise
    To avoid this, we are using a dummy attribute for Attribute A (which is not displayed on the screen) to set in the rule document as mentioned below and this attribute will be shown in the decision report:
    Attribute A Dummy
    “NA”
    Attribute B = "XYZ"
    Attribute A
    otherwise
    The issue is, we are sending the Session data to Siebel through OPA connectors. Now these dummy attributes as mentioned above (which are not displayed on UI) are not sent as part of the Session data as these are inferred attributes.
    Is there any way to:
    1. Solve the logical loop error issue so that we dont have to use the dummy attribute
    2. If we have to use dummy attributes, then how to send them to Siebel as part of session data.

    From:http://www.oracle.com/technetwork/apps-tech/policy-automation/documentation/index.html
    Oracle Policy Automation Connector for Siebel 10.4.4 Developer Help (HTML - Please be patient while the help index loads.)
    Full developer help for OPA Connector for Siebel 10.4.4, from getting started with mapping, to configuring and deploying rule projects, and handling session data being passed to and from Web Determinations. Includes information on the new Siebel integration object approach available since the 10.3 version of this connector. Note that only rulebases developed with Oracle Policy Modeling 10.4.0, 10.4.1, 10.4.2, 10.4.3 or 10.4.4 can be deployed to OPA Connector for Siebel 10.4.4.
    Specifically,  see the Topics under "Data Mapping" in the table of contents.

  • I am trying to update my iphone software from 4.2.5 through my Mac but am not successful.  It just goes into a continuous loop saying that there is an update available and to install and restart but the update never happens.

    I am unable to update my iphone software 4.2.5 to the latest version through my Mac.  I get into a continuous loop of clicking on update and getting the message to restart the computer.  But nothing updates. 

    I imagine you are talking about iPhone 4 CDMA (Verizon, Sprint). iTunes will only allow Update or Restore to iOS 6.0.1 You need to update iTunes on your computer to current version 10.7, with computer click the iTunes Tab at the top of this page and install current iTunes 10.7 If this iTunes will not install you may need to update your computer System, or try a different computer.

  • HT4597 Why is your add putting users on a continual loop with your cloud advertising? What is the point of

    What it it with the iCloud advertising running on a continual loop?

    Welcome to the Apple community.
    What are you talking about.

  • Adobe FormsCentral Sign In Continuous Loop Issue

    Hi,
    One of my co-worker is trying to sign in FormsCentral but once she enters her e-mail and password it goes into a continuous loop. By continuous loop, I mean that the page is blank and the browser is loading and looping in between 3 Adobe related URL but never loads anything.
    It works from my computer. We both have the same Internet Explorer version (11.0.11). I tried it on the Internet Explorer without Add-on and it does the same thing.
    Any ideas how to fix this?
    Thank you in advance for your help!

    I think I've seen this on machines which do not have Flash installed.
    1. Check for Flash
    2. Try Firefox
    3. Try Chrome (which has a built-in Flash player)
    Hope that helps,
    Brian

  • Spotlight is in a continuous loop...

    Hello! My name is Filippo.
    I have a big problem. Spotlight is in a continuous loop and indexing restart, making my Macbook unusable.
    Can you help me? I have turn off spotlight, erase the index and then turn on, but the problem hasn't gone away.
    An important note: mdimport -L return null instead a list of import.
    Thank you!

    Hi
    My iMac started doing this too a couple of days ago. Index, index, index, with the HD whirring away all the time, and a serious overhead on the CPU, slowing down my use of MS Windows, Entourage, Finder, you name it. I let it run all night last night, hoping to clear itself, but no, its been indexing all day today as well. It finishes one indexing run (estimating 2 hours to complete) then immediately starts another, which also estimates several hours to complete.
    I've turned off indexing for now using "mdutil -i off /" (thanks to V.K. for this tip), but thats only put a patch on it. I guess that in this non-indexing state Spotlight will rapidly become u/s, which will remove some fantastic functionality that I find really useful.
    I want to know
    - why it has started doing this?
    - how can I stop it doing it, but retain Spotlight functionality?
    - how can I stop it happening again?
    No point me buying 2.8GHz if its crippled by some bug!!
    Thanks to all in advance
    CB

  • I am continually getting error -69 when syncing iPad Air with latest iOS and iTunes versions. Any suggestions?

    I am continually getting error -69 when syncing iPad Air with latest iOS and iTunes versions. Any suggestions?

    Try Googling "sync without iTunes".
    There are free alternatives and there are not so free alternatives.
    Btw, to check if AVG is causing the problem, you should uninstall AVG and not just "turn it off".
    Also, can you describe how you go about uninstalling a program? For example, how did you "delete" iTunes?

  • Strange DAQmx Timing Source Timed Loop Error

    I have a digital edge counter fed into a timed loop. Everything works fine until I stop the loop, and stop the DAQ task. Once I restart the loop it fails with "resource is reserved". Attached is my code.
    Thanks
    Solved!
    Go to Solution.
    Attachments:
    daqloop.JPG ‏136 KB

    Here is a piece of code to illustrate the issue. If the timing source is created in the loop (it will be created each loop iteration) the error occurs. If it is moved outside the loop, and only created once the issue is resolved. Is there a way to RELEASE the timing source so that it can be created again? If the VI is stopped, this "resource" is released. I want to programatically release it.
    Note the error comes from the timed loop Error terminal that is Probed (50).
    Message Edited by bkb on 10-08-2008 09:52 AM
    Message Edited by bkb on 10-08-2008 09:53 AM
    Attachments:
    ts.jpg ‏57 KB

Maybe you are looking for

  • Creating custom LOV in 11.5.10.2

    Hi, We are new to Web ADI and are having problems with creating custom LOV. It seems that custom templates can only have poplists defined. Is this true? And if so, how do we get around the problem of the 256 row limitation? Has anyone created lovs fo

  • RMAN status=ORPHAN

    What is the meaning of status=ORPHAN, when i execute the command RMAN> list incarnation of database merlinp; List of Database Incarnations DB Key Inc Key DB Name DB ID STATUS Reset SCN Reset Time 1142887 1142888 MERLINP 3538586174 ORPHAN 1 06-APR-07

  • Adding SQL Server AlwaysOn to existing Failover Clusters

    Hello, We use two seperate ms sql server 2012 clusters. We have two sites. All nodes are in same domain. In the first site,  NOD1 and NOD2 are in SITE A cluster group. (INSTANCE A) They have a shared SAN storage. In the second site, NOD3 and NOD3 are

  • Exception while proccessing method SMARTSYNC

    Hi, Sometimes I get the following exception when synchronizing MAM 2.5 with the Middleware: <i>- Exception while proccessing method SMARTSYNC : com.sap.ip.me.smartsync.sync.InboundTransformException: java.lang.NullPointerException : java.lang.NullPoi

  • Can publish preview start in the middle of a project?

    I want to be able to preview the section I'm working on without having to watch the whole flash. Is this possible? It sure would save a lot of time!