Hide/unhide radio buttons works in lab view, not in executable

Hello,
I simplified a program I am using. When I run in lab view the radio buttons are visible or not (as programmed). But when I create an executable, this function is not working any more?
Do I need to make changes in the build settings?
best regards,
Rens van Geffen
I attached the maintest.vi (lab view program) and the executable as well in a zipped folder.
Attachments:
My Application2.zip ‏742 KB

I think it is a bug and reported it in the monthly bug thread.
RvG wrote:
Yes i know it is a dirty vi. But I only made it because I had a problem in a complicated vi, with lots of sub vi's etc. in that vi I have all wait functions etc.
I did not care about any wait function. I was just objecting about the overuse of value property nodes and that exceedingly complicated inner while loop construct that really does not do that much.
For example, your upper case structure contains writing to two value properties that exist in all cases, while the actual terminal just sits there outside the loop. The cases only need to contain what's different. Shared code elements belong outside the case! Instead of writing to value properties (which is synchronous and resource intensive), you can just write to the indicator terminal instead. Right?
In parallel to writing to the "group", you also read from another value property instance of the same. Since this happens in parallel to the case structure, you will read a stale value, and not what has been generated by the case structure during the same interation.
My code modification shows some of the simplications that can be done. Also note that data dependencies enforce the proper execution order.
Writing to the visible properties only needs to be done when the situation changes and not with every iteration of the loop. Once written, these proerties stay until changed to something else.
In summarry, these are just some recommendations. They will not fix the LabVIEW bug you exposed.
LabVIEW Champion . Do more with less code and in less time .

Similar Messages

  • How to show/hide individual radio buttons in a single radio button list

    Can I apply javascript to checkboxes in order to show/hide individual radio buttons in a single radio button list?

    Thanks, Niall,
    I'll give it a try . . .
    Yours,
    Robert Anderson
    SWRCB WebSupport
    1001 I Street
    Sacramento, CA 95814
    8th floor 59B
    (916) 341-5950
    [email protected]
    >>> Niall O'Donovan <[email protected]> 8/5/2010 1:47 PM >>>
    Hi,
    Yes, it can be done. You just need to reference the actual button, rather than the radio button group.
    It is best if you name the radio button group AND all of the individual radio buttons.
    If the radio button group was named "myRadioButtons" and the three rb were named "yesRB", "noRB", and "maybeRB". All of this is in the hierarchy.
    Then this script in the click event of the checkbox would work:
    if (this.rawValue == 1)
         myRadioButtons.maybeRB.presence = "hidden";
    else
         myRadioButtons.maybeRB.presence = "visible";
    Hope that helps,
    Niall

  • Radio button and associated functionality is not working!

    Hi Pros,
    I am facing the following problem:
    1.I have an interactive PDF created in Acrobat 9 Pro.
    2.PDF have few radio buttons, each radio buttons ahave assigned valus(eg: 1,2,3 etc)
    3.I have a text box in which the value of selected radio button is displayed.
    4.PDF is working fine on my machine.
    5.Client is having Internet Explorer version 7.0.5 and Adobe reader:8.2.6
    6.The radio buttons and associated functionality is not working on client's machine.
    7.The text box shows '0' even if we a radio button with value 2 or 1 is selected.
    What will be the problem? How can I fix this issue?
    Please help.

    Thanks alot for helping me on this.
    Thanks to u also ~graffiti

  • Radio Button In Advanced Search View

    How to bring radio button in Advanced Search view in crm 7.0 web UI?
    Edited by: senthil06mx46 on Feb 18, 2010 9:50 PM

    Hi,
             Your question is not clear. Is the advanced search view relevant? Do you want to make radio buttons available as an option for selecting field values? In that case, the purpose is already served by the "IS" operator. If you simply want to create radio buttons somewhere else in the page, there's a standard BSP application which demonstrats BSP tags. The name, I do not exactly remember. BSP_test or bsp_demo...
    Regards,
    Arun Prakash

  • Hello. Having a problem with skype. i am online, all buttons work, however i can not make a video call the button simply doesnt work. Messages works. voice calls works. Please help.

    Hello. Having a problem with skype. i am online, all buttons work, however i can not make a video call the button simply doesnt work. Messages works. voice calls works. Please help.

    Sounds like you need to contact skype.

  • Hide/Show Radio Buttons

    Hi friends,
    I have a radio button page item which is showing two values like
    <li>4 Stars
    <li>5 Stars
    I need to show these two radio buttons according to the employee number that is firing on the field Employee Number.
    Suppose, for an example i need to show 4 Stars if he is an ordinary employee. If he is an CEO means then it has to show both 4 Stars and 5 Stars button.
    How i can achieve it friends..
    For that i tried by using DA, but it failed. I have the query to restrict the radio buttons according to the employee number which is working fine in sql developer at the back end. But im going wrong in implementing it in APEX via DA, as it is not working over there.. This is the query
    SELECT '5/Stars' d, '5/Stars' r
    FROM DUAL
    WHERE (:P85_EMP_NUMBER) = (SELECT employee_number
    FROM apps.xxhy_ams_details_v
    WHERE UPPER (job_name) = 'CEO')
    UNION
    SELECT '4/Stars' d, '4/Stars' r
    FROM DUAL
    WHERE (:P85_EMP_NUMBER) IN
    (SELECT employee_number
    FROM apps.xxhy_ams_details_v
    WHERE grade_name BETWEEN 1 AND 4
    OR (:P85_EMP_NUMBER) =
    (SELECT employee_number
    FROM apps.xxhy_ams_details_v
    WHERE UPPER (job_name) = 'CEO'))
    UNION
    SELECT '4/Stars' d, '4/Stars' r FROM DUALBrgds,
    Mini

    Hello
    Are you using a Select List or other LOV item for employee selection?
    If you are you can use cascading lov under the radio button
    - you add <emplyee select list item> to Cascading LOV Parent Item(s) and to Page Items to Submit
    - and then on the List Value Definition you use something like:
    SELECT '5/Stars' d, '5/Stars' r
    FROM DUAL
    WHERE :P2_EMPLOYEE = (SELECT EMPNO FROM EMP WHERE JOB LIKE 'PRESIDENT') --:P2_EMPLOYEE is select list
    UNION
    SELECT '4/Stars' d, '4/Stars' r FROM DUAL
    If you are receiving employee number on your page you can just use List Value Definition of radio button like:
    SELECT '5/Stars' d, '5/Stars' r
    FROM DUAL
    WHERE :P2_EMPLOYEE2 = (SELECT EMPNO FROM EMP WHERE JOB LIKE 'PRESIDENT') --:P2_EMPLOYEE is text field or hidden
    UNION
    SELECT '4/Stars' d, '4/Stars' r FROM DUAL

  • Captivate 8 - Next Button Works Only After Viewing Slide

    How do I make a Continue button work only after the viewer has viewed the entire slide?
    I also want the viewer to be able to skip ahead instantly through slides they have already viewed.
    Thanks.
    - Jason

    Let me show you what I'm trying to create here. Sorry I need specific instructions since I'm a newbie to Captivate and not familiar with conditions and advanced actions. 
    I am currently using normal buttons (not a shape button) to create my PREVIOUS & NEXT buttons. Based on your advice I will switch to shape buttons.
    "It could be done with a conditional advanced/shared action on Enter of each slide. You'll need a user variable per slide, a Boolean, that you change on the first visit from a default value of 0 to 1, after having checked its value."
    What specifically do I select for the "On Enter" of each slide?
    And do I only need to put this condition in the "On Enter" section of each slide? Or do I also need to setup special conditions for the NEXT button?
    Thanks.
    - Jason Boone

  • How does this radio button work?

    The attached code is from LabVIEW7.1 example. I just can't figure out how does the 'green' button connect with the 'case green'? Do I need to change the properties of the radio button?
    Attachments:
    Radio Buttons Control.vi ‏32 KB

    Just make the radio control a bit larger and drop in another boolean control (pick ANY!) from the palette. Repeat as needed.
    The radio button control automatically ensure that only the last clicked boolean is true. (see attached, LabVIEW 7.1)
    LabVIEW Champion . Do more with less code and in less time .
    Attachments:
    RadioButtonsControl2.vi ‏43 KB

  • Menu button works on pc but not on tablet and mobile

    Hi! I've made a desktop site and I've published it. Everything works on a pc browser but into tablet and mobile, there is a button on a menu that doesn't work..the link to the rest of the site doesn't start. Maybe because that link goes to a part of the site that is too heavy (the structure under that button goes to 30 different pages)?

    This is the url:
    http://www.babylove2000.com/
    If you try to visit the site by tablet or mobile, you cannot enter in the section 'MARCHI' trough the correspective button. The other buttons work correctly.
    Thanks,
    Marianna

  • Why do some radio buttons show in IE but not in Firefox?

    On some web sites a radio button or checkbox is available but Firefox does not show any outline or content for it. It can only be found by mousing over the screen and hoping that a text message such as "Click here to submit" shows up. In IE these buttons do show up in the normal way so it seems this is s problem with Firefox and not the particular web site.

    * "Clear the Cache": Tools > Options > Advanced > Network > Offline Storage (Cache): "Clear Now"
    * "Remove the Cookies" from sites that cause problems: Tools > Options > Privacy > Cookies: "Show Cookies"
    Start Firefox in [[Safe Mode]] to check if one of your add-ons is causing your problem (switch to the DEFAULT theme: Tools > Add-ons > Themes).
    See [[Troubleshooting extensions and themes]] and [[Troubleshooting plugins]]
    See also http://kb.mozillazine.org/Websites_look_wrong

  • Email Submit button works in Acrobat but not Reader

    I have a form with an email submit button.  When those who have Adobe Reader click on the Submit button, nothing happens.  For the users with Acrobat, the submit button works as designed. The users all have the latest version of Reader, Java and Flash.  When the Acrobat users click the button a box appears asking them to select Desktop or Internet email.  Once they make a selection, the form is sent.  When the Reader users click the button nothing happens.  I'm sure there must be a setting somewhere that I need to adjust.  Can you help me?

    Hi Susan,
    I appreciate we have meandered through this, but bear with us...
    Here is a screen shot of a regular button set up to return the completed form as a PDF.
    Now if you deploy this form WITHOUT Reader Enabling the form, then users with Reader will see this warning:
    However before you deploy the form open it in Acrobat and go to the Advanced menu (in version 9) and select "Extend features in Acrobat Reader" and save the form with an amended name. Then send this new "Reader extended" form out to the users with Reader and they will be able to return the completed PDF.
    Without seeing the actual form it is difficult to work out how the submit button is set up.
    Hope that helps,
    Niall

  • Nokia x3 help! menu button works for lock but not ...

    i have a new nokia x3, around 2 months old, after restarting the phone one time, the main button (the menu button) works for locking/unlocking and even makes the keytone sound when you press it, but i cant open up the menu, its really annoying because without the menu i cannot access the phone!
    i can still make calls/text messages, but i really want to fix this.
    thanks in advance

    just to clarify, the menu button works such as when i slide the phone closed, the 'lock' option appears, and the button works then, but when i unlock, i goes back to the usual 'menu' option which just doesnt work.
    i can use text/calls from the shortcut buttons such as left/down/right and some buttons work on in certain places, such as when the 'send' option appears for sending a text.
    i have tried to soft reset  using the code, before, and i have tried restarting it.
    none of them worked, does anyone have a solution, also does anyone know the hard reset code?
    thanks in advance.

  • Buttons work in Test but not online??? HELP!

    When i test my movie the buttons work fine they get the URL that i want but then when i upload it to my page it does not get the URL. Am i uploading it wrong??? I Uploaded the SWF to the Server and posted it that way is there more involved or did i do something wrong in the actual movie.
    PLEASE HELP!!!!
    LINK FOR THE FLA FILE:
    http://www.common-grind.com/movie/BIGGIVEPARTNERS.fla

    I don't know what/how you did it, but your file is exhibiting behavior that I have never seen before... it is animating and interactive in the editing mode.  I cannot look at anything on the stage because it reacts to trying to use a mouse to select anything... and the camel animates in a few places.  The only thing I can guess is that you are using one of the Tween graphics as the content, and those are usually generated to fill in faulty timeline tweening.
    What you may need to do is back up and start with adding each button one at a time on the main timeline  Don't worry about animating the camel at this stage, just get the buttons working properly.  I can't tell you how to change the code for the buttons because I can't find any of the code for them.

  • Javascript embedded in button pl/sql event handler not being executed

    Javascript calls not working from pl/sql button event handler. What am I missing? Are specific settings needed to execute javascript from pl/sql proceedures?
    Example: Want to toggle target='_blank' off and on in a button pl/sql event handler to open url call in new window & then reset when processing submit is done & the app returns to the form.
    portal form button's pl/sql submit handler:
    begin
    htp.p('<script language=JavaScript>') ;
    htp.p('this.form.target="_blank"') ;
    htp.p('</script>') ;
    PORTAL.wwa_app_module.set_target('http://www.oracle.com') ;
    htp.p('<script language=JavaScript>') ;
    htp.p('this.form.target="_blank"') ;
    htp.p('</script>') ;
    end ;
    Putting the following in the button's javascript on_click event handler works great:
    this.form.target='_blank'
    to force opening new window with a call in the button's submit pl/sql code via:
    PORTAL.wwa_app_module.set_target('http://www.oracle.com') ;
    but then the target='_blank' is left on when the submit is done & we return to the form.
    putting the above javascript as a function (called fcn_newpage) elsewhere (e.g., after form opens) & calling in the submit pl/sql with
    htp.p('fcn_newpage') ;
    also doesn't work.
    Metalink thought this was an application issue instead of a bug, so thought I'd see if anyone knows what's going wrong here. (Portal 9.0.4.1)

    thanks for your discussion of my post.
    Please clarify:
    "htp.p('fcn_newwindow') sends a string":
    What would you suggest the proper syntax for a function fcn_newwindow() call from a pl/sql javascript block that differs from
    htp.p('<script language="Javascript">') ;
    htp.p('fcn_newwindow');
    htp.p('</script>');
    or more simply
    htp.p('fcn_newwindow') ;
    More generally, what I'm trying to figure out is under what conditions javascript is executed, if ever, in the pl/sql of a button (either the submit or custom event handler, depending on the button).
    I've seen lots of posts asking how to do a simple htp.p('alert("THIS IS TROUBLE")') ; in a pl/sql event handler for a button on a form, but no description of how this can be done successfully.
    In addition to alerts, in my case, I'd like to call a javascript fcn from a pl/sql event handle that would pass a URL (e.g., http://www.oracle.com) where the javascript fcn executed
    window.open(URL). The API call to set_target(URL) in pl/sql has no ability to open in a new window, so calling that is inadequate to my needs and I must resort to javascript.
    Its clear in the PL/SQL of a button, you can effect form components since p_session..set_target & p_session.get_target set or get the contents of form components.
    So to see if javascript ever works, I tried to focus on something simple that only had to set what amounts to an enviromental variable when we returned to the form after a post. I chose to try to change the html value of TARGET from javascript in the PL/SQL button because it doesn't need to be implemented until we finish the post and return to the form.
    So I focused on a hack, setting this.form.TARGET='_blank' in the on_click event handler that forced every subsequent URL call or refresh of the form to be a new window. I then wanted to turn off opening new windows once I'd opened the URL call in a new window by setting TARGET='' in the portal form. I can achieve what I want by coding this.form.TARGET='' in the javascript (on_focus, on_change, or on_mousedown, ...) of every form component that might refresh the form. However, that is a ridiculous hack when a simple htp.p('<script>') ; htp.p('this.form.target=""') ; htp.p('</script>') ; at the end of the button's pl/sql event handle should do the same thing reliably if javascript ever works in the pl/sql event handler.
    If we didn't have access to form components through p_session calls, I'd assume it was a scope issue (what is available from the pl/sql event handler). But unless my syntax is just off, when, if ever, can javascript be used in a portal form's pl/sql event handler for a button?
    if I code a javascript funtion in the forms' pl/sql before displaying form:
    htp.p('<script language="JavaScript">') ;
    htp.p('function fcn_new_window(URL)') ;
    htp.p('window.open(URL)' ) ;
    htp.p('</script>') ;
    the function can be called from a button's on_click javascript event handler:
    fcn_new_window('http://www.oracle.com')
    but from the same button's pl/sql submit event handler this call doesn't work: htp.p('fcn_new_window("http://www.oracle.com")')
    So my questions remain: Is there other syntax I need, or does javascript ever work properly from the pl/sql of a form button's event handler? If it doesn't work, isn't this a bug that should be fixed by Oracle?
    I can probably figure out hacks to make things work the way I need, but executing javascript from pl/sql event handlers seems to be the expected way to affect portal html pages (forms, reports, ...) and it seems not to work as expected. I don't feel I should have to implement hacks for something as simple as calling a javascript function from pl/sql when almost every example I've found in metalink or the forums or Oracle Press's "portal bible" suggests using javascript from pl/sql via the utility htp.p() to effect web page components in portal.
    My TAR on the subject, while still open, returned the result basically: "We can reproduce your situation. Everything looks okay to us, but we can't explain how to use javascript where you want or point you to any documentation that would solve your problem or expain why it should not work the way you want it to. We don't feel its a technical issue. Why don't you post the problem on the portal applications forum."
    I'm hoping I'm just missing something fundamental and everything will work if I implement it a little differently. So if anyone sees my error, please let me know.
    by the way, not sure this is germain, but in reference to your comment:
    "redirections in pl/sql procedures give a peculiar result. in a pl/sql procedure, usually, portals give the last redirection statement and ignore anything else coming after it."
    if I try to raise an alert:
    htp.p('alert("you screwed up")');
    return;
    in a pl/sql event handler, it still doesn't raise the alert, even though its the last thing implemented in the event handler. But if I set the value of a text box using p_session..set_value_as_string() at the same spot, it correctly sets the text box value when I return to the form.

  • Interactive buttons working on Adobe Viewer but no on the final App

    Hi everyone,
    I got a lot of troubles with interactive buttons:
    I made buttons with link with "pageTo" and with "getURL" (and the syntax "navto://Article#2").
    What I already know:
    • when using the "navto" syntax, the first page is the 0 (and not the 1 page);
    • I double checked the Article's spelling and it's correct.
    the problem is that when I test the app with the Adobe Viewer on my iPad those links work well, but when I create the App and I test the .ipa file on my iPad those links don't work anymore.
    I'm working on Mac.
    anybody has any idea?
    thank you very much!

    thank you!
    I saw that one link is actually working and it refers "outside" to another article in the folio, while all the links that refer within the same article are not working.
    can you please confirm this or is this just a unpredictable behavior?
    I'm asking this because I have to choose a workaround to fix this.
    the options are:
    1.multistate objects to simulate the new pages;
    2.move all the pages in new articles so I can keep just links that refer to "outside";
    (I prefer the first solution because in this scenario I can't hide the pages frow the folio flow).
    thank you very much for your help!

Maybe you are looking for

  • Released Notification to Approver dumps when trying to display

    Hi Guys! We have in place N Step approval workflow and configured the system that approvers get a notification when the shopping cart is released. This works fine. But when the recipeints open their Inbox this notification is executable (What functio

  • Graph Annotations - Major Bug !!!!!

    I am using annotations on a NiGraph control(2D, single plot chart). I update the X and Y coordinates of specific annotations using m_Graph.Annotations.Item(item).Caption.SetCoordinates(... , ...) this is done around 3 times per second. Each call to S

  • Exporting Quicktimes from Premiere Pro

    When exporting video from Premiere pro, uncompressed or HD 1080i Quicktime settings crash my machine every time , any idea why? I'm trying to find the best export to give to a colleague working remotely on a mac using aftereffects

  • ICloud restoring outdated apps

    I have a bit of a problem here. I have a few apps that won't install from the app store with an iCloud restore because they are no longer in the app store. I didn't know iCloud restored apps fresh from online. So.. I synced the apps from iTunes after

  • I am unable to make few Recurring information element link as standard link

    I am unable to create standard element link for few information type element. These element is recurring. I am getting message like, this field is protected. But when I checked in system, there are few existing elements which have standard element li