Diagram Disable Structure doesn't remove all objects it contains after deleting the structure.

I have programmed in side of a while loop a Stop from "Application Control", later I used disable structure around that "Stop". It was working fine, but after removing disabled structure containing the disabled "Stop" my application stops even there was no reason to stop. Later I have experienced that removing the disabled structure leaves hidden object in the code and some how they get executed and it is no way debugging due the objects are invisible.
I am worried that this is a bug in Labview !
(Edi)
Solved!
Go to Solution.

The Stop was in the disabled case in a frame and after removing the complete "disable structure" the software stopped randomly at the location where the disabled structure containing the Stop was already removed. Unfortunatally the code is to complex to post. I am working on a demo, but sofar doesn't prove my point yet. But I realized Labview was pointing on left over items from the disabled structure after its removal. The compiler was high lighten the hidden objects in the same shape of the object but without any visible object in the high lighted position in the graph. 
(Edi)

Similar Messages

  • Program won't build if a broken vi is included in a diagram disable structure

    I develop code that can run on both PXI and Compact RIO devices.
    To allow for the different DAq methods I have a target specific child object that I tried putting in a conditional disable diagram.
    I found that even if it was disable, the build would still fail.
    When you build rio code on a pxi target, you et problems But I didn't expect them if the class was diagram disabled
    In fact it won't build if it is in the project at all.
    Posted as a bitter lesson for others to avoid.
    iTm - Senior Systems Engineer
    uses: LABVIEW 2012 SP1 x86 on Windows 7 x64. cFP, cRIO, PXI-RT

    I just made a test built with a diagram disable structure containing an odd subVI in the disabled case and cannot reproduce this error. Are you sure that the relevant case is set to disabled?
    Can you attach a simple VI that shows the problem?
    LabVIEW Champion . Do more with less code and in less time .

  • LV8: Diagram Disable Structure

    I am converting my test code from the use of traditional DAQ to DAQmx. In a couple of my test VIs I have the Traditional DAQ VI for Port Config. if I put those in a disable structure marked as disabled will it cause any issues when running using DAQmx drivers? I don't think it should since it does not get executed but I wanted to confirm.
    Once I verify my DAQmx changes work, I will remove it.
    Thanks
    Jeff D.
    OS: Win 7 Ultimate
    LabVIEW Version: 2011,2010,2009 installed
    Certified LabVIEW Architect

    Hi Jeff,
    That's right, any code in the disabled state of a Diagram Disable Structure does not get compiled or linked to by the owning VI.  You should be safe.
    -D
    Darren Nattinger, CLA
    LabVIEW Artisan and Nugget Penman

  • Diagram Disable Structure and Asynchronous SubVI Bug?

    In this diagram, the boolean value won't arrive at the Boolean 2 indicator until ASYNC has completed running.
    Without the Diagram Disable Structure, it does not wait for ASYNC to complete.
    I always believed the Diagram Disable structure would compile the Enabled case as if the structure weren't there, but that is clearly not the case.
    Is this a bug?
    Solved!
    Go to Solution.

    I don't think I agree with you here. The flat sequence structure would behave exactly the same, no matter if it is internally implemented as a node or not. This is how LabVIEW dataflow has worked since the inception of LabVIEW and I see no reason why it should change.
    The border of a structure is a border that has well defined behaviour. The structure will not start before all its inputs are satisfied and the output tunnels will not be passed on until everything inside the structure has finished execution. If you want to have Boolean2 update while Async VI is still executing you have to place its terminal inside the DSS (or (Flat) Sequence Structure). This has been so since I first started to work in LabVIEW in version 2.2.1 and better stays so as long as LabVIEW wants to stay dataflow driven.
    All text code programming I know of wouldn't behave differently although there you don't have dataflow anyhow so the point is really mute as the sequential flow of the code is all that matters there.
    Inlined code is a special case. If they wouldn't do that you could get all kinds of very difficult to debug issues, because your code executes different depending on the inline status and may cause side effects that cause different results because of that.
    Rolf Kalbermatter
    CIT Engineering Netherlands
    a division of Test & Measurement Solutions

  • Diagram disable structure not really disabling?

    I have a VI in which I had put a diagram disable structure (not the conditional one) around a section of code containing the Time Delay VI (this is the only place where I have the Time Delay VI). I built an executable containing this VI. When I start the executable I get an error that esssentially says it can't find the Time Delay VI. I removed the diagram disable structure (and the code inside it) and I no longer get the error. I thought the code inside the diagram disable structure wasn't supposed to get compiled. Right?
    George

    I just made a test built with a diagram disable structure containing an odd subVI in the disabled case and cannot reproduce this error. Are you sure that the relevant case is set to disabled?
    Can you attach a simple VI that shows the problem?
    LabVIEW Champion . Do more with less code and in less time .

  • Undable to drop tablespace ORA-01561: failed to remove all objects in the

    hi,
    i am unable to drop table tablespace how can i do that??
    please advise
    DROP TABLESPACE tbs_tp2 INCLUDING CONTENTS AND datafiles
    ERROR at line 1:
    ORA-01561: failed to remove all objects in the tablespace specified
    Thanks in advance
    siva
    chennai

    Have you tried dropping the objects individually? You can see which objects still belong to this tablespace by using the DBA_SEGMENTS view as shown below:
    SELECT OWNER, SEGMENT_NAME, SEGMENT_TYPE, TABLESPACE_NAME
    FROM DBA_SEGMENTS
    WHERE TABLESPACE_NAME=tbs_tp2;HTH!

  • Replace Diagram Disable Structure by Case structure?

    I may be missing something but at least in LV 2010, it appears only possible to replace a "Diagram Disable Structure" by a "Conditional Diagram Disable Structure".
    I don't see why it is not possible to replace it by a case structure... The content is very similar and I have faced occurences where I would toy around between different versions of my code and eventually decided that I wanted to offer the user the possibility to choose between them using an enumerated control (or Boolean). Currently you have to rewrite the code in a newly dropped case structure, which is a waste of time. I guess I could stop using Diagram Disable structures altogether, but I most of the time use them for their intended use, so that would be a step backward in functionality if I forced myself to use case structures "in case" I would later want to offer these different cases to the user (which is something that I can't always predict).
    Solved!
    Go to Solution.

    You are not alone.
    http://forums.ni.com/t5/LabVIEW-Idea-Exchange/Add-the-ability-to-replace-a-disable-structure-with-a-...

  • Sister was using my iPod, she changed Apple id to hers, then forgot the iTunes password, now it's disabled she doesn't know what backup email she use or the security questions HELP can Apple reset my iPod?

    sister was using my iPod, she changed Apple id to hers, then forgot the iTunes password, now it's disabled she doesn't know what backup email she use or the security questions HELP can Apple reset my iPod?

    Is there a way to find my Apple ID Name if I can't remember it?
    Yes. Visit My Apple ID and click Find your Apple ID. See Finding your Apple ID if you'd like more information.
    How do I change or recover a forgotten Apple ID Password?
    If you've forgotten your Apple ID Password or want to change it, go to My Apple ID and follow the instructions. SeeChanging your Apple ID password if you'd like more information.
    Forgotten Security Questions/Answers
    You need to contact Apple by:
    1 - Use the Express lane and start here:
    https://expresslane.apple.com
    then click More Products and Services>Apple ID>Other Apple ID Topics>Forgotten Apple ID security questions.
    or
    Apple - Support -form iTunes Store - Contact Us
    2 - Call Apple in your country by getting the number from here:
    http://support.apple.com/kb/HE57
    or          
    Apple ID: Contacting Apple for help with Apple ID account security
    3 - Use your rescue email address if you set one up
    Rescue email address and how to reset Apple ID security questions
    For general  information see:
    Apple ID: All about Apple ID security questions

  • HT1766 I cannot backup my iphone, it keeps telling me the backup is corrupt and not compatible. All forums have suggested I delete the last backup but that was months ago and I'm afraid if I do that and it still doesn't work, I won't have anything saved

    I cannot backup my iphone, it keeps telling me the backup is corrupt and not compatible. All forums have suggested I delete the last backup but that was months ago and I'm afraid if I do that and it still doesn't work, I won't have anything saved. Can anyone help?

    Try to connect in recovery mode, explained in this article:
    iOS: Unable to update or restore
    Before that, back up your device, explained here:
    iOS: Back up and restore your iOS device with iCloud or iTunes
    How to back up your data and set up as a new device
    You can check your warranty status here:
    https://selfsolve.apple.com/agreementWarrantyDynamic.do

  • I keep deleting extra calendars (the catagories on the left pannel) and they immediately reappear. i just want to remove all old calendars to clean up the interface.

    i keep deleting extra calendars (the catagories on the left pannel) and they immediately reappear. i just want to remove all old calendars to clean up the interface.

    If you erase the hard disk and you install a new Mac OS X copy, Time Machine will start a new backup and will stop using all backups you made in the past.
    One option you have is to reinstall Mac OS X and restore a Time Machine backup, but restoring only some files: for example, instead of restoring everything, restore only your user files, and not your applications, so you will have more free space. Also, doing this, Time Machine will continue backing up to your old backup, because Time Machine will detect that you have "the same computer with the same files and the same Mac OS X version", but it's not.
    If you have more questions about Time Machine, see this site > http://pondini.org

  • I am unable to clear my recent call list. Both the 'missed' and 'all' numbers appear even after deleting. It was happening on ios 7.0.4 and is present on 7.0.5. Any help.

    I am unable to clear my recent call list. Both the 'missed' and 'all' numbers appear even after deleting. It was happening on ios 7.0.4 and is present on 7.0.5. Any help.

    No.
    You got 2 more basic troubleshooting steps left before you make an appointment with the Apple genius bar for an evaluation:
    Restore from backup
    Restore as new
    http://support.apple.com/kb/HT1414

  • HT1766 How can i restore all my data after deleting the apps? can i syncing back from the macbook?

    How can i restore back all my data after deleting the apps and re-install back.
    After reinstall back stll retrieve all my data.
    Can i syncing back the original frm my macbook since last update is Mar

    Favor the route via iTunes and local storage on the computer. MUCH faster than any cloudy backup, no matter the speed of your Internet connection. No network beats the speed of a hard drive. Just make sure there's enough room on the computer before you start, must contain all that's on the iGadget.

  • HT2693 My Pages App will not open after I recently updated it. I'm afraid to lose all my docs if I delete the App and re-install.

    My Pages App will not open after I recently updated it. I'm afraid to lose all my docs if I delete the App and re-install.

    First of all - you are running the proper iOS in order to use the latest version of Pages - correct? You need iOS 6 now.
    If so ....See if this helps. Maybe Pages will open after you try this.
    Quit the Pages app completely and restart the iPad. Go to the home screen first by tapping the home button. Double tap the home button and the task bar will appear with all of your recent/open apps displayed at the bottom. Tap and hold down on any app icon until it begins to wiggle. Tap the minus sign in the upper left corner of the app that you want to close. Tap the home button or anywhere above the task bar. Restart the iPad.
    Restart the iPad by holding down on the sleep button until the red slider appears and then slide to shut off. To power up hold the sleep button until the Apple logo appears and let go of the button.
    Or ..... Reboot the iPad by holding down on the sleep and home buttons at the same time for about 10-15 seconds until the Apple Logo appears - ignore the red slider - let go of the buttons.
    If that didn't help backup and send your files into iTunes with file sharing.
    You could lose all of your files if you delete and reinstall the app. That is precisely why you should backup your iPad and send your files into iTunes using files sharing on the iPad. Do you backup or use file sharing?
    Backup your iPad, send the files from the iPad into iTunes using file sharing and then delete the app and reinstall it.
    Start here ..... How to backup and restore from a backup
    http://support.apple.com/kb/HT1766
    iOS: About file sharing.
    http://support.apple.com/kb/HT4094

  • I initially downloaded the application and was able to gain access to all of my photos through album, photostream, fb, etc. Now it will not pull any. After deleting the app and attempting to download it, it says I must pay for it (again) any help would be

    I initially downloaded the application and was able to gain access to all of my photos through album, photostream, fb, etc. Now it will not pull any. After deleting the app and attempting to download it, it says I must pay for it (again) any help would be appreciated.

    Sounds like a verification issue on whatever marketplace you bought PS Touch from. Did you try contacting Google or Apple to see what they say?

  • RemoveAll doesn't remove all elements

    Hey All,
    I'm having an issue with removeAll not removing all the element every time. Sometimes it does, and sometimes it seems to miss one or two.
    I am holding a number of Message objects in a TreeSet, and have other TreeSet's that also contain Message object's.
         messages.removeAll(c.getMessageList());
    Basically what i have is a message list for each "channel", and an object that can hold the messages of multiple channels in it, so when that channel is enabled, i add the messages from the specific channel, and remove them when they are disabled.
    The issue is that some seem to linger sometimes, but then i can play with it for a while, disabling and reenabling the channel, and it will remove the message after a couple tries. I debugged it, and saw that the list i was removing did contain the same object i was removing from, but it didnt remove it.
    This is probably really confusing, so please let me know what i need to clarify.
    THanks,
    Philippe

    The weird thing is that the 2 it didnt remove were in the middle of the set. If it was synchronization issues, i'd expect it to be at the end.It's a red-black-tree (balanced), so it makes a some sense. But I'd still expect a call to removeAll() to reset the internal state completely by replacing the root node.
    EDIT: I should really be reading the posts completely.. I was thinking about clear(), sorry :d
    PS. would it be just as efficent to just recreate the Overall or container set every time, instead of just removing the ones that are no longer enabled, cause that would fix the problem also.Well, marginally less efficient, but generally you don't have the possibility to replace the set whereever it is referenced..
    With kind regards
    Ben
    Edited by: BenSchulz on Feb 15, 2008 10:13 PM

Maybe you are looking for

  • Why can't I boot from my hard drive internally but no problem externally?

    Being unable to 100% solve my problem based off solved problems I have decided to log in. I will start from the very beginning. The computer is the Macbook late 2009 unibody. I upgraded the ram from 2GB to 8GB. everything was going smoothly until lik

  • At user-command & At Line-selection

    Hi, I am using ECC5 ver. of ABAP. Can I use AT USER-COMMAND and AT LINE-SELECTION in the same report? I have used it but only At user command works, not At line selection. When I remove Set pf-Status, At line selection works. Here is my code. REPORT

  • ACE XML gateway version 5.1

    Hi, i am configuring a XML gateway 5.1. i have not WSDL file then i create a simple service proxy but does't work. we i try to browse the consumer interface error 500 and log say me “request matched no valid handler or route”. I think i am missin

  • Remote Desktop: Apple Remote Desktop NOT showing in the Sharing Area

    I have installed the latest Apple Remote Desktop to both my Admin and client computer. In Preferences>Sharing Apple Remote Desktop does NOT show up as a choice to be clicked. Is there something that I have missed?

  • Skype falsely suspended, huge loophole in Skype's ...

    Hello, I have a skype (Baddieisboss) which I have used for over 2 years to run a business. I have accumulated over 5000 contacts throughout the 2 years which were customers and potential customers. Today I woke up, my skype was logged off and it had