Kind of expression for enabling configuration entry point

I need to enable a configuration entry point not only with the "classic" 'CurrentUserHasPrivilege()' (of Engine obj) expression but also if a certain callback is present in the model client file.
I try to use RunState, ThisContext and Execution objects but without results.
Any suggestion?
Many thanks
Luigi Magni (System Engineer - CTA)

Hi LuigiM,
I set the enabled expression to the following:
PropertyExists("RunState.InitialSelection.SelectedFile.Data.Seq[\"MySequence\"]")
To one of the Configure Entry Point callback sequence in the process model e.g. the Configure Report Option.
As you can see, the Report option will only be enabled if there is a sequence call 'MySequence' in the the active sequencefile.
This seems to work quite well.
The RunState.ProcessModelClient only appears to be available once the SequenceFile is executing.
Hope this helps
Regards
Ray Farmer
Regards
Ray Farmer

Similar Messages

  • How to enable keyboard shortcuts for configuration entry point?

    Hello All,
        In my process model, I have a configuration entry point sequence (sequence). I can able to select the corresponding entry from the menu bar ie. configure --> options (for eg). Now I need to have a keyboard shortcut for the same. In my case if I press (for eg) ctrl+w, the configuration entry point sequence must be called.
    Note - I have to do this using .NET programmatically.
    Is there any way I can incorporate this mechanism...?
    Thanks
    Arun

    Hello Arun,
    At this time there is not anyway to customize the keyboard shortcut keys for menu items you add to the TestStand sequence editor.  R&D is looking into implementing this in a future version of TestStand.  I'll pass along your feedback to them, and let them know there are others interrested in this feature.
    Kristen
    National Instruments

  • Doubt in configuring entry points for iviews

    Hi, I have followed the steps of the help about configuring entry points for iviews:
    1.-> in the pcd I have created a folder to store iviews for WPC.
    2.->I have gived read permission.
    3.->I have desactivated the hide root folder check por pcd repository.
    4.->I have created a folder in km.
    I am loosing in the step "Create a entry point for the folder that you created in step x".
    How link the pcd folder that store the iviews with the km folder?
    when I try to create a entry point I only can see km folders, How can I choose my pcd folder?
    Thanks.
    Regards.

    Try this:
    Procedure
    1. Choose System Administration → System Configuration → Knowledge Management → Content Management → User Interface → Mapping → Component.
    2. Edit the wpcDragExplorerEntryPoints configuration object.
    Use the following parameters:
    <u>Parameter: Description</u>
    displaymode:Specify <i>select</i>
    maxproviderprio: Highest priority number that standard entry points can have and still be displayed in the Web content browser
    entriesperrow: Number of entry points displayed in each row (default: 5)
    entrypointsprefix: Prefix of the entry point repository: If you specify a value for this parameter, standard KM entry points are also displayed in the Web content browser.
    Default: /entrypoints
    sharedcontent: Semicolon-separated list of paths to be displayed as global entry points for shared content
    Examples of parameter values (for sharedcontent param):
    displaymode=select,maxproviderprio=30,entriesperrow=5,entrypointsprefix=/entrypoints,sharedcontent=/wpccontent/Cross-Site Content;<b>/pcd</b>

  • Pass Parameter To Configuration Entry Point

    In TestStand 2010 I have added a configuration entry point to select a configuration file. (Configure\Select Config File). I'm displaying a LabVIEW GUI which basically prompts the user to select a file. The file path needs to be stored in "FilePath" variable in TestStand.
    Problem statement:
    1. I'm trying to modularize this configuration entry point. Hence, I would write to "Parameters.FilePath" variable of configuration entry point stored in process model. This variable would be of "pass by reference" type and should eventually update the caller sequence.
    However, I don't know how to pass the value from "Parameters.FilePath" to the caller sequence. I'm currently updating the station global variable directly which I think is not the correct method if I think of modularity.
    2. I want the configuration entry point that was created ("Select Config File") to be enabled only when testing has not started (I'm just using single pass for my project).
    Which variable in TestStand would tell me if the execution entry point "Single Pass" is called or not?

    hi bce,
    [ If I used a station global, how would my changes be saved? Can you do this programmatically? Is there a better way? ]
    When Teststand closes, it automatically saves the StationGlobals. You would use PropertyObjectFile.SaveFileIfModified if you needed to force the save. But you shouldn't really need to do this as the latest value is available to all sequences and sequence files.
    Regards
    Ray Farmer
    Regards
    Ray Farmer

  • Sub-menus Configuration Entry Point

    From the configure Menu in Teststand, I want to generate a pop-up or a sub-menu whereby a user can input a time that would be read in by Teststand
    sequence.  Is this possible?  By default, I want the time to be set to 8:00AM, in case of the user not making any selection.  How can I go about doing this? I was told that this may be possible via Configuration Entry points in the Sequential Model.  Can some experienced forum members shed some light on this matter?

    Would they need to set it during every execution?  if so then it makes sense to override the Process Setup Callback.
    Otherwise, it sounds like you would need to store this to disk somehow.  I wrote an example:
    http://forums.ni.com/t5/NI-TestStand/Saving-User-Config-file/m-p/1723094#M34630
    I hope you find it helpful.
    Regards,
    jigg
    CTA, CLA
    teststandhelp.com
    ~Will work for kudos and/or BBQ~

  • 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

  • Pass data from configuration entry point

    I have a need to post data from a Configuration Entry Point during a Test UUTs execution. I would like to update a parameter in my test sequence, using the configuration entrypoint if the test sequence is actively running in Test UUts. If it's not active, I would update a .ini file which gets read by the process model when a new Test UUTs entrypoint is started.
    My first guess has been to determine if the TestUUTs sequence is active, and I have tried using the PropertyObject RunState.ProcessModelClient.IsExecuting, but I just realized the Configuration Entry Point is always running in the process model.
    Everything I have read indicates that most Configuration Entry Points just write data to a file. Am I doing something fundamentally wrong?
    How do i determine if my sequence file is being executed with TestUUts?
    Thanks for your help. Woefully confused,
    Brian

    hi bce,
    [ If I used a station global, how would my changes be saved? Can you do this programmatically? Is there a better way? ]
    When Teststand closes, it automatically saves the StationGlobals. You would use PropertyObjectFile.SaveFileIfModified if you needed to force the save. But you shouldn't really need to do this as the latest value is available to all sequences and sequence files.
    Regards
    Ray Farmer
    Regards
    Ray Farmer

  • GetCommand does not return my configuration entry points?

    If I'm in a client sequence file and I want to dynamically execute my own configuration entry point in the process model what is the best way to accomplish that?
    I am trying to get the application manager through an activex step using Engine.GetInternalOption(InternalOption_ApplicationmManager) and then I choose the GetCommand method with CommandKind_ConfigurationEntryPoints_Set.  It will only use an index for one of the 3 default configuration entry points (Report Options, Model Options or Database Options).  It throws an index out of range if I try to get my own.  This is from James Grey's post here: http://forums.ni.com/t5/NI-TestStand/Calling-a-Configuration-Entry-Point-from-a-C-code-module/td-p/1... (I'm not in .NET though.  I just want to use activex steps in TS).  The 3 default ones work perfectly.  It's only when I try my own that I've added.
    Any thoughts?
    jigg
    CTA, CLA
    teststandhelp.com
    ~Will work for kudos and/or BBQ~
    Solved!
    Go to Solution.

    I can call it directly as well but it doesn't exhibit the behavior I want.
    Basically we have a process model with a Configuration Entry point called About Test.  This calls a sub sequence which has 2 steps in it. The first step is a callback and the second is a VI call.  The VI displays a splash screen with our company logo, disclosure and the text (usually a software part number) returned by the callback.
    What I want to do is put the SequenceFileLoad callback in our clients and have a step in there that will invoke the About Test entry point upon sequence load.
    The series would look like this:
    SequenceFileLoad(client)>>About Test Configuration Entry Point(model)>>SubSequence(model)>>About Test Model Callback (client)>>VI Splash Screen(model)
    All of this would be a lot easier with a (ProcessModelFileLoad): http://forums.ni.com/t5/NI-TestStand-Idea-Exchange/ProcessModelFileLoad-Engine-Callback/idi-p/225016...
    So back to my point about it not working correctly.  It doesn't seem to be invoking the model callback when I use New Execution or call the sequence directly.
    Also, what is the explanation for my config entry points not showing up at all in the list?  it seems that function should grab all config entry points in the model..... 
    Thanks a bunch,
    jigg
    CTA, CLA
    teststandhelp.com
    ~Will work for kudos and/or BBQ~

  • Why are there no BMC discounts on qualifying pieces for 2 ASF entry points?

    I've had no luck whatsoever trying to log a case for support, I can't navigate the already cumbersome SAP Support Portal without getting errors so I thought I would try the forums... this is my first post:
    I have a Standard Automated Letter (rate category regular) Presort, there is nothing unusual about its setup but the results seem to be incorrect: some pieces aren't getting appropriate DBMC discounts.
    About the presort job and the output results:
    u2022 contains all possible BMC & ASF entry points
    u2022 output for all entry points look good EXCEPT for 2 ASFs: ASF-BUFFALO and ASF-OKLAHOMA CITY
    u2022 the Postage Statement shows that all pieces that qualify for those 2 ASFs are not getting the DBMC discount (Entry Rate="None" for those pieces), although based on the ZIP ranges they appear to qualify for the discount
    u2022 I double checked each of these 2 ASFs on USPS's FAST site to verify the ZIP ranges
    other details:
    u2022 currently using Presort Views 7.90c, Revision 3 (with Engine Revision 4)
    u2022 each entry point not getting the discount has 1 Mixed AADC tray (I posted AP.Ctn_Level to the output files for ease of finding this out), however I'm not sure why this would affect any discounts
    u2022 if Mixed AADC trays ARE what's causing the discount to not apply then I believe Presort is not processing these pieces correctly
    As a test to see if the output would be different I changed a setting that I've never had to change before: I reran the presort with the ENTRY POINT TYPE changed (for only the 2 ASFs in question) from ASF to BMC-- the resulting Postage Statement shows almost all pieces in these ASFs (except 34 Mixed AADC pieces in ASF-BUFFALO) are now getting the DBMC discount! This may serve as some sort of workaround but I don't believe the results are 100% correct, the Entry Point Type for ASFs should be set to ASF otherwise the information in the Mail.dat files may cause a problem.
    A couple more things to note just in case they affect anything: the presort is using a Basic Service IMB, and the scheme that these ASFs are qualifying under is Letter Trays on Pallets.
    Is the output from Presort actually incorrect, or is there a setting (something that won't affect the other entry points) that can to be changed so the output will be correct?

    Roy,
    We are aware of an issue with relabing BMC pallets to get the correct discounts in 7.90.  There are some work arounds for this until it is corrected in the software.  In order to give you the best work around for your job please open a support case.  Below are the steps to create a message for support.
    To log a case go to the SAP Service Market Place
    1. Go to http://service.sap.com.
    2. Click on SAP Support Portal.
    3. Enter your S-User ID and password and click u201COKu201D.
    4. Click u201COKu201D on digital certificate.
    5. Enter your S-User ID and password again and click OK.
    6. Click OK on the following screen.
    7. (This step is Optional) Setting up your Single Sign-on allows the site to remember your login and not prompt for it so frequently. To do this, click my Profile at the top of the page. Then click Maintain my Single Sign-on Certificate on the left of the page and follow the instructions.
    8. After the Single Sign-On, Click on Help & Support and click Report a Product Error. Under System Search, click the drop down arrow next to your installation and choose your system, and click Search and then click on the BOB link.
    9. When creating a SAP message it is required to search for Notes. (Knowledge Base articles) to see if you can find an answer to your question without having to log the message for support. In the Search Terms area, type your question and click Continue.
    10. If you do not see any Notes pertaining to your question click on Create Message.
    11. Choose the correct Component for the product you are creating the message for. The component is the support Q that your call will go into so the correct team can assist you. To do this click on the icon next to the icon next to the Component window to see a drop down list.
    12. Click the arrow by BOJ-EIM to see a more detailed list. By each component the names of the u201Cproductsu201D you are using are listed. Choosing the correct component will get your Message logged for the correct support team.
    For example:
    a. BOJ-EIM-COR is used for ACE, DataRight IQ, Match/Consolidate, IACE, and FirstPrep products.
    b. BOJ-EIM-COM is used for DeskTop Mailer, Business Edition, Presort, PrintForm, Label Studio
    c. BOJ-EIM-DEP is used for DQXI, Data Insight, eDQ Infa, SAP Siebel, PSFT, Oracle, Rapid Library
    d. BOJ-EIM-DF is used for Data Federator
    e. BOJ-EIM-DI is used for Data Integrator, Text Analysis, Data Services
    f. BOJ-EIM-DS is used for Data Services, Fazi/Fuzzy
    g. BOJ-EIM-MD is used for Metadata Manager and Composer
    h. BOJ-EIM-RMA is used for RapidMarts, BOW
    13. After choosing the component, fill in any remaining required/optional items. **Required fields under Problem Details are flagged with a red asterisk.
    · In the Short Text box, enter a brief description of the question or issue.
    · In the Long Text box, you can go into further detail about what you are seeing or questioning.
    · On this page also you can select to attach files if needed (please zip your files).
    · When you are finished you can either click on Save Message or Send Message. If you click on Save
      Message, the message WILL NOT be sent to support, it will remain in the Draft section of your u201Cmy      
      Inboxu201D for you to send later.
    · If you want to send the message to technical assurance now click Send Message.
    · You can see the messages you have u201Csentu201D to support by clicking My Inbox and viewing your Sent
       Items.
    Thanks,
    Kendra

  • Flash CS5 wont open after working for years? Entry point Not Found

    Hi Guys,
    I am having a problem opening my Flash CS5 after it working fine since I installed it forever ago. I do not know what could have caused this, and my other cs5 programs are opening fine.
    Dreamweaver and Fireworks didnt change all (these 3; along with Flash; are what I use most)
    I also open photoshop and aftereffects from my master collection for testing and they opened fine also. I ran a scan using microsoft essentials and found nothing.
    I tried run as administrator on flash and it said the same thing.
    I am using windows 7 Ultimate N SP1 64 bit
    Here is the alert in text.
    flash.exe -Entry Point Not Found
    The procedure entry point ?ButtonChanged@UI_ClearButtonTextEdit@controls@dvaui@@UAEXP
    AVUI_ButtonChangedMessage@23@@Z could not be located in the
    dynamic link library dvaui.dll
    Please let me know what is going on here.
    Thanks, I really appreciate the help.
    Randy

    You should be able to cherry pick Flash out to uninstall and reinstall it from the master suite installer if I remember correctly. There's nothing wrong with a fresh reinstall, especially after years. That's a long time to be bulletproof.
    Otherwise I can't hand you a commercial DLL but I really don't think your problems will be fixed even if I did. I think it's just hardware doing what it's notorious for, eventually having a fault somewhere. A reinstall of Flash should be fast and will write to new sectors and fix the file.

  • Forcing Single Pass entry point

    Hi all
    I have a sequence based on the sequential model that I only ever want to enter as single pass. I am driving myself slight crazy as I keep clicking “Test UUT(s)” rather than “single pass”. Is there a call back or expression I can add that will force the sequence to run as single pass regardless of which button I click?
    Many Thanks              
    Dave B
    P.S Happy new Year
    Solved!
    Go to Solution.

    Because the client and model are "decoupled" and the client technically doesn't get called until later in the execution this is a tricky one.
    Several options:
    Customize the UI to only allow the Execution Entry point button to be linked to the Single Pass entry point
    In the Sequence Editor fix your toolbar to only show the Single Pass entry button
    This one is kind of a hack:  override the Process Setup callback and if the entry point was Test UUTs then kill the thread and start a new one using the Single Pass entry point
    Remove Test UUTs from the process model.  Or change it to a configuration entry point temporarily.
    Hope this helps,
    jigg
    CTA, CLA
    teststandhelp.com
    ~Will work for kudos and/or BBQ~

  • 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?)

  • Problem adding Remote multisite Entry Point

    Hi, we have DirectAccess 2012 setup for multisite with a default site with 2 DA servers with load balancing in Sweden, one DA server in Phoenix (US) and one in Romania. For the US one i had to change the entrypointDC after i had added it since otherwise
    i could not use the RemoteAccess management console.. everything just hung when it could not load the configuration.. i guessing it timed out.. getting the config from the US AD server and that broke everything (hmmm...)
    I am now trying to add another entry point in the US (not the same site) but cant get past "adding an entry point... Please wait while the configuration is applied.." i have waited a couple of days.. it dos not get past that.
    I wanted to try the powershell command for adding a entry point to but i cant find any info on how to specify the different GPO:s correctly.. i have Windows 7 computer to so i need a server GPO , a client GPO  and a windows 7 group.. and i have not
    been able to figure out how to do that..   
    Or if its possible to change a entrypointDC while adding the entrypoint.. so it wont time out.
    Anyone have any smart tips ?
    BR
    Daniel

    Hi Daniel,
    Please try to follow the guide below,
    Deploy Multiple Remote Access Servers in a Multisite Deployment
    http://technet.microsoft.com/en-us/library/hh831664.aspx
    Besides, is there any warning or error in the event viewer?
    Best Regards.
    Steven Lee
    TechNet Community Support

  • The procedure entry point ?fastFree@***@@YAXPAX@Z coulnd not be located in the dynamic link library JavaScriptCore.dll

    *** is this about?

    Rather than following the current version (at the time that I write this post) of that Apple knowledgebase document, I'd suggest first using this user tip:
    iTunes for Windows 11.1.4.62: "The procedure entry point: ?videoTracks@QTMovie@ [...] could not be located ..." error messages when launching iTunes
    (Removing all dlls from the iTunes program files folder is generally overkill for these particular entry point errors ... the typical cause is just the misplaced out-of-date QTMovieWin.dll file.)

  • The procedure entry point ?fastFree@***@@YAXPAX@Z could not be located in the dynamic link library JavaScriptCore.dll?

    After upgrading from the recent version of iTunes, I kept seeing the error message (in the title). I have uninstalled, reinstalled, restarted, and not sure what else to do. All help is appreciated.
    Thanks,
    Jacob

    Rather than following the current version (at the time that I write this post) of that Apple knowledgebase document, I'd suggest first using this user tip:
    iTunes for Windows 11.1.4.62: "The procedure entry point: ?videoTracks@QTMovie@ [...] could not be located ..." error messages when launching iTunes
    (Removing all dlls from the iTunes program files folder is generally overkill for these particular entry point errors ... the typical cause is just the misplaced out-of-date QTMovieWin.dll file.)

Maybe you are looking for

  • Can you transfer iTunes from an orphaned iPhone (laptop it used to synch to was stolen)...

    My son has an orphaned iPhone with music we'd like to synch to our main iMac (his laptop which had his library was stolen).  Is there some way to transfer the songs from his iPhone?  They were purchased using my appleID, so in theory they are mine. 

  • Report layout changes with  the values in it

    I he a standard report, but i want certain report rows to show up in red when a value of the row is null. I know you have to use different templates, but how or where do i need to put the condition to change report row templates? Thanks

  • Significant problem saving files in Photoshop CS2

    I am running Photoshop CS2, with Windows Vista Home Edition. My problem is a new one, as Ive been running the program the exact same way since I bought it several years ago. Two weeks ago I bought an Intuos 3 tablet, and installed the software that c

  • Preserving prefixed zeros  in down load to excel file

    In My application lot of character field have character zero as the starting characters. Like Company code= 0600, Property= 00390898 .   When I do a download from Internal table to excel sheet, this character fields are showing with the zeros in fron

  • Lead time calculation

    Dear Gurus,                          I want to calculate lead time between purchase order and goods receipt.how to do that??? Am having some doubts. Does the lead time links with Planned Delivery Time Goods Receipt Processing Time Purchasing Processi