masking steps during execution

I have a sous-suite that I point the user to when asked to isolate a card failure.  To give them some flexibility, I got a popup that gives them a certain number of options (see attachment).  I have an m.o. that indicates the individual steps these select/run (i.e. '1' or '3' in the png).  Control flow (denoted by '2') is the noise they don't really need to worry and may / will cause confusion (and possibly problems for me if they select them accidentally).  Is there a way to hide these measures flow during execution control so that the user sees '1' and '2' (and other similar 'valid' selections?

If there wasn't a need explicit to have the flow control logic, then I'd be tempted to compact all in the post of the Popup Message action.

By setting the Popup Message Action to go to the step, , use Custom Condition (TRUE):

And by using the following Expression:

Step.Result.ButtonHit == 1? RunState.Sequence.Main ["MR_RPack_R55"]. UniqueStepId:
Step.Result.ButtonHit == 2? "" "RunState.Sequence.Main ["End_PCI_Isolation"]." UniqueStepId:
Step.Result.ButtonHit is 3? RunState.Sequence.Main ["MR_R103"]. UniqueStepId:
Step.Result.ButtonHit is 4? "" "RunState.Sequence.Main ["PCI_Intf_PT"]." UniqueStepId: «»

It should be appropriate level following the Popup Message.

(SequenceFile attached).

I hope this helps.

Charlie

Tags: NI Software

Similar Questions

  • Problems during execution of a LabVIEW VI in a new thread under TestStand sequence and execution of the MainSequence in step by step mode

    Hello

    We want to run a VI in LabVIEW (LV2011) at the same time to the execution of a sequence of test of TestStand (TS2010). The VI should view the condition of the equipment, while the test sequence is written in TestStand. It would be a nice feature of debugging the TestStand sequence while watching the State of the material in the LabVIEW Panel, too.

    This is where it's our problem. Imagine that you have a MainSequence calling a subsequence in a new thread, which runs the LabVIEW VI. After the call, the MainSequence continues its progression, as it is configured to do this. But if we want to execute the MainSequence in step parallel execution of VI mode, we can do that. The controls for "Step Out" etc. are grey.

    I tried to build a very simple example to explain what I mean. It's just a sequence and a LabVIEW VI, no real functionality, just take as an example for our problem.

    Any tips? What we're doing wrong? Is there something that needs to be changed in the LabVIEW VI?

    Best regards

    Manual

    You should use the monitor of the termination and the ExternallySuspended APIs for the EIS to running asynchronously. There are screws of wrapper around these APIs in the LabVIEW TestStand palette.

    For more details see using the API for the following:

    Thread.ExternallySuspended

    Execution.InitTerminationMonitor

    Execution.GetTerminationMonitorStatus

    Unless I am struggling to understand what you're asking, if you are using these APIs, you should be able to make it work as you are eager to do things.

    -Doug

  • Masking of Poplist values during execution

    Hi all

    I have a Type of Variable of Poplist with values ' a ',' B', 'C', ' and 'E '.
    I want to hide the values 'A' and 'B' during execution.

    I have two pages of research and creation. All values must be visible on the search page.
    And on create page only 3 values ('C' ' d ',' E' ') must be visible in Poplist.

    How to get there?

    Thank you
    SK

    Create Page application process

    OAViewObject vo = (OAViewObject)am.findViewObject("YourViewName1");
    if(vo != null)
    {
    
    vo.setWhereClauseParams(null); // Always reset
    vo.setWhereClause( "DEPT_NO NOT IN (:1,:2,:3)" ); // Example
    vo.executeQuery();
    }
    

    Thank you
    -Anil
    http://oracleanil.blogspot.com

  • Edit/delete/add scene coordinates in the table during execution

    Hello world

    I managed to build table allows you to store and record the coordinates of the stage and remind to control steps. However, I need change/remove/add details of scene during execution. I also need to allow the user to directly edit the coordinate from the scene of the array. Wondering what someone knows what is the best way to do it? Or is it better to use the matrix or Cluster? Thanks in advance.

    Best regards

    Han Yen

    Han Yen wrote:

    Thanks much altenbach for all the advice. I tried to do a table 2D control. I've been playing with table in the control. However, I still can't find out how can I detect that I change the data in the table 2D with the more recent issue during execution? How can I then update my current table with the latest data?

    Well, the 2D table is updated immediately and you do not all the other tables.

    Do you mean that you want to update XAbs, etc. where the just changed line is already selected?

    In any case, here's a simple project, perhaps it will give you some ideas. I would recommend using also the tables for XYZPos, entrances etc. and the XYZabs. This simplifies the code because you reduce the number of terminals and table operations.

    Let me know if something is not clear to you.

  • What would cause a constant changes during execution typedef enum

    Hello

    In my program I had a problem with a constant of enum for a selection of the tab value change during execution.  The enum is as part of the initialization of the program and when I step through the loop and then you see the property node of the climax to the value tab and in the next step of the enum changes its value.  I'm under LV 8.0

    Any information will be greatly appreciated.

    Gary


  • An error [-5005: 0 x 80070002] occurred during execution of the installation of magictune

    Original title: uninstall magictune

    I am running Windows 7 64 X.  By mistake I have install MagicTune Premium.  My laptop is Toshiba Satellite P799 with Nvidia GT 540 M.  I tried to uninstall it using the program and functionality but receive the following error message:

    An error [-5005: 0 x 80070002] occurred during execution of the installation

    When I click OK, it brings me to the Samsung download web site.  I repeat the download and then restart.  The coup explore whenever I try to run.

    I always unable to uninstall it.

    Grateful for the help

    Thank you and best regards,

    JC

    Hello
     

    Follow these methods and check if that helps:

    Method 1:

    Try to uninstall the program in clean boot mode and check if it helps.


    How to troubleshoot a problem by performing a clean boot in Windows Vista and Windows 7.
     
    Note: Don't forget to reset the computer to start as usual when you have found the culprit. Follow step 7 on top of the kb article.
     
    Method 2:

    I suggest you follow the troubleshooting steps form the article and check if it helps.

    How to solve problems when you install or uninstall programs on a Windows computer
    http://support.Microsoft.com/kb/2438651
  • Search fields added during execution

    Hi all

    I use Jdeveloper 12 c on internet explore 10 with 11g database on 64-bit.

    I followed the link as a tutorial.

    Oracle JDeveloper 12 c (12.1.2) tutorials - developing rich Web Applications with Oracle ADF

    step 8

    Develop control data EmpDetails1 and expand the node named criteria below him. Select all the searchable attributes and drag it to the new page query.jsf . Create it as a query > Panel request ADF.

    I had two problems

    1. the generated fields are too big, I want to control their width, but I don't see any field in the search box, instead, I see "search fields added during execution.

    2. I want to o excluding some areas. How to make since I can't see any generated field.

    Kindly guide me with this.

    Thank you.

    (1) the width of the fields is controlled to the view object. To change the width, you change the width to display the attributes in the suspicion ui tab.

    (2) this ID controlled of the view object. To hide an attribute in the query panel you uncheck "queryable". See JDEV: af:query hide some attributes of query panel but show them the results table | JDev & ADF Goodies

    Timo

  • Pass the value of the variable during execution

    Hello

    I have a package with a set of interfaces and three other variables.

    I want to pass the value of the variable at runtime, based on the value passed I want to decide which interface to run then. How can I do this? I got a set variable but I want to asssign the value during execution.

    Any help is greatly appreciated.


    Thank you
    San

    You have many options to achieve this goal.

    1. keep the run settings in the database, extract the Variables in a time of refreshment and use these variables in your Interfaces to get values of execution.

    2. change the value to the variables on the outside. You can declare a variable in a package as a step of the statement, and then use the variable in your interface in a successive step in your package. Then, create a scenario of your package and creating the scenario, it will prompt you to include the variables that you want to include as a startup parameter. Choose the one (s) concerned. Citing this scenario using Java or an OdiStartScen command or by using Webservices ODI externally, you can provide values of the runtime as a result.

    I hope this helps.

    Concerning
    A

    Published by: 922636 on August 29, 2012 23:53

  • Resizing a JButton during execution

    Hello. I have problems with a JButton resizing during execution. I can set the size of a JButton in my JFrame constructor. However, when I try to change via an ActionListener has defined the JButton even nothing happens. I tried to call invalidate() on the JButton and the JPanel that contains nothing will do. Any help to fix this would be appreciated. Below the source code.
    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.*;
    
    public class framebuild extends JFrame
    {
         JButton button1, button2;
         JLabel label;
         JPanel labelPanel = new JPanel();
         JPanel buttonPanel = new JPanel();
         
         public framebuild()
         {
              super("Error");
              setDefaultCloseOperation(EXIT_ON_CLOSE);
              setPreferredSize(new Dimension(300,300));
              setLayout(new BorderLayout());
              setResizable(true);
              
              clickresponse responder = new clickresponse();
              
              label = new JLabel("Resize button?");
              button1 = new JButton("OK");
              button1.addActionListener(responder);
              button2 = new JButton("Cancel");
              button2.addActionListener(responder);
              
              
              labelPanel.add(label);
              
              buttonPanel.add(button1);
              buttonPanel.add(button2);
              
              add(labelPanel, BorderLayout.CENTER);
              add(buttonPanel, BorderLayout.SOUTH);
         }
         
         private class clickresponse implements ActionListener
         {
              public void actionPerformed(ActionEvent e)
              {
                   if( button1 == e.getSource() )
                   {
                        button1.setPreferredSize(new Dimension(100,100));
                        button1.invalidate();
                   }
                   else
                        System.exit(0);
              }
         }
         
         public static void main( String[] args )
         {
              framebuild frame = new framebuild();
              frame.pack();
              frame.setVisible(true);
         }
    
    }

    First of all, a few notes on your code.

  • By convention, Java class names start with a capital letter and the first letter of each internal Word is capitalized. FrameBuild, no framebuild and ClickResponse, not clickresponse.
  • It is usually seen on evil as a diversion from the legacy of needlessly extend a class. Your class could contain a JFrame rather than extend the JFrame.
  • All Swing components should always be created and modified on the EDT and only on the EDT.

    When you make changes that affect the provision of an already visible from container, you must call, ( revalidate() and repaint()sometims) on the container.

    //button1.invalidate();
    buttonPanel.revalidate();
    

    DB

    Edit

  • Avoid the 'standard' listeners who need to identify the source of the event to determine what steps to take. Soon, they develop little handy in any real application.

    Here is the summary of my recommendations, adapted from your code.

    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.*;
    
    public class FrameBuild {
    
      JButton button1, button2;
      JLabel label;
      JPanel labelPanel = new JPanel();
      JPanel buttonPanel = new JPanel();
    
      public static void main(String[] args) {
        SwingUtilities.invokeLater(new Runnable() {
    
          @Override
          public void run() {
            new FrameBuild().makeUI();
          }
        });
      }
    
      public void makeUI() {
        label = new JLabel("Resize button?");
        labelPanel.add(label);
    
        button1 = new JButton("OK");
        button1.addActionListener(new ActionListener() {
    
          @Override
          public void actionPerformed(ActionEvent e) {
            button1.setPreferredSize(new Dimension(100, 100));
            buttonPanel.revalidate();
          }
        });
    
        button2 = new JButton("Cancel");
        button2.addActionListener(new ActionListener() {
    
          @Override
          public void actionPerformed(ActionEvent e) {
            System.exit(0);
          }
        });
    
        buttonPanel.add(button1);
        buttonPanel.add(button2);
    
        JFrame frame = new JFrame("Error");
        frame.add(labelPanel, BorderLayout.CENTER);
        frame.add(buttonPanel, BorderLayout.SOUTH);
    
        frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
        frame.setSize(300, 300);
        frame.setLocationRelativeTo(null);
        frame.setVisible(true);
      }
    }
    

    Published by: Darryl Burke

  • DragEnter added during execution

    Another question drag / move.

    I created containers when running, and I want to allow a user drag a new container on a canvas, then drag - move containers within this container.

    The problem is all the containers are built during execution, and I don't see how I can add dragEnter etc to it.  Here is the code I use to create the container.

        private function createFieldSet():Box{
                //  Returns a new Box container set as a field set
                     var newFieldSet:Box = new Box;
                     newFieldSet.width = 400;
                     newFieldSet.height = 50;
                     newFieldSet.setStyle("backgroundColor", 0xa5f48d);
                     newFieldSet.x = 0;
                     newFieldSet.id = idCounter.toString();
    
                     return newFieldSet;
                }
    

    So I want to allow a user to drag and drop into this new box once it has been created.

    Thank you

    Tom

    Before returning newFieldSet, follow these steps:

    newFieldSet.addEventListener (DragEvent.DRAG_ENTER, myEventHandler);

    If this post answers your question or assistance, please mark it as such.

  • Adding series to the table during execution?

    Newbie :-)

    I'm trying to add series to a chart during execution because the number of series to draw is variable and only determined once the XML of a HTTPService returns...

    My chart looks like this:

    < mx:PlotChart id = "mainChart" showDataTips = "true" width = "100%" height = "100%" >
    < mx:series >
    ...

    If I add:

    < mx:PlotSeries xField = "Size" yField = "CompetitorPrice" displayName = "Competitor price" / >

    then the data plots OK, but try to create the same AS serial does not work (nothing appears):

    var newSeries:PlotSeries = new PlotSeries();
    newSeries.xField = "size";
    newSeries.yField = "CompetitorPrice";
    newSeries.displayName = "SeriesAddedAtRuntime!"
    mainChart.series.push (newSeries);

    Debugging presents the new series added and it seems OK... but it does not appear on the graph. No errors.

    I tried mainChart.executeBindings (); and mainChart.validateNow (); with no chance, but I guess as to what is to be the case here, as you can probably!

    What Miss me something to force an update of the chart with the new series added?

    Thanks in advance

    John

    It is not displayed because the table is not aware of the change in ownership of the series. I think that to run the following steps (give an or take a few syntax errors):

    var set = mainChart.series;
    var newSeries:PlotSeries = new PlotSeries();
    ...
    Series.push (newSeries);
    mainChart.series = series;

  • Why get error during execution the FPGA VI?

    Hello world

    I have a lot of sense of wrong during execution of a program that has been correctly executed previously. I don't know what I did wrong.

    Now, whenever I run this FPGA VI, I get an error (in the attachment). And, then runs the FPGA VI, but it does not give the data required those he supposed to give as output.

    Any help or recommendations would be appreciated also.

    Thank you.

    Hi auree123,

    There are a few reasons for this error
    may occur.  Could you tell us more about what's going on?

    You are
    I get this error when you compile and if so, at what stage?

    It looks like
    as you may be running it in Interactive Mode, which means that you are viewing
    the front of the FPGA VI on the development computer that you are running - is
    that correct?  If so, you could try to create a VI on your host
    Open a FPGA reference and communicate with the FPGA programmatically rather than interactively.

    Thank you

    Morgan S

    Technical sales engineer

  • button conrol min and max range option during execution

    Is it possible to change the window button conrol min and max Beach setting during execution?

    Thank you very much Nick.

  • Disable the extended FIFO FPGA target during execution

    Hello

    I use a FIFO extended target in my FPGA to constantly calculate the derivative of a measured value (dB/dt). Thus the FIFO stores all values during time dt. This means dt determines the number of items in the FIFO and dB is determined by the actual value less the oldest value in the FIFO. It works well when I initialize with the code in figure InitFIFO.

    But the FIFO of compensation is not possible (see figure clearFIFO). In the while loop if "reset dB" is false, as the new value of B is written on the FIFO, then the oldest value is read from, for the number of items in the FIFO remain constant. To change dt during execution, I need to clear the FIFO and initialize it with a new length (number of items). I tried the next loop, but it does not work. The FIFO does not initilized with the elements. The length is zero and the loop counter for (#deltaB Length2) is 0.

    What I am doing wrong? Is there a better way to erase a FIFO during execution in the FPGA? I'm now stuck for 2 days with this problem and looking forward to any idea or suggestion.

    Thank you very much. Best regards

    Andy

    Hej,

    Thank you for your response. You were correct, that deltab FIFO length was 0 because the defalt value was zero. The problem is that in my host vi on the RT system I put DeltaB FIFO length in a loop of high priority and as you can see when I restart the FPGA, DeltaB FIFO length has a valid value (the code in figure 1 works well with a local variable of DeltaB FIFO length in the FPGA). But the variable to set the variable "reset dB" is under the control of the loop of low priority of the host vi. And there, I had an entry DeltaB FIFO length unwired.

    So, I learned that a control FPGA read/write unwired sends a '0' or resets the variable to its default value in the FPGA. I assumed that nothing is transferred and the last variable is retained if you let a control read/write unwired. Now, I learned of this stupid error!

    Thanks a lot again!

    Andy

  • IMAQ, zoom to fit display control disappeared during execution.

    As in the title. The menu is impossible to call during execution of the control display Imaq. This has happened after the compilation of the code.

    Any idea why this happened?

    Francesco.

    I had this problem before.

    The solution is not very pretty, but it can be found here: http://forums.ni.com/t5/LabVIEW/Missing-quot-Zoom-to-fit-quot-in-application-EXE-build/td-p/905681

    Birgit

Maybe you are looking for