Just checking on another odd feature: Typedef enum Property Node "Value" not reflecting changes in the Typedef?

Just encountered this odd behavior in LV 2011 which I reduced to the following example:
- create a new VI and drop an enum control on te FP.
- make this control a typedef and open the corresponding typedef
- create a "case 1" item and a "case 2" item
- save the typedef (I used the name Typedef Control 1) and CLOSE it (this is to allow updating of the original control).
- drop a case structure on the diagram and connect the enum to it:
So far so good. Now create a "Value" Property node for the enum and use it instead of the terminal:
If I now go back to the typedef and add a "case 3" item, save the typedef and close it, the control is updated, but the Property node is not.
How do I know that? For one, the Case Structure contextual menu does not offer to create a case for every value. Also, if I add a "case 3" case manually, it turns red.
Luckily, the magic Ctrl-R key stroke actually does solve this problem.
Tested in LV 2011.

By Ctrl-R trick do you simply mean running the VI?  That is one way to force a recompile, but if you hold down Ctrl while pressing the run button you can recompile without running.  This should not be "dangerous" in any situation.
As you have drawn your example, I see no reason not to use a local in that situation (ok, maybe for vanity).  Still, I view the behavior you describe as a bug, and it should certainly be fixed for the benefit of local haters out there.  You have to be a little careful where you draw the line between what gets handled in real time and what gets handled only at compile time.

Similar Messages

  • I have an ipod touch it is either a second or third edition and i have just had to restore it to factory setting as it was not working and now the wifi on the device is no longer working. Is there anything i can do about this?

    i have an ipod touch it is either a second or third edition and i have just had to restore it to factory setting as it was not working and now the wifi on the device is no longer working. Is there anything i can do about this?

    Is it this:
    iOS: Wi-Fi or Bluetooth settings grayed out or dim
    One user reported that placing the iPod in the freezer fixed the problem. A trick that works frequently with iPhones:
    Settings > AirPlane Mode ON, Do Not Disturb ON
    Power down and wait 5-10 minutes
    Power up
    Settings > AirPlane Mode OFF, Do Not Disturb OFF
    If not successful, an appointment at the Genius Bar of an Apple store is usually in order.
    Apple Retail Store - Genius Bar
    Otherwise:
    Does the iOS device connect to other networks?
    Does the iOS device see the network?
    Any error messages?
    Do other devices now connect?
    Did the iOS device connect before?
    Try the following to rule out a software problem:                 
    - Reset the iOS device. Nothing will be lost
    Reset iOS device: Hold down the On/Off button and the Home button at the same time for at
    least ten seconds, until the Apple logo appears.
    - Power off and then back on the router
    - Reset network settings: Settings>General>Reset>Reset Network Settings
    - iOS: Troubleshooting Wi-Fi networks and connections
    - Wi-Fi: Unable to connect to an 802.11n Wi-Fi network
    - iOS: Recommended settings for Wi-Fi routers and access points
    - Restore from backup. See:
    iOS: How to back up
    - Restore to factory settings/new iOS device.
    If still problem make an appointment at the Genius Bar of an Apple store since it appears you have a hardware problem.
    Apple Retail Store - Genius Bar

  • Just bought an .OTF font for Flash CS6 and it's not showing up in the list.

    Just bought an .OTF font for Flash CS6 and it's not showing up in the list.
    EscrowText-Roman.otf
    Any reason why? It shows up in Illustrator and Photoshop just fine.
    Line

    If you have never synced an audiobook yet, you have to connect your ipad and go to the books tab.
    Scroll down past the regular books and there will be where you sync your audiobooks.
    Then they will show up on the music app under "other"

  • Hi! For the past two weeks,there was this album available on iTunes. But i just checked it yesterday, and it is gone! what can i do to get the album back?

    hi! For the past two weeks,there was this album available on iTunes. But i just checked it yesterday, and it is gone! i know i saved it under my wishlist but now i can't even find it. I tried googling the song on iTunes,but it said there was no such thing. what can i do to get the album back?

    i would like to do that but i have no idea who is the song creator as it a album soundtrack made up of various artists

  • Is there a way to reference the property node value of a control in another VI?

    Let's say that I have a situation like the one shown in the attached image.
    I have an interlock system which is basically a bunch of booleans
    If for example the "RF Enable" button in the "interlock VI" is true, then I should be able to flick the ON switch in my other VI (in the back), but if the value is FALSE, then it shouldn't allow it.
    In other words, how do I check the value of a control across 2 separate VIs (running simultaneously)?
    Thanks!!
    Attachments:
    sample.jpg ‏295 KB

    Is one VI launched by the other, or are they launched independently? If it's the former then you just need to pass the control reference to the subVI via terminal node. If it's the latter there are a variety of ways to handle this:
    Use a global variable - somewhat "sloppy" as it requires a global variable, and can lead to race conditions. In the "Interlock" VI you just set the value of the global variable when you change the value of the Boolean. In the other you're just reading it.
    Action Engine - Ben wrote a Community Nugget a while back. Similar concept to a global variable.
    Queue - The "Interlock" VI simply pops an element onto the queue with the value. The other VI just monitors the queue for a new element. It just needs to have something like a shift register to keep track of the last state.
    Use the VI Server to access the controls of the "Interlock" VI. You can do this by accessing the "Interlock" VI's pane and get the control references. With the control reference you just need to get the value with a property node.
    ... (I'll let others chime in)

  • Coercion dots, Typedef. and Property Nodes

    Hi,
    following problem:
    1. I place a simple Control (Button 1) and connect it to an Indicator (Indicator 1) -> OK
    2. I place a Button as Typedef. (Button 2) and connect it to an Indicator (Indicator 2) -> Coercion dot on Indicator 2 (I don't see the point of a boolean coercion, but OK)
    3. I create a property node for Indicator 1 (Value) and try to connect a constant (right-click>Create>Constant -> the constant is grayed out and the error message is 'type definition not found or contains error'
    Details: The master copy for this type definition could not be found or the master copy has errors. You must find and fix the master copy, or right-click this type definition and select Disconnect.
    4. I remove Button 2 and repeat step 3 -> the same thing happens
    If I connect an existing boolean constant to the property node there is a coercion dot. As a matter of fact for using one Typedef. Control in a VI all other control property nodes suddenly have coercion dots even if I remove the Typedef. control. Does it mean either all controls and indicators better are typedef. or none at all?
    Thanks in advance.
    P.S.: the problem occurred originally in a VI with much more than two buttons...

    benMyer wrote:
    Something else: did you realize that the spell-checker for this forum does not know the word 'LabView'?
    Because you are spelling it wrong. try LabVIEW instead.
    LabVIEW Champion . Do more with less code and in less time .

  • Check Box values not reflecting in the pageflow instace variable

    Hello BEA Experts,
    I am binding a checkBox group to an instance variable of a Pageflow , it seems that the array inside the pageflow is null no matter what can you please let me know why.
    Is it possible to bind the checkbox group tag to an array in Pageflow or is there anything wrong with the way I am using the checkbox group with in a data- repeater table.
    Here are the code snippets..
    JSP:
    <netui-data:repeaterItem>
    <tr class="tablebody">
    <td>
    <netui:checkBoxGroup dataSource="{pageFlow.nodeIds}">
    <netui:checkBoxOption value="{container.item.nodeId}">&nbsp
    </netui:checkBoxOption>
    </netui:checkBoxGroup>
    Contoller:
    Has a private instance varible named nodeIds with getter and setter methods..
    Please let me know why the checked values are not reflecting in the pageFlow attribute.

    Hi Bob
    I didn't understand fully what you are trying here. Could you please clarify?
    I assume that you have a Array of NodeId objects.
    Lets say:
    Public NodeId[] nodeids = new NodeIds[10];
    and you want a checkBoxGroup mapped to NodeId[]
    and have as many checkBoxOption as number of elements in array with value as NodeId(i).nodeId
    Is this assumption correct?
    If the above is correct then the code snippet you have pasted is wrong in the sense that checkBoxGroup datasource is the array but the Option value is the main repeater item's nodeId which is wrong.
    The container.item would not access anything within the pageflow variable.
    I will post a sample in the next one
    Vimala-

  • I just purchased PSE 8 for my windows 7 and it will not let me load the "content" cd,

    I just tried my new PSE 8 for the first time and it will not let me load the "content" dvd, it states that PSE is already running (it is not) and to close program and start again.  Any ideas?  This is my first time using any kind of video editing software also.

    Photoshop Elements (PSE) doesn't ship with a Content DVD.
    I think you're probably referring to the PRE Content DVD that comes with Premiere Elements (PRE)
    The PRE User to User Forum (http://forums.adobe.com/community/premiere/premiere_elements) may be a better place to post this question.
    If you bought the Bundle of PSE and PRE it would have come with the PRE Content Disk, but the PRE Forum is still where you might find some help.
    Cheers
    Bob

  • Value not reflecting into the transparent table when checked through se11

    Hi friends.    i am using the following code to add data to a transparent table already creted by me.Now i am adding data to it through a ABAP program.It is displaying the output when I execute it but the new record added in the program is not saved itno the table actually.my code is :
    REPORT  ZWRITE_DATA.
    tables zlfa2.
    move 'achal' to zlfa2-field_name_1.
    update zlfa2.
    select * from zlfa2.
    write / zlfa2-field_name_1.
    endselect.
    the above code is not showing the value 'achal' in it.and also no error message is being displayed.

    Hi,
    Commit work saves the changes done into the database. Using COMMIT WORK statement in your program have below mentioned effect:
    Calls the subroutines specified by PERFORM ... ON COMMIT
    Executes asynchronously any update requests (see CALL FUNCTION ... IN UPDATE TASK) specified in these subroutines or started just before
    Processes the function modules specified in CALL FUNCTION ... IN BACKGROUND TASK
    Resets the time slice counter to 0.
    Ensures that the locks of the SAP locking concept are handled in accordance with its SCOPE Parameter.
    Executes a database commit on all database connections
    Closes all open database cursors (OPEN CURSOR) on all database connections
    Releases all database locks on all database connections
    KR Jaideep,

  • I have downloaded Firefox 5.0.1 4 times but the 3.6.19 version still shows up in the "about Firefox" box. Firefox says I have the latest version, but it just does not reflect it in the "about" box.

    When I tried the 2nd, 3rd, and 4th time to download 5.0.1, Firefox states that I have the latest version installed, but it still shows up as version 3.6.19 in the "about Firefox" box. And this older version is also reflected in your "educated guesses" about my current browser below.

    If you have problems with updating or with the permissions then easiest is to download the full version and trash the currently installed version to do a clean install of the new version.
    Download a new copy of the Firefox program and save the DMG file to the desktop
    * Firefox 5.0.x: http://www.mozilla.com/en-US/firefox/all.html
    * Trash the current Firefox application to do a clean (re-)install
    * Install the new version that you have downloaded
    Your profile data is stored elsewhere in the [http://kb.mozillazine.org/Profile_folder_-_Firefox Firefox Profile Folder], so you won't lose your bookmarks and other personal data.

  • HT5449 How can my MacBook Pro to read to me articles on the internet? To just speak to me what is on there so I do not have to read the articles.

    How can my computer read to me an article on the internet. Instead of me dictating and it typing, the computer reads to me what is on the screen.
    How can I do this? I am researching.

    Look in the Accessibility System Prefs for Voice Over.
    You can also select a block of text and right-click, choose Start Speaking from the Speech submenu.

  • I just got an ipad 3 and during set up it will not let me put the password in for my network

    will not allow me to put in password to get on wireless network, during set up

    Go to Settings > General > Reset > Reset Network settings.
    Then turn your iPad off, or set it to AIrplane Mode.  Turn WiFi back on, and hopefully you'll find your network and be able to input the password.

  • Why can't I create property nodes for item in STRICT typedef cluster?

    I've tried this in LV7.0/WIN2k and LV 7.1/OSX - both versions work the same.
    I have a TYPEDEF consisting of a cluster of items A, B, and C.
    I have a front-panel instance of this typedef.
    Under certain conditions, I want to disable and gray Item C, because it's not applicable.
    So I need a property node connected to item C.
    If the typedef is STRICT, then I cannot create such a property node - the menu item to create anything is just not there.
    If I change to NON-STRICT, then I can create the property node.
    I can change it back to STRICT, and the property node works just fine.
    The question is, if the nodes WORK normally, why can I not CREATE one?
    If there's some sense behind this, someone please point it out to me...
    Steve Bird
    Culverson Software - Elegant software that is a pleasure to use.
    Culverson.com
    Blog for (mostly LabVIEW) programmers: Tips And Tricks

    I agree with you, It would be nice to be able to keep the non strict typedef auto-update and extend it to properities which effect the look of a control. I am not sure why you can change the properities on a strict typedef. A strict typedef should have private properities (can only be changed from within the definition and no public other vi scope for writing these values. I have in the past used a custom control for presentation purposes and contained the structure of the data to be displayed within the typedef cluster. This is not all that automatic since we need vi's to convert between the definition and control. Seperating data structure from presentation is much like XML where the file only contains data structure and a reference to a style for presentation. It would be a very nice option to allow nonstrict typedefs to have an additional auto-update properities which could be toggled on and off. I would be curious to here others opinions on how to keep data structure and presentation consistant across an application without being tied down to a strict typedef (allowing the optional change of teh presentation at runtime).
    Paul
    Paul Falkenstein
    Coleman Technologies Inc.
    CLA, CPI, AIA-Vision
    Labview 4.0- 2013, RT, Vision, FPGA

  • Programmatically controlling strings in typedef enum

    Hi there,
    on an user interface I want to offer a typedef enum as a pulldown menu to select plugins that are dynamically loaded from a subdirectory. Whenever a new plugin is copied into this directory, the enum menu shall be updated automatically. Yes, I have already searched the forum and found an older thread where they write that enums cannot be altered programmatically. Isn't there really any workaround?
    See the attached example vi. I want to use the enum instead of a ring menu because with the typedef enum the case structures are automatically extended if the enum itself grows.
    Any hint on how to program such "auto update features" most elegantly?
    Thanks,
    Peter
    Attachments:
    autoupdate_of_enum2.zip ‏20 KB

    Hi Peter,
    i think it is not possible in this way. Who should insert the new function into your case structure?
    Use a combobox/ring and an event strucure. If the user change the value of the combobox/ring, build the path to the selected vi.
    See the attached example.
    Mike
    Message Edited by MikeS81 on 06-02-2008 02:03 PM
    Attachments:
    main_LV80.vi ‏16 KB

  • I just bought a new 10watt usb power charger and it says not charging?

    I just bought a new 10watt usb power charger and it says not charging?

    Maybe the charger is OK , but the cable may be damaged.

Maybe you are looking for