StatusBar interface operator



Tags: NI Software

Similar Questions

  • Multi-window Interface operator - change the title of the execution window

    Hello

    I use the operator interface multi-window, obtained from: http://zone.ni.com/devzone/cda/epd/p/id/6372

    I would like to change the title displayed in the windows of the execution to show the test socket number and serial number of the UUT that I am running 6 DUT in the batch process model and it is not obvious from the current title which execution window belongs to which object to measure.  The current title shows: TestStand operator Interface - [Test DUT - Test taken point of entry - SequenceName.seq [#]]

    where # 3 to 8.

    Anyone have any suggestions on how to do it?

    Thank you!

    Notice that I use the UI platforms instead of operators TestStand interfaces because I want are tiled windows execution displayed for each test sockets, and the OIs TestStand don't do that.

    Hi George Mah.

    To change the operator interface, you will need to modify the source code, which is written in c#. To change it, open the solution in Visual Studio and open the MainForm and follow the instructions on the image below:

    When you double-click on the "UIMessageEvent" you will have the code for it. In the code, you will need to add a new case to handle the changes you want to make. Here's the code you can use:

    case UIMessageCodes.UIMsg_ModelState_Identified: // This message fires after the serial numbers are entered
                        foreach (Execution value in axApplicationMgr.Executions) // This allows for every socket to be updated
                        {
                            if (value.ForegroundThread.GetSequenceContext(0, out frameId).Root.AsPropertyObject().Exists("Parameters.TestSocket.UUT.SerialNumber",0)) // Checkto see if the serial number exists
                           {
                            FindForm(value).Text = "Index Number: " + value.ForegroundThread.GetSequenceContext(0, out frameId).AsPropertyObject().GetValNumber("RunState.TestSockets.myIndex", 0).ToString() + "      Serial Number: " + value.ForegroundThread.GetSequenceContext(0, out frameId).AsPropertyObject().GetValString("Runstate.root.Parameters.TestSocket.UUT.SerialNumber", 0); // Here are the paths through the teststand API to get to the information.
                           }
                        }
                        break;
    

    This should take care of it. I hope this helps.

    Kind regards

    Perry S.

  • Change the amount of RAM of guest from the command interface operating system

    Hello

    I'm not sure that this is possible and is the reason why I post this topic here (I hope I'm in the right place but I'm sorry if I'm not). Is it possible to update the allocation of memory in a guest from the command line operating system? My goal here is to improve the memory of the guest operating system from 1 GB to 4 GB and then schedule a reboot after hours before it takes effect on. Yet once, not for sure if this is possible, but thought I would ask.

    Thanks in advance,

    John

    You can do this through PowerCLI. Check it out here:

    http://xtravirt.com/ICT-freak-PowerCLI-script-schedule-memory-and-or-vCPU-updowngrade

    You may also plan this to be awakened in the night...

    "The only thing that annoys my learning is my education."

    If you found this information useful, please consider awarding points to 'Correct' or 'Useful'

  • Failure TestStand 2014 operator Interface examples

    I tried to run a number of examples that illustrate the operator TestStand 2014 (32 bit) functionality of the interface, such as handling user interface Messages.  When I load and run the .NET solution interface operator beneath the example file I get the following error:

    System.Runtime.InteropServices.COMException was unhandled
    HResult =-2147221164
    Message = recovery of the class factory COM for component with CLSID {B2794EF6-C0B6-11D0-939C-0020AF68E893} failed due to the following error: 80040154 class not registered (Exception from HRESULT: 0 x 80040154 (REGDB_E_CLASSNOTREG)).
    Source = NationalInstruments.TestStand.Utility
    ErrorCode =-2147221164
    StackTrace:
    at NationalInstruments.TestStand.Utility.LaunchTestStandApplicationInNewDomain.LaunchHelper (point of entry MainEntryPointDelegate, MainEntryPointDelegateWithArgs entryPointWithArgs, String [] args)
    at NationalInstruments.TestStand.Utility.LaunchTestStandApplicationInNewDomain.Launch (point of entry MainEntryPointDelegateWithArgs, String [] args)
    at TestExec.MainForm.Main (String [] args) in c:\Users\Public\Documents\National Instruments\TestStand 2014 (32-bit) \Examples\Modifying User Interfaces\Handling UI Messages\DotNet\MainForm.cs:line 284
    InnerException:

    I tried restarting the PC and also reinstall TestStand 2014 but still not the same error.  I can, however, run the sequence editor and run sequences that without errors.

    I am that running on a Windows 7 64-bit installation and execution of the interface Visual Studio 2012 runtime solution.  Any ideas on what else to try?

    Kind regards

    David

    Hi David,

    Sorry to hear you're having trouble to get examples of the user interface to work.  A few questions to get a better idea of what is happening:

    1. If you have TestStand 32-bit installed only, ensure that the platform selected for the solution of the example is x 86, and then rebuild the solution.

    2. the example of the simple User Interface gives the same error?  ("\UserInterfaces\Full-Featured\CSharp\TestExec.sln")

    3. If you run the version selector TestStand and select this option to activate TestStand 2014 (even if it is already active), do you get any errors?  The example gives the same error after this step?

    4. If you have Visual Studio 2010 installed, please test this version as well because it's the version in that the examples have been developed.

  • How to determine when a subsequence in the main group of MainSequence was called simply?

    I want to implement a custom for my operator Interface progress bar and I've seen some tutorials OR how do but IMHO, the solution is very ugly in which the MainSequence hardcoded events UI message statically send completion percentage.

    Which, according to me, a better method would be to have the reminder SequenceFilePostStep increment a counter FileGlobal only when a subsequence in the main group of MainSequence has been called.  I already understood how to get the total number of subsequences MainSequence into the main group using the expression:

    RunState.SequenceFile.AsSequenceFile.GetSequenceByName ("MainSequence"). GetNumSteps (StepGroup_Main).

    It is the bold part above that I don't know how to do and that you would be grateful for assistance in this regard.  Once I have these two values that I can simply divide the two and send a UserMessage interface operator with completion percentage.

    Thank you!

    Hi Sean,.

    Instead of having the SequenceFilePostStep in your file of the client's sequence, you can put the statement step in the process template using a reminder of ProcessModelPostStep.

    Previously, when I said the words, I meant the prerequisite, but I think that you understood what I meant...

    It's a thing of style and readability - a precondition will make your movie look nice and compact, whereas an IF / END block improves readability, etc..

    I am currently writing sequences to use flow control measures (IF / END, SELECT / CASE, FOR, WHILE) for USE related to logical tests, where decision making or a loop is part of the requirements customer and pre conditions TestStand logic such as this.

    See you soon,.

    Charlie

  • How will I be able to make the TestStand UI objects XP theme?

    Hi, I use TestStand UI in .net, how am I going to be able to do the objecys of the interface of TestStand user to adapt the XP theme?

    Is there an example of code that you can give me? Thank you!

    The operator of .NET TestStand delivered Interface has a manifest file included in the project. This manifest file contains the controls of Micrsoft.Windows.Common that is necessary to identify the XP theme that has been configured on the operating system. In the operator interface on-board .NET, this .manifest file is embedded in the executable file and formats Interface operator TestStand to display the XP theme that has been configured on the operating system. in the TestStand 4.1.1 on-board operator Interface, the manifest file is embedded in the executable file in an event after project build.

    There are three things that the manifest file is required to have in order to allow the operator Interface executable TestStand to adapt to the XP theme. They are as follows:

    1. The manifest file must have the same name as the executable file. For example, if your executable is named MyExecutable.exe, your manifest file is required to have the name of MyExecutable.exe.manifest.

    2. The manifest file must include the Micrsoft.Windows.Common controls to identify the XP theme that has been configured on the operating system.

    3. The manifest file must reside in the same directory as the executable file.

    If you create an existing operator that comes with TestStand 4.1.1 interface make sure that the manifest file meets these two requirements. "If so, you can test that the theme is well fit by selecting Debug" run without debugging.

    If it works correctly, you can be assured that when you create a release build TestStand operator interface, it will adapt to the XP theme that has been configured on the operating system.

    NOTE: you can only test this feature, if you run the executable without debugging, because this allows the executable to run its own process. If you run the executable file with debugging, Visual Studio environment will be the host of the process and will not allow the manifest file to be embedded in the executable.

    ADri-

  • The display and recording time elapsed during the reading of the instrument

    I've been programming Labview for a total of two days so please bear with my inexperience. I have a 9201 module that takes a reading of the voltage and it is plotted on a graph. I click on a Boolean switch and the graph starts playback and recording data every 3 seconds. When I click on that same switch I would like to start a clock. Then once the button is clicked once again I need to stop the clock and save time. I tried to use the elapsed timer function but can not understand how to operate inside my main while loop. I don't know if I need to use a subvi or something different all together. I enclose my any project that could make the issue easier to understand. Thanks in advance for any help.

    I changed your code (personally I him would not have made it, but I don't want too many changes in your code because you are a beginner in LabVIEW!).

    -Now, there are 2 loops: 1 bow for the acquisition (looped) and 1 loop for user interface operations (while loop + event structure: it is a very powerful structure in LabVIEW and you should take a look at a few examples to understand how it works)

    -You will find a registry to offset used by loop acquisition: I explain what it is in the diagram...

    -I gave you a VI that is almost the same as 'out of time' Express VI: maybe it will be interesting to try too understand that when you get more experience in LabVIEW (you will understand 'functional global variables' and "reentrancy execution": these 2 animals are used by 'elapsed time' Express VI (but also by the VI I've included, and which is almost the same thing))

    Note that I have shown the solution to 1 of the 4 graphs: you will need to do the same for the other 3. You also need to code elapsed time saving.

    Once again, the solution I gave you is very far from perfection, but with 2 days of practice of LabVIEW, it would be too complicated to explain the different architectures and the means of communication between the loops etc...

  • How to configure controls/indicators of Labview so the TestStand will automatically import the

    Hello

    I am fairly new to Labview and TestStand.

    I created a simple GUI of Labview with controls and indicators. When I add the labview module to TestStand it doesn't matter these controls/indicators.

    What should I do to get TestStand to import these controls/indicators.

    Thank you best regards &,.

    Aly.

    Is this just a VI LabVIEW implemented as a step of TestStand? If yes associate you controls and indicators to the connector pane in the upper-right corner of the LabVIEW vi? (index right click the icon and select Show the connector pane)

    What is a LabVIEW to Interface to operator TestStand implimentation? If if look at the examples in file for Simple Interface operator of LabVIEW TestStand.

  • 'successful test' window loses focus

    I use a slightly modified version of the example LabView Simple Interface operator vi. I use this for the user to choose what sequence of test to run.

    The problem I have is that many of the standard popups OR keep loses focus when they appear: the "serial number enter DUT" test pass/failure/end of window and Save_As for printing test reports, are all the standard windows OR this presentation pop up and then disappear because the thumb behind the main window of Labview vi.

    I have to use ALT + Tab to scroll through windows and return to any pop-up window lost focus. And the problem is that my client does not accept this!

    Any ideas?

    Thanks in advance,

    Ian

    Hey Ian,.

    I know that you can make a window in labview come forward with nodes of property and a VI the value application server reference. It works within the bodies of labview, but does not retain the focus by other programs. Either does not have a window in front of internet Explorer just to other windows in labview.

    I continue to experiment to find if another parameter will do what you want better. At the same time, it's a start for you to try as well. Let me know how you go with it.

    Matt

  • Support SATA 3

    My Aspire 7736Z has interface SATA II (two). A new HD has been ordered from Amazon; the product description says SATA II (3.0 GB - I think), but the specs on the hard disk itself say 6.0 Mb which correspond to the SATA III (three). If this new HD is set to SATA III will be works in SATA II machine without conflict?   Thanx.

    Disoriented Bob

    Bob, I cut and pasted this for you, but it seems that the answer is 'yes '.

    SATA II (revision 2.x) interface, formerly known as the SATA 3 Gb/s, is a second generation of turning to 3.0 GB/s SATA interface. The bandwidth rate, which is supported by the interface is up to 300 MB/s.

    SATA III (revision 3.x), formerly called the SATA 6 Gb/s, is a SATA interface operating third generation 6.0 GB/s. The bandwidth rate, which is supported by the interface is up to 600 MB/s. This interface is compatible with the SATA 3 Gb/s interface.

    SATA II specifications provide backward compatibility of function on SATA channels. SATA III Specifications provide backward compatibility to run on SATA I and SATA II ports. However, the maximum speed of the disk will be slower because of lower speed limits of the port.

  • SMControls90 & SMWrapper90

    Hi people,

    Can someone enlighten me as to the purpose of these two elements, which must be downloaded and installed at deployment time?

    Thank you

    Cormac

    These 2 packages contain components that allow a user experience richer and more powerful for the interface Admin of vRM than would be possible with a pure browser app. The administration interface is a web application, but these components improve the client browser to provide characteristics often associated with desktop applications.

    In particular:

    • SMWrapper90, contains 'Wrapper' that allows multiple browser sessions to be managed in a single application instance and provides a unified, configurable toolbar to quickly access the data and functionality.

    • SMControls90, is a library of widgets used to provide advanced display capabilities and handling within vRM, including data grids, menus, charts, including the workflow designer.

    These components are ActiveX controls that imposes the restriction that the admin interface operating only in Microsoft Internet Explorer 7 or higher with the Microsoft Windows client.

    However, the portal vRM interface is built purely with HTML and JavaScript and can be used in any modern browser on any platform.

  • Failed to export or import the custom query dataset

    Hello

    I am a newbie of the IOM, please let me know where I am going wrong with export or import custom query data set.

    Here are the steps I followed:
    1. modify the weblogic.properties with values such as
    wls_servername = xxx
    application_name = OIMMetadata
    metadata_from_loc = D: / / Oracle / / Middleware / / Oracle_IDM1 / / / / metadata / / custom server
    metadata_to_loc = D: / / Oracle / / Middleware / / Oracle_IDM1 / / / / metadata / / custom server
    metadata_files = / *.
    2. created the dataset of application to configure a user for a resource.
    <? XML version = "1.0" encoding = "UTF-8"? >
    < request-set of data xmlns = "http://www.oracle.com/schema/oim/request."
    xmlns: xsi = "http://www.w3.org/2001/XMLSchema-instance".
    xsi: schemaLocation = "http://www.oracle.com/schema/oim/request."
    name = entity "Provided ABC Interface" = "ABC Interface' operation 'DISPOSITION' = >

    < name AttributeReference = "User ID".
    attr-ref = 'User ID'
    available in bulk = "false".
    Type = "String".
    length = "50".
    Widget = "text".
    required = "true" / >
    < name AttributeReference = "Last Name".
    attr-ref = "Last Name"
    available in bulk = "false".
    Type = "String".
    length = "50".
    Widget = "text".
    required = "true".
    MLS = "false" / >
    < name AttributeReference = "first name".
    attr-ref = "first name".
    available in bulk = "false".
    Type = "String".
    length = "50".
    Widget = "text".
    required = "true".
    MLS = "false" / >
    < name AttributeReference = "Email".
    attr-ref = "Email".
    available in bulk = "false".
    Type = "String".
    length = "50".
    Widget = "text".
    required = "true".
    MLS = "false" / >
    < name AttributeReference = 'Type '.
    attr-ref = 'Type '.
    available in bulk = "false".
    Type = "String".
    length = "50".
    Widget = 'drop-down list.
    search-code = 'Type '.
    required = "true" / >
    < / request-set of data >

    3. place the query dataset in D: / / Oracle / / Middleware / / Oracle_IDM1 / / / / metadata / / server custom/ABC
    4 OIMMetadata is in the active state.
    5 tried to import a dataset with the credentials but failed with the following error:

    UserWarning: MDS-91002: execution of the MBean MDS Application for 'OIMMetadata' is not available. failure of the operation "importMetadata".
    When importing the query data sets

    There is no error during the startup of the IOM with MBean server too.

    Could someone suggest me to fix this error.

    Appreciate your help

    Thank you
    PGM

    This problem happens when your OIMMetadata app does not work or not in Active state. Then, go to the Weblogic Console and check that the application of the OIMMetadata runs or not if she is nine or any other (not active) in order better to restart the server. This will solve your problem.

    Thank you

  • My popup code snippets

    This snippet of my code:

    no problem with my code.


    < af:popup binding = "#{backing_untitled2.p1}" id = "p1" autoCancel = "Enabled" "
    childCreation = 'immediate' contentDelivery 'immediate' = >
    < af:dialog binding = "#{backing_untitled2.d2}" id = "d2" "
    Type = "yesNoCancel" title = 'road map '.
    dialogListener = ' #{backing_untitled2.» OnDialogAction} ">"
    < af:popup binding = "#{backing_untitled2.p2}" id = "p2" > "
    < af:dialog title = "roadmap" binding = "#{backing_untitled2.d3}" id = "d3" "
    type 'ok' = >
    < name af:icon = binding = "#{backing_untitled2.i3"info"}" id = "i3" / > "
    < af:outputText value = 'active Document '.
    Binding = "#{backing_untitled2." OT3}"id ="ot3"/ >
    < / af:dialog >

    < / af:popup >
    < source = af:image "" / Alert_16x16.png "shortDesc ="Alert Message""
    Binding = "#{backing_untitled2.i2}" id = "i2" / > "
    < af:outputText value = "do you want to activate.
    Binding = "#{backing_untitled2." OT1}"id ="ot1"/ >
    < / af:dialog >


    What are the things that I had done means.

    Step 1: so that am pressing the button first pop - up will increase n

    say you want to activate the document?

    Step 2: If average yes another(*second*) popup will increase. your document is activated.

    -until this I had finished. the code snippet above.




    This is simple logic: but I dono how to. This


    so that am pressing the button first pop - up will increase

    say you want to activate the document?


    If I press the Yes key means. all the fields to the table relaeted. It is both non-editable.


    (i.e.) once the user activate the document means. change the fields in the user interface must be restricted as readonly

    don't nobody don't note updated user interface operation

    can someone help me. do for this

    Published by: subu123 on August 7, 2011 22:27

    Hello

    with a '. ' entry list of attributes. but there is no attribute of "getReadOnly()".

    This isn't the problem, it works well for me...
    Check the code again.

    
    function alertuser(evt){
      try{
     var comp=evt.getSouce();
     if(comp.getReadOnly()){
       alert('acess denied');
      }
    }
    catch(ex){alert('Error = ' + ex.description);}
    }
    
    
    
    
    

    Kind regards
    Sicard.

  • How do to capture the mouse click or drag the engine near the PF_Param_POINT

    Hi guys.

    I tried to re-captured the event click or drag near the PF_Param_POINT but I could not.

    PF_Param_POINT seems to catch my event drag near the object point.

    Using the debugger, I watched if PF_Event_DO_CLICK occurs or no such action of drag,

    no event of PF_Event_DO_CLICK were issued.

    Once my user interface of the custom controls located near the control point UI (less than 5px?),

    the user can move them forever.

    Instead of draggin my UIs custom, control point user interface are trained.

    At present, the only solution is to CANCEL the move of my custom user interface operation.

    Does anyone know how to avoid such a situation?

    Hi daichi.

    the problem is that the interface of AE has a priority higher on interface of plug-in.

    He intercepted events drag both drew on the interface of the plug-in on the paper.

    the only solution I know is:

    def.ui_flags = PF_PUI_DISABLED;

    Suites. ParamUtilsSuite1()-> PF_UpdateParamUI (in_data-> effect_ref, paramIndex, &def);)

    This will cause the point param be unselectable, and therefore will not intercept click and drag orders.
    You can set this flag selectively when the cursor is close to your custom control, or when the cursor is inside the window of the model.
    (it's what I do in my plug-ins)
    :-)
  • Many commands disabled in the operator interface

    Hello

    I use the full IO in c# on a system with a basic deployment license, and I see that a lot of commands is disabled, for example single-pass and execution (only Test DUT is active); also "Break" and "Break all ' in the menu debug is disabled when the system is running.

    I remember those who are active on other systems in the operator interface and I also checked that it uses the model that I use on all machines.

    What can cause such behavior?

    Best regards

    Peter

    Peter,

    It is a question of privilege.  What are the permissions of the user that logged in TestStand.  If it's an operator then you will see thos grayed out like that.  If it's a developer, technician or administrator, so they should be available.

    Kind regards

Maybe you are looking for