Enum in a Typedef Reverts to Default (LabVIEW 2009)

When I add additional items to a typedef'd enum, constants of that enum on some BD's revert back to the default zero index enum value. In the past (8.6.1 and previous), adding items to an enum in no way would ever change constants that were already dropped on a BD. Now, in LabVIEW 2009, when I add items, about 60-70% of the constants dropped on different block diagrams will be changed to default value.
This happens in a "large" enum (~400 elements) that spans about 3 dozen VI's between RT and HMI block diagrams (a total of about 300 instances). This is a mature project that has never had this problem with 8.2, 8.5, 8.6, or 8.6.1...
I cannot post an example, because in the process of stripping down the VI, the problem goes away. It is extremely repeatable in the context of the project, but I cannot repeat it on an individual VI basis.
The current workaround is to edit the typedef'd enum while all referencing VI's are in memory. If the VI's that use the typedef are in memory, they will always properly recompile and maintain the correct constant value. However, if the VI is not in memory, and the typedef is changed, the next time the VI is opened, when it recompiles it will change the constants back to the zero index default value of the enum in only about 60-70% of VI's. Unfortunately, we cannot yet find a common thread in the VI's that recompile wrong, and the ones that recompile correctly. 
Has anyone ever seen this problem? Suggestions?
Best regards,
Jack
a.lia-user-name-link[href="/t5/user/viewprofilepage/user-id/88938"] {color: black;} a.lia-user-name-link[href="/t5/user/viewprofilepage/user-id/88938"]:after {content: '';} .jrd-sig {height: 80px; overflow: visible;} .jrd-sig-deploy {float:left; opacity:0.2;} .jrd-sig-img {float:right; opacity:0.2;} .jrd-sig-img:hover {opacity:0.8;} .jrd-sig-deploy:hover {opacity:0.8;}

We just realized a flaw in our "workaround", as partially pointed out by Ben (he was probably typing his response as we were confirming it here). If the constant is inside of a cluster on the BD, even if it is in memory, it will null out the enum inside of the constant. Therefore, the "workaround" is to rewrite the clustered enum constants from scratch (in other words, there's no workaround). Two of us spent a decent portion of the morning finally nailing this as the source of what we thought was an unrelated bug... and that's after spending a long day yesterday trying to find a fix. Yes, we feel Ben's angst of reverting back to previous SCC editions and manually editing dozens of VIs.
The severity of this bug is a showstopper for us. We cannot risk adding elements to an enum and consequently have referencing VIs changing their constants.
Force compiling a VI one at a time is not an option for us. I know this bug manifests itself even after a mass compile. So, is there a way to "mass force re-compile" that we could test?
a.lia-user-name-link[href="/t5/user/viewprofilepage/user-id/88938"] {color: black;} a.lia-user-name-link[href="/t5/user/viewprofilepage/user-id/88938"]:after {content: '';} .jrd-sig {height: 80px; overflow: visible;} .jrd-sig-deploy {float:left; opacity:0.2;} .jrd-sig-img {float:right; opacity:0.2;} .jrd-sig-img:hover {opacity:0.8;} .jrd-sig-deploy:hover {opacity:0.8;}

Similar Messages

  • Auto update typedef not working in LabVIEW 2009

    I was creating a type def for a customized button control and trying to figure out what action went with each of the 6 different picture images.  In the process, I found that the only way I could get my VI to auto-update the control was through using a strict typedef.  The auto update from typedef was selected, and the VI would be broken everytime I went to modify it until I saved and closed the control, but the control on the VI would not be auto updated.  I would have to replace the control to activate the change (similar to what I would need to do if the control was configured as a control and not a typedef)  This may be a bug that needs to be looked into, but I don't know where to make a bug report.
    I did find the solution to which picture image went to which action, the help files only explained 4 images.  I'll post what I found here just for reference.  The images are in the following order on the right click menu:
        1 2 3
        4 5 6
    With the following explanations for each:
     1. False Case
     2. True Case
     3. True-to-False Transition Case (time between mouse click and the release of the click)
     4. False-to-True Transition Case
     5. Mouse Hover Case when False
     6. Mouse Hover Case when True
    -Mike

    astromike wrote:
    Then that makes sense.  I'm currenlty only dealing with the appearance, I haven't dug into the Block Diagram on this one yet.  I was trying to get the appearance of the button to act correctly first, but I didn't have a good explanation of which image state did what.  Each time I tried to change it, I thought it would update on the Front Panel with the "auto update" checked.  At one point yesterday I did have the right images on the right states, but didn't see the change because it was only a typedef.  I'll keep it as a strict typedef and am glad to hear that it was with how little I understand these custom controls when used as a visual control.
    We definitely do not want the image traveling inside the Block Diagram.
    Here is my Nugget on Type defs. There may be something in there that can help you. At the tail end I mention default values and ways to handle them.
    Ben
    Ben Rayner
    I am currently active on.. MainStream Preppers
    Rayner's Ridge is under construction

  • When I close CS6 changes in settings are not saved.  Reverts to default settings on reopen.  Why?

    When I close CS6 changes in settings are not saved.  Reverts to default settings on reopen.  Why?

    Sorry Photoshop --  Problems solved -- I read the details -- turns out you need to make changes with no files open for the preferences to apply to all files.
    Thanks,  Al

  • Call park music on hold reverts to default after server reboot

    Hello,
    We are noticing that if you define Music on hold for the Park service, the call park music on hold reverts to default sound after server reboot. (all systems we've tested do this)
    Anyone using park music on hold that can verify one way or the other?
    Thanks, 
    +Say thanks and observe basic forum courtesy:
    +If this post answered your question, Mark As Answer
    +If this post was helpful, Vote as Helpful
    windowspbx blog: my thots/howtos
    see/submit Lync suggestions here: simple and public

    We have tested it and we have the same result. Hope the next update will resolve this problem.

  • Android 2.2 Reverts to Default email settings when roaming - Droid Incredible

    When traveling with my Droid Incredible and want to send an email the phone often will lose my SMTP settings. At the same time it reverts to default settings for send / receive which means it will delete messages from POP server! Is there a roaming setting somewhere on this?
    PF

    In order to better troubleshoot, we need additional information. Can you please advise what E-mail provider you are using? Can you advise where and when this has happened most recently? If the issue persists, please contact us while you are in the area affected, as we would need to determine what network you are accessing at the time, along with additional information. You can feel free to call us from a secondary phone at 800/922-0204 or DM me with a secondary contact number (other than your wireless device) so that we can conduct additional troubleshooting. 
    Thanks, 

  • What Font is used as the default LabView System and Dialog Font on a windows?

    What font is used as the default LabView System and Dialog font on a Windows system?
    Can I use the default system and dialog font in another software (i.e; Win word or Illustrator etc.)

    For Windows XP, the font is Tahoma. I don't know if Windows has a method for changing this (I thought it would be in the display settings, but couldn't find it). Maybe in the registry?
    For more details, see here.
    Try to take over the world!

  • Bug? LabVIEW 2009 Enum in Datalog Refnum Loses Data in LabVIEW 2010+

    Hi 
    Can I please get support from an AE?
    Attached is a LabVIEW 2009 VI with a Control of an Enum in a Datalog Refnum.
    Whereby the Enum's FP Object is represented as an image.
    In LabVIEW 2009 this works fine however, in any higher version (I have definitely tested with LabVIEW 2011, but have been told LabVIEW 2010 is the same) the image is blank.
    Is this a bug - is data being lost?
    Interestingly enough, if I remove the LabVIEW 2009 Enum from the Datalog Refnum then load in LabVIEW 2011 this image displays correctly.
    Is there anything I can do (setting? etc...) in LabVIEW 2009 that will correct this problem so it displays correctly in later versions?
    This issue originated in this LAVA thread.
    Cheers
    -JG
    Certified LabVIEW Architect * LabVIEW Champion
    Attachments:
    Datalog Refnum Enum_LV2009.vi ‏10 KB

    This was reported to R&D (# 311354) for further investigation. 
    As a possible workaround, if you move the enum control out of the datalog refnum before saving in LV 2009, when you open your VI in LV 2011 the image will still show up for the enum control. You can then move the enum control back into the datalog refnum and it should work fine. 
    Thanks for the feedback,
    Daniel H. 
    Customer Education Product Support Engineer
    National Instruments
    Certified LabVIEW Developer

  • Adding a "revert to defaults" button

    jpdk 1,3
    I'd like to add a "revert to defaults" button
    on my customize page. When I use PortletRendererUtil.renderCustomizeFormHeader(pr, out, null, "action", null, null) Only the 'apply' and 'ok' buttons are rendered. Do I have to do it manually or is there a utility I can use to do this?
    thanks,
    -sancho

    You are right - the PDK article "Guidelines for Portlets in Edit Mode" describes such a button, which currently the JPDK doesn't support. Looking at some of the default portlets on a Portal home page, it would seem that the convention is now for this button to be called "Reset to Defaults". I have logged bug 1771249 against the JPDK and bug 1771238 against the articles to sort out these issues.

  • Indesign CS6 printer settings reverting to default

    Hi
    We have a problem which has started recently for some students when printing from Indesign CS6. Most of them have print presets which they created months ago for printing to the default printer using secure print, A3, heavyweight paper, bypass tray etc. They were working fine, but now, when they print a document using that preset it just prints on standard paper and normal (not secure) print.
    I checked their print presets and in the setup for the printer within the print preset the settings have changed to the default settings. If I delete the preset and create another one any changes I make in the setup / preferences for that printer revert back as soon as I click 'Ok'. A work around I have found is that  when I click 'setup' if I click on any other printer, then click back to the correct (default) printer, then click preferences and make the changes they stick and do not change back to the default settings.
    This issue happens without using print presets as well, If you choose file / print and then setup, and you do not click on any other printer and then back again to the correct printer before clicking 'preferences' any changes you make will revert to default as soon as you click 'Ok'
    It only seems to be affecting Indesign.
    The printer is a Xerox Docucenter C6680, using the PCL 6 driver on a print server. We are also running Papercut.
    Does anyone have any ideas what could be causing this? I have tried trashing the Indesign prefs but this does not seem to help
    Cheers
    Murray

    THere appears to be a Postscript diver for this printer. Have you tried that?

  • When I apply Stationary to an e mail the saved custom style reverts to default. What am I doing wrong?

    When I apply Stationary to an e mail the saved custom style reverts to default. What am I doing wrong?

    Perform a Reset... Try again...
    Reset  ( No Data will be Lost )
    Press and Hold the Sleep/Wake Button and the Home Button at the Same Time...
    Wait for the Apple logo to Appear...
    Usually takes about 15 - 20 Seconds... ( But can take Longer...)
    Release the Buttons...

  • Outlook 2013 custom view reverting to default at random times

    I have a customer who uses very specific view columns, color coding, and ordering to go with some custom addins. Every couple of months, his default view settings saved under "userdefaultview" will revert to default for no apparent reason.
    Windows updates are not causing this as there is no time correlation. 
    System restore has worked once in the past, but is not working right now.
    User is on Outlook 2013 connected to Exchange 2010 through an onsite server. He only uses one onsite desktop, and remotes in with other devices due to the large amount of customization on his Outlook client.
    Thank you.

    since Outlook 2003, the view settings information is stored in the mailbox or PST file. it may be difficult to determine the root cause because this issue happens every couple of months. the cause may lie with the client side or the server side.
    to work around it, try to back up the custom views to a pst file which we can use to restore the views if this issue occurs. see:
    http://www.outlook-tips.net/how-to/copy-outlook-custom-views/
    after the backup, we can also try starting outlook with outlook /cleanviews and wait to see if it will fix the issue.
    Flynn

  • Bluetooth problems: prefs revert to defaults after reboot

    Hi there,
    I have a strange problem with Bluetooth and wireless input devices. I have set up Apple wireless keyboard and mouse, and also ticked "Show Bluetooth status in the menu bar" in Bluetooth preferences. However, after I reboot bluetooth icon disappears from the menu bar, and Magic Mouse prefs revert to defaults.
    Apart from that, I am not able to tick "Allow Bluetooth devices wake up this computer" in Preferences – Bluetooth – Advanced.
    What can it possibly be?
    Before that I had the same issue with Dock (its icons would return to a certain state every time after reboot, no matter how I'd change or rearrange them before restarting). I managed to solve Dock issue by trashing Dock .plist files. I guess it may be the same with Bluetooth, but I don't know which .plist to trash this time (tried deleting com.apple.Bluetooth.plist, it doesn't work).

    I don't have a logitech mouse, but is it possible that the mouse is going to sleep during the reboot, and is thus unavailable when the OS is looking for it?

  • Cases in which Domain Group Policy settings would be reverted to default settings on a Win7 client

    Hi - I'm sure this info is out there somewhere, but I'm having a hard time finding it.  Basically, I'm trying to identify the cases in which settings deployed via Domain Group Policy on 2008R2/Win7SP1 would get reverted back to "default settings"
    on a Win7SP1 client that is still a member of the domain, and is in a proper OU, properly targeted, WMI filters should still evaluate true, etc...
    For instance, it appears that if machine-level registry settings contained within a LocalGPO file on a client get corrupted (C:\Windows\System32\GroupPolicy\Machine\registry.pol), all of those settings, plus all machine level administrative template settings
    defined in Domain Group Policy, get reverted to default settings (corresponds with Event ID 1096 in System Event Log where it references "LocalGPO").  I have not confirmed if this is the case for machine level settings defined outside of administrative
    templates in Domain Group Policy, or for any user level settings though.  (But I suspect not.)
    When a workstation is unable to talk to a Domain Controller in order to identify applicable Domain Group Policy settings (for instance, this issue:
    http://support.microsoft.com/kb/2421599/en-us), do administrative templates Domain Group Policy settings revert to defaults up until the next successful processing interval?  I don't believe
    so, but would like confirmation.
    Are there any other cases in which Domain Group Policy settings for a client still joined to the Domain would be reverted to defaults?
    And when a client is unjoined from the Domain, what Domain Group Policy settings would remain on the client?  I understand that some Domain Group Policy settings outside of administrative templates are "tattooed" to the registry.  Does
    anyone know of a full list of these settings?  I believe that most or all of the ones in Windows Settings\Security Settings are tattooed, and the only way to get these settings removed is to explicitly change them via registry edit or LocalGPO/Local Security
    Policy, after unjoining the domain.
    Any info/insight/links to other doc/etc would be much appreciated!

    Hi Shaun,
    >>If a client cannot talk to a domain controller at all, admin template settings still stay in-place on the client, correct?   
    As far as I know, it's not this case. If a client can't communicate with domain controllers, it means that the GPOs applied to the client are out of scope. As suggested by
    the article I provided, for native policy, "when a Group Policy object (GPO) goes out of scope, the policy setting is removed allowing the original configuration value to be used."
    >>What if a client looses network connectivity while reading Domain GPO?
    Group policy will be get updated when computers start up and users log on. Besides, for workstations, group policy will get refreshed at background with by default an interval
    of 90 minutes. As long as workstations can restore network connectivity, the group policy settings will get updated.
    >>Are there any other failure cases like this where some or all Group Policy settings (admin template or other areas) would get reverted?
    There are many reasons which can cause GP malfunction. However, Windows itself provides necessary tools for troubleshooting various issues. When GP malfunctions, we can check
    Event Viewer, collect group policy result, or generate group policy log to troubleshoot.
    TechNet Subscriber Support
    If you are TechNet Subscription user and have any feedback on our support quality, please send your feedback here.
    Best regards,
    Frank Shen

  • Why does LabVIEW 2009 revert to the old icon editor?

    Hi,
    I have noticed that sometimes when I am trying to edit the icon in LabVIEW 2009, I get the old style icon editor from LabVIEW 8.5 days instead of the more advanced new one with layers, gliphys, etc.  Once the old style editor shows up, there doesn't seem to be a way to go back to the advanced editor.  Has anyone seen this behaviour?  I have version 8.5 of LabVIEW still installed, should I remove it?  Do I need to restart my computer?
    Thanks.
    Bob

    Here are some of the errors I see ...
    Attachments:
    ScreenShot057.png ‏18 KB
    ScreenShot058.png ‏112 KB
    ScreenShot059.png ‏125 KB

  • LabVIEW 2009 crashes at startup with the presence of a certain CRT version on the system

    When installing our LabVIEW integration package on a system running
    LabVIEW 2009 LabVIEW will crash at startup afterwards. Using 'dependency
    walker' reveals, that 'nicont.dll' causes this crash because of a
    side-by-side configuration problem. After some debugging I found out
    that on this particular system installing a certain version of the
    Microsoft CRT will stop LabVIEW from functioning. My fix now is to
    recompile our code with a newer version of VS. I now ship a VS9 version
    of the runtime and everything is working as expected.
    However
    I guess the real problem lies within the LabVIEW installer. I guess a
    needed version of the CRT is not installed by LabVIEW. It still works
    because due to some policy files on the machine it gots defaulted to a
    compatible version at startup. However when I install the following 2
    merge modules on the target system LabVIEW does no longer work:
    Microsoft_VC80_CRT_x86.msm (file version inside: 8.0.50727.762)
    policy_8_0_Microsoft_VC80_CRT_x86.msm (file version inside: 8.0.50727.4053)
    Renaming
    the *.policy file in the SxS dir on the target system gets LabVIEW back
    to run, but of course other SW needing this file does not run then
    I was using XP, 32 bit SP 3
    I can provide additional information if needed. Is this a known problem? Is there a fixed version of LabVIEW already?
    Message Edited by anotherStefan on 02-05-2010 05:44 AM

    Sure! I tried to attach the installer causing the problem to this message.
    However I failed miserably(BAD GATEWAY from the upstream server). Where can I upload the installer to or what do I need to do?
    It will install some other stuff as well (A bunch of VIs, a DLL and an
    OCX(this needs the CRT I have trouble with)and the CRT and MFC runtimes I
    mentioned. An updated version of the installer can be obtain here(however it does no longer show the issue):
    http://www.matrix-vision.com/functions/count.php?url=products/hardware/family/SC/mvBlueFOX/LabVIEW_a...
    The only difference between the two packages is, that the OCX in the
    attached file has been build using VS2005SP1 and in the package the link
    points to I did use VS2008. Apart from that I changed the 2 merge
    modules from Microsoft (CRT and MFC)

Maybe you are looking for

  • Usb mouse does not work in xwindows

    fwiw, I talked to c4nuk on irc and he suggested i install gpm.  I did that and it fixed everything.  I'm curious, is there a fix without using gpm? Last edited by netskink (2013-02-18 23:34:11)

  • Problem with constraint in a table..help required..

    Hi , i need to create a table which has an attribute year_joined and need to set a constraint that the year_joined should be less than or equal to the current year (year obtained from sysdate (YYYY)) .. can any one help me with the create statement r

  • Error facing after installing a template from BI Content.

    Hi, I installed a web template '0TPL1_SR_GL_DASHBOARD'  from BI Content. In Grouping tab I selected 'only necessary objects' and clicked on Web Template becoz I already have queries activated in BI. But While checking that in WAD I could see the temp

  • My 27 inch iMac screen will not hold position when I move it.  It just drops back to the lowest position.

    My 27 inch iMac monitor tilts forward and will not hold position when I adjust it up.. Is there a tension adjustment for the monitor position?

  • EDI 830/860 problem

    Hi My scenario from EDI  Files to IDOC and we are sending some value to the TXT01 field in IDOC DELFOR01. We are mapping an UDF with TXT01 field. The UDF have code: if (txtTwo.equals(""))     result.addValue(result.SUPPRESS); else    result.addValue(