Is it possible to add a single Entry Point menu item to a LabVIEW OI menu?

Using the "TestStand - Insert Commands in Menu (Application Manager).vi" library VI, I can add all Configure menu items to a menu with the "CommandKind_ConfigurationEntryPoints_Set" option for the "Commands" input.  But the VI is missing an "Index" input to specify a single item from the collection.  (UnlikeThe "AplicationMgr.ConnectCommand()" function, which allows you to specify a single item with an index.)
The issue is the same for Execution Entry Points and Tools as it is for Configuration Entry Point--I can create a menu containing the entire collection, but not a single item.  I tried to delve into the VI to change it to allow specification of individual commands using an index using the Commands.Insert() function instead of the Commands.InsertKind() function, but without success.
As an aside, even when I add all Tools to a menu (using CommandKind_Tools_Set), TestStand exits with a warning that 12 "RunTimeMenuItem" objects were not released.  I'm wondering if I should be using the Engine.GetRunTimeToolMenuItems interface instead.  But if that's the case, I think I have to build the menu myself and can't use the TestStand library VIs to automatically run commands when their corresponding menu items are selected.  Maybe this is just a bug in the TestStand VIs?
I am using TestStand 2010 SP1 with LabVIEW 2014.
Any advice would be appreciated.  Thanks.
-Jeff

I am closing the TestStand Engine, VI Refnum, Quit Application event, and Event Callback, just like in the example.  I get the TestStand unreleased reference error only if I call that VI to include the Tools menu.  The fact that the unreleased objects are "RunTimeMenuItem" objects also implies to me that the problem is specific to the Tools menu items.  Since Tools menus seem to have their own API (which involves RunTimeMenuItems), it seems to me that the VI (or the TestStand Engine?) is doing something with RunTimeMenuItems that I can't see, and is somehow losing track of them (because that VI gives me no visibility to any RunTimeMenuItem objects).  Is it possible that one should explicitly use RunTimeMenuItem objects instead of the menu VI when dealing with Tools menus?  (Maybe the error is due to my using TestStand 2010 SP1 on Windows 8.1, for which TestStand 2010 SP1 is not officially supported?)

Similar Messages

  • Is it possible to add a single file to the Favorites list in a finder window?

    I can add a folder, OK, but can't figure out how to add a single file to the favorites list. Is there a way?

    Never mind, I just found the answer in another post: hold down the command key

  • Is it possible to add a single table to existing CDC setup ?

    We have Asynchronous Change Data Capture setup.
    Database A : Source Database
    Database B : Staging Database
    Redo Log shipping is b/w A --> B and Capture/Apply is running on B.
    Total 32 tables outof 300 are part of these CDC setup. I'm wondering if we can add a table to existing setup, As per the documentation, We can't user streams API to add a table in capture/apply, and CDC doesn't have its owe API. So is there really no way except to rebuild entire setup?
    Thank you,
    Mahesh

    You need to follow steps below:
    1. @destination database : stop capture process
    2. @source database add supplemental logging for new tables
    3. @source database :prepares table instantiation (exec DBMS_CAPTURE_ADM.PREPARE_TABLE_INSTANTIATION(table_name => 'owner.table_name');)
    4. @destination database :create change table for additional tables
    5. @destination database: drop subscriber
    6. @destination database: start capture process ,create subscriber,recreate subscriber views and then activate subscriber then extend window
    All steps are action plan that I have done in my CDC system.
    Good luck!
    Chaiya Rakdee

  • Possible to add cue points to a FLV recorded by webcam?

    Hello,
    I am wondering if it is possible to add/inject a cue point to an FLV server-side that has been recorded/published from a users webcam using FMS3.5.
    Thank you

    Sure, you can do that on the server side. Assume you have a stream named foo that is recording, you can do something like:
    var s = Stream.get("foo");
    s.send("myCuepointFunction", var1, var2, var3);
    When played back, the client side function "myCuepointFunction" will be invoked on the stream's client property (or, in AS2, you'd need a function on the netstream object named myCuepointFunction).

  • Run test uut entry point only once

    Hi,
    I want to avoid that users can run test uuts entry point more than once. I use an operator interface written in CVI 7.1.1 and netry point button is deactivated when run state changes. But after loading the application sometimes is too slow so the user can press this button twice before it is deactivated.
    So is there any possibility to avoid running this entry point more than one time?
    Regards
    Steffen

    Steffen,
    Thank you so much for the help.  You recommendations worked perfectly.  Both of us implemented more or less the same behavior in our operator interfaces, although we used slightly different methods.  Here is what I did:
    I established a count variable in my operator interface that is initially set to 0.  Each time the Test UUTs or Single Pass button is pressed, I increment the count by 1.  I determine that the Test UUTs or Single Pass button is pressed by registering for and handling the Application Manager PreCommandExecute event.  In my callback for this event, I examine the returned Command and look at its EntryPointIndex property to see if the index is 0 (Test UUTs) or 1 (Single Pass).  If it is, I increment the count variable count by 1.  If the index is not 0 or 1, I do nothing.  Once execution has stopped, I reset the count variable back to 0.  I do this by registering for and handling the ExecutionView Manager RunStateChanged event (as you recommended).  In my callback for this event, I examine the returned newRunState to see if it stopped (numerical value of 3).  If it is, I set the value of the count variable back to 0.  If it isn't stopped, I do nothing.
    This method is basically the same as the one you propose.  This method allows you to use the built in TestStand buttons instead of having to use those found in your development environment.  The only drawback is that they don't disable and gray out during execution; they just do nothing when an execution is in progress and the operator presses them.

  • Calling a Configuration Entry Point from a C# code module

    Hi,
    Is it possible to call a configuration entry point from a C# code module?
    I have a custom process model which creates some configuration entry points.
    One of the entry points, calls a C# method in a code module to display a Startup screen for the operator.
    In an Editor User Interface, I have added a toolbar, now I want to execute the previous entry point initiated from my C# code to get the Startup screen again when a button is clicked on the toolbar.
    Best regards

    Hi James,
    Thanks for your suggestion, but unfortunely the code hangs after executing the entrypoint, if have tried it in two ways, but both have the same result. Do you have any idea how to fix this.
    Trial 1:
      Engine engine = new Engine(); ApplicationMgr applicationMgr = (ApplicationMgr)engine.GetInternalOption(InternalOptions.InternalOption_ApplicationManager);EntryPoints entryPoints = applicationMgr.ConfigurationEntryPoints; int intIndex = 0;foreach (EntryPoint entryPoint in entryPoints) {    switch (entryPoint.Name.ToUpper())    {        case "TOGGLE ONLINE <-> OFFLINE":            object objEditArgs = System.Type.Missing;           entryPoint.Run(objEditArgs); // Application hangs after executing this command, the entrypoint does not execute!             break;        default:            break;     }
         intIndex++;
    Trial 2:
      Engine engine = new Engine(); ApplicationMgr applicationMgr = (ApplicationMgr)engine.GetInternalOption(InternalOptions.InternalOption_ApplicationManager);EntryPoints entryPoints = applicationMgr.ConfigurationEntryPoints; int intIndex = 0;foreach (EntryPoint entryPoint in entryPoints) {    switch (entryPoint.Name.ToUpper())    {
            case "TOGGLE ONLINE <-> OFFLINE":           // Application hangs after executing next command, the entrypoint does not execute!           applicationMgr.GetCommand(CommandKinds.CommandKind_ConfigurationEntryPoints_Set, intIndex).Execute(true);              break;        default:            break;     }
         intIndex++;
    Best regards

  • Changing Entry point programmatically

    Hai,
    Is it possible to change the attributes "Entry Point" of a role through codes.
    We have a requirement in which during night time some of the roles attached to the user should be shown. So I thought if if change the "Entry Point" of the roles to no then the contents of the roles will not be shown. Whether this approach will work or is there anyother way to do this.
    Please let me know.
    Thank & Regards,
    H.K.Hayath Basha.

    Hi,
    Check out the following blogs for assigning and unassigning roles dynamically:
    <a href="https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/3365">Restricting usage of iViews and Pages</a>
    <a href="https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/4164">Dynamic portal role assignment</a>
    Best regards,
    Avishai Zamir

  • Adding DA Entry Point: firewall requirements?

    Hi,
    When adding a new DA Entry Point, getting error:
    "A connection cannot be established to server <New_DA_Server.domain.com>.  Check that the server is available, the Remote Access role is installed, and that you have permissions to access the server".
    The RA role is installed, and the domain user account is a local admin on the new DA server.  However, internal firewall restricts file share (SMB) access between the existing and new DA server.  We're changing this as I type, but are there any
    other firewall port requirements to add a new entry point?  This http://goo.gl/jBlVxZ nor any other Technet page mentions inter-Entry Point firewall requirements.
    Many thanks,

    Hi There - I am not aware of any specific firewall requirements between the sites and i am not entirely convinced that SMB is the culprit. However, as an aside thought, have you ran the DA Wizard as Right Click Run As Administrator (sorry about that !) as
    I have seen issues where just clicking normally prevents a few configurations from running.
    Also I have seen several instances where firewalls were just not playing nicely for many reasons and I have used PowerShell Commands instead of the GUI which worked even when the GUI wouldn't. 
    http://technet.microsoft.com/en-us/library/jj134167.aspx#BKMK_PSstep9 for deploying Multi-Site using PowerShell
    Kr
    John Davies

  • Is it possible to add subitems into one entry in buttonchoice?

    Dear All,
    Is it possible to add entries in button choice as following?
    That is, add one line "Process Route Template" in the Button Choice "Additional Functions", then add three sub-items under this entry.
    Can anyone help on this? Thanks.
    Peter Peng

    Hi Peter,
    It is not possible to have sub-items inside the button choice action items.
    To achieve your requirement for MENU BAR ui element, in which you can add as many as sub-menu and menu action items.
    Hope this helps you.
    Regards,
    Rama

  • How to add A single row at the middle of the table in a Webi report

    Hi,
         I created a Webi report using Universe(Created universe using bex query).Now i have a requirement to display a row at the middle of a report. Can you please tell me ,how to add a sigle row at the middle of a Webi report.
                                                    Thanks in advance
    Regards
    Monika

    Hi Monika,
    It is not really possible to add a row (I assume you mean of unrelated data) to the middle of a table in a report. You can add a new table with a single row between two tables. For instance you could add a new one row table, or even single cells which are positioned relatively between two tables. Possibly a block on top of another. But this gets tricky.
    Can you explain in more detail what you are trying to do?
    Thanks

  • Is there a way to add a single jar to an existing shared library (war)?

    Hello,
    Is there a way to add a single jar to an existing and already deployed shared library (war) in weblogic directly?
    Basically, instead of building and deploying the war each time a new jar should be added to the list of jars present in the war and deploy it in weblogic, is it possible to make the process more automatic and efficient by just adding the new jar to the existing deployed war (no matter if the consumers must be reloaded)?

    Extract the WAR file and rearchive with theJAR file included.

  • Is it possible to add value item and non stock item in one billing?

    Is it possible to add value item and non stock item in one billing?

    Hi,
    Yes,it is possible .Take example of service scenario,where material used in servicing and service charges(labour) can be billed in single invoice.
    Billing document type,Customer and other header data should be same.
    Reward points if useful
    Regards,
    Amrish Purohit

  • Is it possible to add more input values for a payroll element?

    Hi All
    I have created an element with 1 default input value 'pay value' and another input value '1xx1'. I have linked this to payroll and attached to many employees. Now due to business requirment, I need to add one more input value '2yy2' and also I need to change the formula. Eventhough its a minor change in formula, without a new input value it will not work. I tried to add a new one by datetracking to the element creation date without sucess.
    Is it possible to add input values after saving an element?
    Regards
    Rahman

    You can Change the Required Input Value to Not-required
    Alter the Sequence of the Input Value to be displayed in the Element Entry Screen
    You can Change the Input Value Validation Rule minimum, Maximum, Lookup and Formula
    Change your specification of which input values create Database Items. Note, however, you cannot remove Database Items if they are used in any formulas or QuickPaint reports.
    You cannot remove existing input values or add new one if you have created any entries for the element
    For more details you can refer http://ramesh-oraclehrms.blogspot.com/2007/08/maintaining-element.html

  • Is it possible to add a barcode image generator API on HTMLDB that support

    Hi All,
    Currently we create Barcodes images using a Java solution - open source API called Barbeque.barcode.servlet. Is it possible to add a barcode image generator API on HTMLDB that support multiple formats?
    Our current process:
    All jobs created in our system require a barcode which is then printed onto a cover sheet for each job (refer example). We also currently have individual barcodes printed on a single feed barcode printer for attaching to jobs sheets. We also print A4 sheets of barcodes with the Field Technican id number on that we sent out to them.
    Thanks in advacne
    Manoj

    It certainly is possible to call Java from PL/SQL and so therefore from APEX.
    The process is fairly well documented online and there's a well cited example of calling Apache FOP within these forums.
    You may however need to do a little work to wrap your Java library using static methods in order to do this.
    Regards
    Ben

  • Can you add a single app subscription to Existing Cloud for Teams for new team member?

    Is it possible to add single app subscriptions to an existing CC Team Acct? I have a team member that needs an Adobe Acrobat IX Pro subscription and would like to manage it from my CC Teams management tools.

    Indeed!
    The trouble I have is that I CANNOT allow this user to have the full suite. I am implementing software inside of a cGMP manufacturing facility (nutritional supplements). Part of our "label artwork" change control is the fact that not only are critical files locked, but also no-one in the company can edit the files even if they copied them to desktop.
    I can't allow a project manager, or executive, or admin assistant the same software capacity to edit critical files as the art dept, in the event that their changes might slip through to production.
    Now granted, I could create literal policies to compensate for this situation, but does an admin person really need Premier Pro and AfterEffects? Nope, not really. I could see an argument in favor of the document production tools, but the web and video tools are complete overkill.
    I had been hoping to implement a series of Acrobat Pro suites, to enable an easy form of document signing. I didn't want to implement any form of server based signature authentication, since our process is wholly internal and not subject to serious security concerns.  I've been forced to shelve the project for now while I investigate more options, which means adobe missed out on some sales.
    Hopefully, Creative Teams will be expanded to have more flexibility as Adobe matures their product offering.

Maybe you are looking for

  • Animated gifs -- broken feature; locked topic

    Hey -- what gives? Why is the main discussion in this forum of Mail's baffling inability to send an animated gif file been locked, with no further replies allowed? Is Apple so embarrassed at the absurdity of this simple feature being broken for so lo

  • Null pointer Exception with removeRowWithKey operation

    Hii experts,,, I am using JDevelepor 11.1.2.1.0 Version I Am new in ADF , In My sample application i select row in iterator by findIterator() method then get the specified row by getCurrentRow(); then i get the rowKey By row.getKey() method.. I put r

  • DB start & Stop With Multiple Homes

    I have four instances on my box in total. Two instances(orcl & prod) run on a file system, One instance (+Asm) is ASM storage and the last instance(test) uses the asm storage. Following are the contents of my oratab file in /etc/oratab orcl:/u01/orac

  • CS5.5 will not open...

    So I just re-installed CS5.5 on my computers, (clean install, I used Adobe Creative Suite Cleaner Tool to remove any previous versions) and every other Adobe application opens except for Adobe Flash Professional, Adobe Flash Builder and Adobe Flash C

  • Windows Phone Notification Banner display too short

    So, searched and searched and didn't find anything with the basic keywords directly from the phone.  Amazing that this is not being asked and it being such a basic NEED. I get a TXT message.. any message, pick up the phone to see what is going on and