LabVIEW 8.6 Tree Control Run-time Shortcut Menu in Executable

Has anybody else noticed that the options Open/Close All Items have disappeared from the shortcut runtime menu of a tree control when the application is built? I recently upgraded from 8.5 and those two options have disappeared from all of the tree controls in my application.  I tried customizing the menu and adding the options to the menu.  Now they appear but on some controls they are disabled and on the others where they don't appear disabled, they simply don't work. Everything works great in the development environment.
I built an executable of one of the LabVIEW tree control examples and the same thing happens. Is this a bug that has already been reported somewhere?
Thanks,
Erin
Attachments:
TestTree.zip ‏79 KB

Dear Erin,
I have been able to reproduce the issues you are reporting. I have opened a Corrective Action Request so our R&D Engineers can fix this issue in future versions of LabView. Thank you very much for your feedback. It will be of great help to enhance National Instruments products.
Greetings,
David
National Instruments
Message Edited by Support on 01-29-2009 11:54 AM

Similar Messages

  • Is it possible to preserve dynamic run-time shortcut menu updates for a control?

    Hello all,
    I have a question about getting control run-time shortcut menus to persist after adding new items.  I am hopeful that I'm simply missing something simple here.
    Known Information
    I understand the use of the "Shortcut Menu Activation?" event (for the control of interest) which provides the relevant control's menu reference for use with the menu VIs.  No problems there.
    Problem
    I start with a control which has an .rtm file assigned as its run-time shortcut menu.  
    I then generate new items dynamically using the event/menu mechanism noted above.  
    The problem is that there doesn't seem to be a way to *preserve* those newly added items (ie. I have to re-create the new items everytime the menu is *activated*).
    What I observe is that, unless I add all the items every time the right-click event occurs (in the "Shortcut Menu Activation?" event case), it defaults back to the original .rtm menu state.
    Question
    Does anyone know how to either:
    get dynamically added menu items to "stick"
    perhaps dynamically create (new) and load an .rtm for a *control*
    Thanks in advance for any thoughts.  I'm working in LabVIEW 8.6 for this particular project.
    VM

    Looking at the second post link, it seems like you are trying to populate 10,000+ shortcut items on the Shortcut Menu for the control. I'm guessing these are tiered, since I don't think all of them would fit on the screen. If they are tiered, have you tried populating only the top level short cuts, and then populating more as the user navigates down the tree?
    - Regards,
    Beutlich

  • Image Run-Time Shortcut Menu

    OK, more on the non-standard behavior of Image Controls (in LV 2009 SP1 at least)...
    Having had to deal with the fact that one cannot detect a user right click in an Image Control, I figured that maybe I could at least build my own shortcut menu (the one that pops up when you right-click on an object). Not such luck without loosing some functionalities.
    If you do so, you loose most items that are available by default at runtime (these are called the application items for any other controls):
    - Palette
    - Save Image...
    - Clear ROI
    - Zoom to Fit
    I could rebuild all these functionalities in my custom menu, but:
    1) why should I have to do that?
    2) why do the items above not appear when one opens the default run-time shortcut menu? They do appear at run-time!
    3) why do ALL other shortcut menu items available at edit time (some of which could be handy at run-time) not appear when one opens the default run-time shortcut menu?
    4) At run-time, none of the menu items listed above are returned in the event structure when polling the Shortcut Menu Selection events (either App or User). Why????
    Thanks for reading.

    VTHokie wrote:
    Hi Xavier,
    You can keep an eye out for CAR numbers in the known issues lists as they are published with software patches and releases, but especially in the bug fixes lists to see if a specific CAR has been remedied in that release.
    - Greg J
    Greg, neither of those lists contain references to issues within Vision Development Module... 
    If you are looking for a similar style list for Vision, the only location these are currently published is in the release notes for each release, such as here:
    http://ftp.ni.com/support/softlib/vision/Vision%20Development%20Module/2010/readme.html
    Also, I found reference to a VDM-specific known issues list here:
    http://zone.ni.com/devzone/cda/tut/p/id/11942
    Eric

  • How to call "Edit VISA resource" window from run-time shortcut menu

    Hope somebody is able to help me
    When editing my application I have "Edit VISA resource" menu item.
     You can see it on the first picture
    But when I turm on run-time shortcut menu and run the application I\d like to get same menu item directing me to VISA resource settings window.
    Is it possible or not?
    How can I call different MAX components programmatically? I can invoke MAX with ActiveX, but I can not find how can I invoke exactly "Edit VISA resource" window...
    Thanks to anybody for any help!
    Attachments:
    edit visa resource.png ‏63 KB
    no edit visa resource.png ‏60 KB

    comper wrote:
    Hope somebody is able to help me
    When editing my application I have "Edit VISA resource" menu item.
     You can see it on the first picture
    But when I turm on run-time shortcut menu and run the application I\d like to get same menu item directing me to VISA resource settings window.
    Is it possible or not?
    How can I call different MAX components programmatically? I can invoke MAX with ActiveX, but I can not find how can I invoke exactly "Edit VISA resource" window...
    Thanks to anybody for any help!
    Not sure it is a good idea to be editing VISA resources while the VI is running.  I'm not even sure it's "legal" which might explain why it isn't there.  If all you want to to is be able to change which equipment to talk to, maybe it's best to just to have a VISA resource control and have the user select from there, or maybe a ring control with pre-defined VISA resources.
    Bill
    (Mid-Level minion.)
    My support system ensures that I don't look totally incompetent.
    Proud to say that I've progressed beyond knowing just enough to be dangerous. I now know enough to know that I have no clue about anything at all.

  • Copy picture of graph to clipboard through run-time shortcut menu

    Hi,
    I have following problem. I would like to copy picture of graph to clipboard through graph “run-time shortcut menu”. It’s easy when I want copy exactly what I see. There is an Item Tag: APP_SC_COPY_DATA. That works nice. Try an example1.vi. (Run then right click on the graph...)
    But problem is when I want to change the graph appearance before copying (only change the colour of the graph to be more printer-friendly). I have created a subVi with copy of the graph with changed colour. But how to simulate for the graph inside the subVi same runtime shortcut event? How to call APP_SC_COPY_DATA of subVi graph from outside Vi?
    I hope I’ve explain it clear.
    If you have better method for clipboard copying tell me.
    ThanksMessage Edited by jochynator on 08-03-2006 11:48 AM
    jochynator
    LV 8.0.1, WinXP Pro
    Attachments:
    examples.zip ‏37 KB

    You should use GetImage Not ExportImage.
    I modified you VI.
    George Zou
    http://gtoolbox.yeah.net
    George Zou
    http://webspace.webring.com/people/og/gtoolbox
    Attachments:
    export.vi ‏14 KB

  • Check marks or dynamic items for run-time shortcut menus

    Labview version: 8.0
    I'd like to create a run-time shortcut menu for my Xcontrol, that would
    allow user to toggle between two states of the control. Is it possible
    to either
    1) dynamically apply check marks to run-time shortcut menus or
    2) dynamically modify the run-time shortcut menu content
    Tomi
    Tomi Maila

    Hi Tomi,
    Great question.  Yes, you can do what you want with run-time shortcut menus in LabVIEW 8.0.  If you want to dynamically modify the menu content, you have to do it in the "Shortcut Menu Activation?" event in the facade VI of the XControl.  In the event data for this event is a parameter called "MenuRef" which works with the same menu primitives that have been around since LabVIEW 5 for editing the menu bar at run-time. 
    With these primitives, you can add/delete/modify menu items to the shortcut menu.  The items that are already in the MenuRef when this event case executes are always the ones that are statically defined, either by LabVIEW or by customizing them.  You do not have control over the state of the items that LabVIEW adds, but you can remove them and add ones with the same text (just with a different tag).  In your case, you would probably want to use the Insert Menu Item primitive to add an item such as "Toggle State".  Give it a tag such as "USER_TOGGLE_STATE".  Then you'll want to use the Set Menu Item Info primitive to set the checkmark for that item based on the state of the XControl.
    Then, you'll need to add an event case for the "Shortcut Menu Selection (User)" event so you can handle the item being selected.  Wire the Item Tag parameter from the event data to a case structure and add a case to look for "USER_TOGGLE_STATE".  And in that case, toggle the state of your XControl.  That's all you need to do!
    The Dual Mode Thermomter shipping example in <LabVIEW 8.0>\examples\general\xcontrols\Dual Mode Thermometer\Simple Dual Mode Thermometer XControl.lvproj is a simple example of how you can modify the menu and respond to the items selected.  It's a little different than what you want to do, but it might help you to look at it.
    Good luck!  Let me know if you have questions.
    Robbie

  • Run-Time Shortcut Menus

    Hi,
         How can i create Run Time Shortcut menu
    with tick mark?. like here i am attached the file.
    Thanks in
    Advance.
    Sivaraj M S
    Sivaraj M.S
    CLD
    Attachments:
    bb7a9f541545.gif ‏11 KB

    Hi Siva,
    are you talking about the checkmark?
    Read the help for "Set Menu Item Info" function and you will notice the "checked" input
    Best regards,
    GerdW
    CLAD, using 2009SP1 + LV2011SP1 + LV2014SP1 on WinXP+Win7+cRIO
    Kudos are welcome

  • Question about Run-Time Shortcut Menus example

    I am looking at the Run-Time Shortcut Menus.vi that ships with LabVIEW2011. There is an event case "Test List":Mouse Down that does nothing but generate a Val(Sgnl) event for the "Test List" control if the right mouse button was pressed. There is no value change event for that control.
    Is there an obscure reason to do that? One thing I have learned about many of the examples is not to strictly use them as examples.
    =====================
    LabVIEW 2012
    Solved!
    Go to Solution.

    Nevermind - I found the obscure reason. Even though there is not a value change event, generating the value change event is required to change the value on right-click.
    At least NI could have documented this in the example
    =====================
    LabVIEW 2012

  • Install labview 6.1 (or compatible) run-time engine with labview 2011

    I have installed a trial period version of Labveiw 2011 in order to check for possible upgrade issues I may have if I decide to upgrade from labveiw 6.1. Well, needless to say there have been alot. That is as expected since I have not updated labview in many years. I am still not under any pressure to update; however, I would like to in order to get support and make sure I do not have any compatibility issues with new  equipment purchases. I have been able to resolve most of my compatibility issues with simple code fixes and such. However, twice now I have run into an error when launching labview executeables compiled by two different equipment manufacturers. The equipment I am using is not even old...maybe a year or so. When I launch the labview executables to control this equipment on a PC that has the trial period labview 2011 installed, I get an error message stating something like " This requires a Labview 6.1 (or compatible) run time engine." I have tried to download and install the 6.1 labivew engine but I can't install this engine on a PC which has labview 2011 installed. Can someone explain how I am to run these executables under labview 2011. I can't imagine these executables were developed using 6.1 since this equipment is not even a year old now.
    Solved!
    Go to Solution.

    Im not for sure I am on the same page with you here. Im not trying to develop any code myself. I have some labview executables that came with hardware we purchased in order to control it. We used to have labview 6.1 installed; so everything was working ok. But now that I have installed 2011, I get an error message when trying to run these executables. The error message states that this executable requires a labview 6.1 or compatible run-time engine. I have seen this error on both XP and Windows 7 machines. I did not develop the executable, it was developed by the hardware manufacturer. But since this hardware is only about 1 year old, I an assuming they used a newer version of Labview to develop this code. Certianly newer than 6.1.
    So I guess my question is..is there a way for me to get this executable to work on a PC that has labview 2011 installed. I have tried to install a labview 6.1 run time engine but it will not install. Any other options?

  • Application's run-time shortcut menus don't work on local drive.

    The run-time menus in my application don't work, unless I run the application from the location where it is built.  This project has an application build specification, and an installer build specification.  The installer specification, copies the app to the local drive.  But the run-time shortcut menus do not work when the app runs.  Nothing happens when I right click on the control.  However if I run the same app from the network drive, where the application build spec builds it, it runs fine.  When I have the application build spec build the app directly to the local drive, it works fine.  The exe, ini and aliase files are identical.  Why does this app run differently depending on which drive it's on?  How can I fix it so the run-time shortcut menus work on the target machine?  Any ideas?

    Hello, I believe that when you create a custom run-time menu it gets saved to a file.  My guess is that you are not including this file as part of the build specification for the application.  The file likely exists in the build directory but does not on the target directory which is why it no longer works.  If that does not fix the problem, let me know and I will see if I can figure something else out.
    Regards,
    Burt S

  • How to disable the run-time popup menu in the sequence display on TestStand Operator Interface, that allow the use to skip the test?

    How to disable the run-time popup menu in the sequence display on TestStand Operator Interface, that allow the use to skip the test?

    Hello,
                  Regarding the skip/force pass/force fail options, when I set the ControlExecFlow to True in Teststand 3.1 and 3.5, in the Sequence Editor the menu options for skip/force pass/force fail are not active for Technician but, when I launch the Operator Interface logged with Technician the options are active. The problem is that if the technician sets one step to one of these options, and change the user to Operator, the test step remains skip/force pass.
                  Is there any possibility without modifying the Operator Interface (at programming level), to reload default values of the steps when changing the user to Operator?
    Thank you,
    Best regards,
    paio

  • Custom Run Time Menu (.rtm) for a tree control doesn't appear in LV executable

    Hello,
    I am using a custom run time menu (.rtm) for a tree control in LV.  When I right click on the control the run time menu appears in the LV development environment.  However the run-time menu does not appear when run the executable installed by the installer I created.  I tried including the .rtm file with the installer, but it did not fix the problem.
    Please let me know if any ideas.
    Thanks,
    Russell

    This is a known issue and has been reported to our R&D engineers for further investigation (CAR# 3T2E57V2). The workaround is to embed the run-time menu in the control instead of the separate .rtm file. To do this, make a minor change in the shortcut menu (for instance, add a dummy item then delete it), so that the shortcut menu editor will ask you to save the new menu. When it prompts you, choose to save it with the control instead of to file.

  • Example: Universal Probe - LabVIEW Data to Tree Control

    The Universal Probe is a Custom Probe that can view any data, by populating a LabVIEW Tree control with the data. Its input type is a Variant, and it dynamically parses the data. The the "Using the Universal Probe" section, below, on how to use the Universal Probe to probe anything and everything.
    For a download and more info visit the Universal Probe page at OpenG.org

    This is one way of doing it. Basically start from the parent and for each parent add its children to a queue. Then go over all of them until the queue is empty. There's some cleanup to do, but it shows the basic concept.
    Try to take over the world!
    Attachments:
    tree_v2.vit ‏22 KB

  • How to debug  a run time error encountered while executing ZFunction Module

    Hi all,
    My requirement is to create a ZFunction Module that Generated a sales order
    for multiple line items and works for both Variant Configurable material and a Normal Material.
    I am using BAPI_SLSTRANSACT_CREATEMULTI in my Zfunction Module to create a
    Sales order
    My ZFunction Module works well if I give normal material as input.
    It also works well and generates a sales order if I give all Variant Configurable materials as input.
    But if I give both Variant Configurable material and a normal material it throws a run time error.
    Can some one tell me what is wrong? can some one suggest me how to debug this run time error
    Termination occurred in the ABAP program "SAPLCRM_CONFIG_OW" - in                            
    "CONFIG_TO_CBASE".                                                                          
    The main program was "RS_TESTFRAME_CALL ".                                                                               
    In the source code you have the termination point in line 63
    of the (Include) program "LCRM_CONFIG_OWF02".                                                
    Source Code Extract                                                                               
    Line SourceCde                                                                               
    |   33|                                       LT_CUXI_CUPRT                                       
    |   34|                                       LT_CUXI_CUVAL                                       
    |   35|                                       LT_CUXI_CUVK                                        
    |   36|                                       LS_CUXI_CUCFG.                                      
    37
    |   38|  PERFORM CREATE_PRICING_CSTIC USING IS_CONFIG-CUCFG-CFGINFO.                              
    39
    |   40|* set config to cbase                                                                      
    |   41|  CALL FUNCTION 'COM_CUXI_SET_SINGLE_CFG'                                                  
    |   42|       EXPORTING                                                                           
    |   43|            I_CFG_HEADER          = LS_CUXI_CUCFG                                          
    |   44|            I_ROOT_INSTANCE       = CV_INT_OBJ_NO                                          
    |   45|            I_LOGSYS              = LV_LOGSYS                                              
    |   46|       IMPORTING                                                                           
    |   47|            E_ROOT_INSTANCE       = CV_INT_OBJ_NO                                          
    |   48|       TABLES                                                                               
    |   49|            I_TAB_INSTANCES       = LT_CUXI_CUINS                                          
    |   50|            I_TAB_PART_OF         = LT_CUXI_CUPRT                                          
    |   51|            I_TAB_VALUES          = LT_CUXI_CUVAL                                          
    |   52|            I_TAB_VAR_KEYS        = LT_CUXI_CUVK                                           
    |   53|            I_TAB_RESTRICTIONS    = LT_CUXI_CURES                                          
    |   54|       EXCEPTIONS                                                                          
    |   55|            INVALID_INSTANCE      = 1                                                      
    |   56|            INTERNAL_ERROR        = 2                                                     
    57
    OTHERS                = 3.                                                        58
    |   59|  IF SY-SUBRC <> 0.                                                        
    |   60|    if sy-msgno is initial.                                                      
    |   61|      MESSAGE X010 WITH 'COM_CUXI_SET_SINGLE_CFG'.
    |   62|    else.                                                                             
    |>>>>>|      MESSAGE ID SY-MSGID TYPE 'X' NUMBER SY-MSGNO
    |   64|              WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    |   65|    endif.                                                                               
    |   66|  ENDIF.                                                                               
    67
    |   68|ENDFORM.                               " CONFIG_TO_CBASE                                   

    Hey Amit...
    Can I Create a Sales order for VC and Non VC items using BAPI_SLSTRANSACT_CREATEMULTI
    Is it a limitation for BAPI_SLSTRANSACT_CREATEMULTI
    I am trying to create a Sales Order using a Zprogram. I have used BAPI_SLSTRANSACT_CREATEMULTI. If I give the input as Normal material I am able to generate a sale order. If I give the input as VC material I am able to generate a sales order. But if I give both VC and Normal material as input, I get a run time error as follows.
    Is it a limitation for BAPI_SLSTRANSACT_CREATEMULTI that we cannot create a sales order with both VC and Non-VC items or am I missing some data which I need to pass when I give both VC and Non VC items? I get this error only for my Zprogram. But if I try to create an order on screen manually I donu2019t get any error. This happens only if I create an order with my Zprogram.
    Some one please help me u2026I am just stuggling to get this doneu2026
    I dint find any posts that gives me information about this error.
    CUX1 034 u201CNo root instance found in header datau201D                                                                               
    In the source code you have the termination point in line 63                                   of the (Include) program "LCRM_CONFIG_OWF02".

  • Run time error (short dump) executing program SCAN_BW_REFERENCES in SE80

    Hi experts,
    I am not an ABAPer, or Basis person, rather a hybrid functional/technical Key User for our Business Warehouse system (BW 3.5, Netweaver 2004).  We have a user who cannot save BW reports to his favorites and he is getting a number of error messages.  OSS note 887002 seems to address this and indicates that I should run program SCAN_BW_REFERENCES from transaction SE80.  The program is supposed to perform the checks for BW objects assigned to the Favorites and identify situations causing terminations in BW frontend applications.  I have attempted to execute this program on several occassions and always get run-time errors (short dumps).  Here is the error:
    Runtime Errors         TSV_TNEW_PAGE_ALLOC_FAILED
    Date and Time          2008.09.17 19:00:49
    ShrtText
         No storage space available for extending an internal table.
    What happened?
         You attempted to extend an internal table, but the required space was
         not available.
    I have been informed by our Basis group that I have reached a memory limit, but they will not extend the memory paramters.  Any ideas on a work-a-round or a way to minimize the number of records this program is pulling in, in an attempt to get it to run?
    Thanks,
    HC

    Hi,
    The only response I got from Basis was that they would not extend the memory parameters because they are for all users in the system.  Not sure what that means. 
    The full dump is too large to paste here.  I think what I will do is to see if our ABAPers can create a modified version of this program to include selection by user.  Typically it is for only one user that I need to run the program, and that surely would fall within the space requirements.
    Thanks for your answer.
    //HC

Maybe you are looking for

  • Please describe thread library selection algorithm for Linux JRE (1.4.2)

    Hello: While observing strace output I can see certain libraries releated to threading (i.e. /lib/libc, /lib/i686/libc, /lib/tls/libc) being utilized (open or loaded). Question: Can someome quantify it wrt the following 'resources' 1). LD_ASSUME_KERN

  • Getting ORA-01031: Insufficient privileges when connecting as sys as sysdba

    Hi There, I am running Linux AS version 4, oracle 102.0.1, and logginging as oracle user which belongs to dba group. I got error "ORA-01031: Insufficient privileges" when trying to connect as sys user to bring up database. I wondered what is causing

  • DAO Logon failed error

    In one of our clientu2019s machine they are getting a logon failed error u201CCannot open a database created with a previous version of your application.u201D Our report is connecting to multiple tables created in Access 97 password protected databas

  • Modifying the Inspector in Logic 8

    It appears the default in Logic 8 is to have 2 faders always showing in the Inspector in the arrange page. Is there a setting for only one fader to be showing?

  • Browser's helpful URL address bar is not actually ...

    In context to S60's default browser. When you start browser, it takes you to deafult Bookmarks page with URL address bar at the bottom of the screen. And there is pretyped URL http://www. to make life easier where we can starting typing main part of