Can somebody explain the behavior of these notifiers

Hey guys,
I have been experimenting with notifiers before I used them in a new project. (It's funny that I already had the same introduction in my mind as this post while searching for more info)
So I was editing the LabVIEW 2013 example to try to understand its behavior but then I came across this weird behavior that I cannot understand.
If you run the attached VI, everything seems to work as expected and you can see Notification Loop updating with values from
Notifier Loop 1 and Notifier Loop 2. However, when you press the "switch" button and change the wait time of the Notification Loop, things start acting weird.
1.First the value of Notifier Loop 2 never updates any more. I thought this had to with aliasing but changing the values of Notifier 2 Loop delay doesn't change anything unless its value is less than Notifier 1 Loop Delay.
2.More importantly, now the values from Notifier Loop 2 is appearing in Notifier Loop 1.
 I inserted an increment function in Notifier 2 Loop so that the sine graph would have an offset be easier to differentiate.
Now Notifier 1 is a sine wave that has a bit of offset instead of Notifier 2.
Whats going on?
Attachments:
Wait on Multiple Notifiers modified.zip ‏17 KB

doradorachan wrote:
...but it still doesn't explain why this is happening.
You're going to have to explain what "this" is.
I am talking about how Notification 1 graph is representing both Notifications. Two sets of notifiers should be coming out separately but it doesnt.
You can check the array size and see that the array size of the notifications changes from 2 to 1 when Notification Loop runs faster.  I have attached another modified VI to explain this.
tst wrote:
You're not reading faster than you are writing. I can't look at the code now, but I believe you had an infinite timeout on the W4MN primitive. That should cause it to wait until there is a notification it hasn't seen, thereby slowing the loop to the rate of the faster generator. You should be able to see that if you time the loop. And my understanding is that you *are* seeing the slower updates from the second generator, which is why you're seeing two waveforms.
That's exactly my point. There is an infinite timeout on the W4MN and I have False attached to "ignore previous" which means that every notification should pass along the data. Now that I know for a weird reason both notifiers data are combined into one graph, I can see that Notifier Loop 2 is indeed updating the values correctly. The only problem is that It is being updated as the wrong notifier
Attachments:
Wait on Multiple Notifiers modified2.zip ‏18 KB

Similar Messages

  • Can somebody explain the function of these components ?

    Hi
    i'm going to buy cs5
    but again it's a great software , the best , is not cheap
    i would like to know the function of these components
    AdobeAIR1.5.3
    AdobeAMP1.8
    AdobeAPE3
    AdobeCSXSExtensions2
    AdobeCSXSInfrastructure2
    AdobeJRECS5
    SwitchBoard2
    please don't tell me it doesn't matter
    i guess a future customer should be know at least the function of this componets
    thanks

    These are "under the hood" extensions required to run the apps. E.g. you need the CSX infrastructure for user defined panels and exchanging data between some apps. The JRE is required by the installer and soem stuff in Flash// Dreamweaver. AIR should be self-explaining, Switchboard is a global monitoring service. If you thought of getting rid of any of that - don't, they are crucial.
    Mylenium

  • Can anyone explain the difference between these 2 versions?

    I don't understand why Version 2 works and Version 1 does
    not. Both are on the main timeline, however Version 2 nests one
    clip inside the other. They both display correctly, however
    mouse-dragging only works on the Version 2. The events don't get
    fired for Version 1. Can anyone explain what's up?
    Version 1:
    this.createEmptyMovieClip("thisClip",getNextHighestDepth());
    thisClip.loadMovie("man.swf");
    thisClip.onPress = image_press;
    thisClip.onRelease = image_release;
    Version 2:
    this.createEmptyMovieClip("thisClip",getNextHighestDepth());
    thisClip.createEmptyMovieClip("man",
    thisClip.getNextHighestDepth());
    thisClip
    .man.loadMovie("man.swf");
    thisClip.onPress = image_press;
    thisClip.onRelease = image_release;
    The handlers are defined as simple calls to
    startDrag/stopDrag:
    function image_press() {
    this.startDrag(false);
    trace("man press");
    function image_release() {
    this.stopDrag();
    trace("man release");

    handlers applied to a movieclip (like your thisClip.onPress
    handler) is removed when that movieclip is the target of a
    loadMovie() statement. when loading is complete you can assign an
    onPress handler that functions as you expect. or you can use
    version 2 to target the child of a movieclip and assign handlers to
    the parent.

  • Can someone explain the difference between these to kerberos AFP listings

    I have been doing quite a bit of digging to solve a widespread AFP idle disconnect issue, and while comparing settings among multiple servers, I noticed a kerberos recond variation that I don't understand.
    Most of the servers under the APF settings list a record like this:
    afp:kerberosPrincipal = "afpserver/[email protected]"
    One in particular, lists a record like this that is comepletely different from the other servers:
    afp:kerberosPrincipal = "afpserver/LKDC:SHA1.F4848D1138AE9704A1A67C3F2F25AE98465D6465@LKDC:SHA1.F4848D1138AE9704A1A67C3F2F25AE98465D6465"
    Can anyone explain to me why the difference and what it means?

    Basically it's the Local Key Distribution Centre ostensibly used for peer to peer file sharing and Access Control Lists etc as compared to SSO in a Networked Directory environment such as OD, AD, eDirectory, OpenLDAP etc. Wikipedia explains it fairly well if you're interested?
    https://dreness.com/wikimedia/index.php?title=LKDC
    In practical terms I have seen it cause confusion sometimes when authenticating file shares. It usually happens when File Sharing has been started prior to configuring DNS Services properly and starting PM and/or OD. The AFP server preference file appears to be 'locked' with the LKDC info instead of the server one and networked users fail to authenticate when accessing a share. It's a rare-ish occurence (I've seen it happen a few of times) but can take a while to troubleshoot because defining shares and applying ACLs in the GUI shows no problems.
    However this may not be the case with whatever problems you may be having? It's easy to 'fix' though, simply unshare whatever you've shared, stop the service, remove the preference file, reboot the server, restart the service. Check the information in the preference file is what it should be.

  • Drilling-down in charts - can someone explain the behavior please

    Hi guys,
    I'm trying to understand how a particular chart is drillable "Sample Sales".
    The report in question is 8020 from "03 Tiering and Distribution". I circled the report that I clicked on:
    !http://img407.imageshack.us/img407/4103/screen1c.jpg!
    Then, it took me to the more detailed view of the same report (8020):
    !http://img203.imageshack.us/img203/2144/screen2c.jpg!
    I checked the report and the Interaction property in "Additional Charting Option Menu" for this chart was set to Default. The measure that's being drilled-in in Percentile - and it also has Default in its interaction properties.
    So I guess I have several questions:
    1. How does this report drill to the more detailed level on the same report? (is this because everything is set to "Is Prompted")?
    2. Why does "Default" value allow for drill-down in the chart? I tried creating my own charts - and Default there doesn't trigger a drill-down at all, even though there's data on a lower level.
    3. Can you drill in-place and have some content to remain relatively static - and some other fields change? I saw a similar question before - where it was suggested to use more than 1 report in the Dashboard view. (instead of combining everything in compound view).
    Thank you

    For #2. I believe you did not create hierarchies in your rpd for those dimensions and measures you have on report.
    For # 3. I belive the first 3 reports in this dashboard are aligned horizantally inside one section of the dashboard and "Drill in Place" has been enabled on the section / these answer requests. Check the section properties. If you want this behavior, try each report embedded in different sections and enable drill in place for each section where you want to drill further but remaining content remains same.
    btw how did you paste your dashboard over here? Thats cool way of posting images.. appreciate your response.
    Thanks

  • Can somebody explain the error when i try to delete something off my Jlist?

    type String name, password, phone and int currently salary and desired salary.
    press the add button.
    then click on the name and pres delete. theres a huge error on the command prompt. could some1 tell me how to solve it?
    here are the codes:
    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.*;
    import javax.swing.event.*;
    import java.text.*;
    import java.util.*;
    import java.util.Vector;
    import javax.swing.JScrollPane.*;
    import javax.swing.event.ListSelectionListener;
    public class Employment extends JFrame
            //declare class variables
            private JPanel jpApplicant, jpEverything,jpWEST, jpCENTRE, jpEAST, jpAddEditDelete,
                                       jpCentreTOP, jpCentreBOT, jpEastTOP, jpEastCENTRE, jpEastBOT,
                                       jpBlank1, panel1, panel2, panel3, panel4,jpBottomArea,
                                       jpEmptyPanelForDisplayPurposes;
            private JLabel jlblApplicantForm, jlblAppList, jlblName, jlblPhone,
                                       jlblCurrentSalary, jlblPassword, jlblDesiredSalary,
                                       jlblNotes, jlblApplicantSkills, jlblIndustrySkills,
                                       jlblBlank1, jlblBlank2, ApplicantListLabel,
                                       NotesListLabel, ApplicantSkillsLabel,
                                       IndustrySkillsLabel,jlblEmptyLabelForDisplayPurposes;  
            private JButton jbtnAdd1, jbtnEdit, jbtnDelete, jbtnSave, jbtnCancel,
                                            jbtnAdd2, jbtnRemove;
            private JTextField jtfName, jtfPhone, jtfCurrentSalary, jtfPassword,
                                               jtfDesiredSalary;
      private JTabbedPane tabbedPane;
            //private DefaultListModel listModel2;
      String name,password,phone,currentsalary,desiredsalary,textareastuff,allthetext;
      String selectedname;
            final JTextArea Noteslist= new JTextArea();
            DefaultListModel listModel = new DefaultListModel();
            JList ApplicantSkillsList = new JList(listModel);
            DefaultListModel listModel2=new DefaultListModel();
      JList ApplicantList = new JList(listModel2);
           private ListSelectionModel listSelectionModel;
            JList  IndustrySkillsList;
                  Vector<StoringData> details = new Vector<StoringData>();             
                public static void main(String []args)
                    Employment f = new Employment();
                    f.setVisible(true);
                    f.setDefaultCloseOperation(EXIT_ON_CLOSE);
                    f.setResizable(false);
                }//end of main
                    public Employment()
                            setSize(800,480);
                            setTitle("E-commerce Placement Agency");
          Font listfonts = new Font("TimesRoman", Font.BOLD, 12);
                            JPanel topPanel = new JPanel();
                            topPanel.setLayout( new BorderLayout() );
                            getContentPane().add( topPanel );
                            createPage1();
                            createPage2();
                            createPage3();
                            createPage4();
                            tabbedPane = new JTabbedPane();
                            tabbedPane.addTab( "Applicant", panel1 );
                            tabbedPane.addTab( "Job Order", panel2 );
                            tabbedPane.addTab( "Skill", panel3 );
                            tabbedPane.addTab( "Company", panel4 );
                            topPanel.add( tabbedPane, BorderLayout.CENTER );
            public void createPage1()//PAGE 1
             /*******************TOP PART********************/
                            panel1 = new JPanel();
                            panel1.setLayout( new BorderLayout());
          jpBottomArea = new JPanel();
          jpBottomArea.setLayout(new BorderLayout());
                            jpApplicant= new JPanel();
                            jpApplicant.setLayout(new BorderLayout());
                            Font bigFont = new Font("TimesRoman", Font.BOLD,24);
                            jpApplicant.setBackground(Color.lightGray);
                            jlblApplicantForm = new JLabel("\t\t\t\tAPPLICANT FORM  ");
                            jlblApplicantForm.setFont(bigFont);
                            jpApplicant.add(jlblApplicantForm,BorderLayout.EAST);
                            panel1.add(jpApplicant,BorderLayout.NORTH);
                            panel1.add(jpBottomArea,BorderLayout.CENTER);
           /********************************EMPTY PANEL FOR DISPLAY PURPOSES*************************/
               jpEmptyPanelForDisplayPurposes = new JPanel();
               jlblEmptyLabelForDisplayPurposes = new JLabel(" ");
               jpEmptyPanelForDisplayPurposes.add(jlblEmptyLabelForDisplayPurposes);
               jpBottomArea.add(jpEmptyPanelForDisplayPurposes,BorderLayout.NORTH);
           /*****************************************WEST*********************************/             
                            jpWEST = new JPanel();                 
                            jpWEST.setLayout( new BorderLayout());
                            //Applicant List
         // listModel2=new DefaultListModel();
         // ApplicantList = new JList(listModel2);
                listSelectionModel = ApplicantList.getSelectionModel();
                listSelectionModel.addListSelectionListener(new SharedListSelectionHandler());
                JScrollPane scrollPane3 = new JScrollPane(ApplicantList);
          ApplicantList.setPreferredSize(new Dimension(20,40));
             scrollPane3.setHorizontalScrollBarPolicy(JScrollPane.HORIZONTAL_SCROLLBAR_ALWAYS);        
                            scrollPane3.setVerticalScrollBarPolicy(JScrollPane.VERTICAL_SCROLLBAR_ALWAYS);
                            ApplicantListLabel = new JLabel( "Applicant List:");
                            jpWEST.add(ApplicantListLabel,"North"); 
                            jpWEST.add(scrollPane3,"Center");
                            jpBottomArea.add(jpWEST,BorderLayout.WEST);
                            /*********CENTRE*********/
                            jpCENTRE = new JPanel();
                            jpCENTRE.setLayout(new GridLayout(2,1));
                            jpCentreTOP = new JPanel();
                            jpBottomArea.add(jpCENTRE,BorderLayout.CENTER);
                            jpCENTRE.add(jpCentreTOP);
                            jpCentreTOP.setLayout(new GridLayout(6,2));
                          //Creating labels and textfields
                            jlblName = new JLabel( "Name:");
                            jlblBlank1 = new JLabel ("");
                            jtfName = new JTextField(18);
                            jlblBlank2 = new JLabel("");
                            jlblPhone = new JLabel("Phone:");
                            jlblCurrentSalary = new JLabel("Current Salary:");
                            jtfPhone = new JTextField(13);
                            jtfCurrentSalary = new JTextField(7);
                            jlblPassword = new JLabel("Password:");
                            jlblDesiredSalary = new JLabel("Desired Salary:");
                            jtfPassword = new JTextField(13);
                            jtfDesiredSalary = new JTextField(6);
                          //Add labels and textfields to panel
                            jpCentreTOP.add(jlblName);
                            jpCentreTOP.add(jlblBlank1);
                            jpCentreTOP.add(jtfName);
                            jpCentreTOP.add(jlblBlank2);
                            jpCentreTOP.add(jlblPhone);
                            jpCentreTOP.add(jlblCurrentSalary);
                            jpCentreTOP.add(jtfPhone);
                            jpCentreTOP.add(jtfCurrentSalary);
                            jpCentreTOP.add(jlblPassword);
                            jpCentreTOP.add(jlblDesiredSalary);
                            jpCentreTOP.add(jtfPassword);
                            jpCentreTOP.add(jtfDesiredSalary);
                            //Noteslist
                            jpCentreBOT = new JPanel();
                            jpCentreBOT.setLayout( new BorderLayout());
                            jpCENTRE.add(jpCentreBOT);
                            jpBlank1 = new JPanel();
         // Noteslist = new JTextArea(/*Document doc*/);
                            JScrollPane scroll3=new JScrollPane(Noteslist);
                            scroll3.setHorizontalScrollBarPolicy(JScrollPane.HORIZONTAL_SCROLLBAR_NEVER);        
                            scroll3.setVerticalScrollBarPolicy(JScrollPane.VERTICAL_SCROLLBAR_ALWAYS);
                            NotesListLabel = new JLabel( "Notes:");
                            jpCentreBOT.add(NotesListLabel,"North"); 
                            jpCentreBOT.add(scroll3,"Center");
                            jpCentreBOT.add(jpBlank1,"South");
                            jpBottomArea.add(jpCENTRE,BorderLayout.CENTER);
                            /**********EAST**********/
                            //Applicant Skills Panel
                            //EAST ==> TOP
                            jpEAST = new JPanel();
                            jpEAST.setLayout( new BorderLayout());
                            jpEastTOP = new JPanel();
                            jpEastTOP.setLayout( new BorderLayout());
                            ApplicantSkillsLabel = new JLabel( "Applicant Skills");
                            JScrollPane scrollPane1 = new JScrollPane(ApplicantSkillsList);
                           scrollPane1.setHorizontalScrollBarPolicy(JScrollPane.HORIZONTAL_SCROLLBAR_NEVER);        
                          scrollPane1.setVerticalScrollBarPolicy(JScrollPane.VERTICAL_SCROLLBAR_ALWAYS);        
                            ApplicantSkillsList.setVisibleRowCount(6);
                            jpEastTOP.add(ApplicantSkillsLabel,"North"); 
                            jpEastTOP.add(scrollPane1,"Center");
                            jpEAST.add(jpEastTOP,BorderLayout.NORTH);
                            jpBottomArea.add(jpEAST,BorderLayout.EAST);
                            //Add & Remove Buttons
                            //EAST ==> CENTRE
                            jpEastCENTRE = new JPanel();
                            jpEAST.add(jpEastCENTRE,BorderLayout.CENTER);
                            jbtnAdd2 = new JButton("Add");
                            jbtnRemove = new JButton("Remove");
                            //add buttons to panel
                            jpEastCENTRE.add(jbtnAdd2);
                            jpEastCENTRE.add(jbtnRemove);
                            //add listener to button
                           jbtnAdd2.addActionListener(new Add2Listener());
                           jbtnRemove.addActionListener(new RemoveListener());
                            //Industry Skills Panel
                            //EAST ==> BOTTOM
                            jpEastBOT = new JPanel();
                            jpEastBOT.setLayout( new BorderLayout());
                           String[] data = {"Access97", "Basic Programming",
                           "C++ Programming", "COBOL Programming",
                           "DB Design", "Fortran programming"};
                           IndustrySkillsList = new JList(data);
                           JScrollPane scrollPane = new JScrollPane(IndustrySkillsList);
                           scrollPane.setHorizontalScrollBarPolicy(JScrollPane.HORIZONTAL_SCROLLBAR_NEVER);        
                           scrollPane.setVerticalScrollBarPolicy(JScrollPane.VERTICAL_SCROLLBAR_ALWAYS);
                           IndustrySkillsLabel = new JLabel( "Industry Skills:");
                           jpEastBOT.add(IndustrySkillsLabel,"North"); 
                           jpEastBOT.add(scrollPane,"Center");
                           jpEAST.add(jpEastBOT,BorderLayout.SOUTH);
                            //BOTTOM
                            jpAddEditDelete= new JPanel();
                            jbtnAdd1=       new JButton("Add");
                            jbtnEdit=       new JButton("Edit");
                            jbtnDelete=     new JButton("Delete");
                            jbtnSave=       new JButton("Save");
                            jbtnCancel=     new JButton("Clear");
                            jpAddEditDelete.add(jbtnAdd1);
                            jpAddEditDelete.add(jbtnEdit);
                            jpAddEditDelete.add(jbtnDelete);
                            jpAddEditDelete.add(jbtnSave);
                            jpAddEditDelete.add(jbtnCancel);
                           jbtnEdit.addActionListener(new EditListener());
                           jbtnDelete.addActionListener(new DeleteListener());
                            jbtnEdit.addActionListener(new EditListener());
                            jbtnAdd1.addActionListener(new Add1Listener());
                            jbtnCancel.addActionListener(new CancelListener());
                            jpBottomArea.add(jpAddEditDelete,BorderLayout.SOUTH);
            public void createPage2()//PAGE 2
                    panel2 = new JPanel();
                    panel2.setLayout( new GridLayout(1,1) );
                    panel2.add( new JLabel( "Sorry,under construction" ) );
            public void createPage3()//PAGE 3
                    panel3 = new JPanel();
                    panel3.setLayout( new GridLayout( 1, 1 ) );
                    panel3.add( new JLabel( "Sorry,under construction" ) );
            public void createPage4()//PAGE 4
                    panel4 = new JPanel();
                    panel4.setLayout( new GridLayout( 1, 1 ) );
                    panel4.add( new JLabel( "Sorry,under construction" ) );
            public class Add1Listener implements ActionListener
            public void actionPerformed(ActionEvent e)
                   // int AppListSize;
                    int listSize;
                    ApplicantSkillsList.getModel();
           listSize =listModel.getSize();
            String[] skills= new String[5];
            for(int a=0; a<listSize;a++)
            skills[a] =(String)ApplicantSkillsList.getModel().getElementAt(a);
            System.out.println(skills[a]);
                    name = jtfName.getText();
                    password = jtfPassword.getText();
                    phone = jtfPhone.getText();
                    currentsalary = jtfCurrentSalary.getText();
                    int i= Integer.parseInt(currentsalary);
                    desiredsalary = jtfDesiredSalary.getText();
                    int j= Integer.parseInt(desiredsalary);
           allthetext = Noteslist.getText();
           StoringData person = new StoringData(name,password,phone,allthetext,skills,i,j);
                    details.add(person);
                 // details.add(AppSkillsList);
                       listModel2.addElement(name);
                    jtfName.setText("");
                    jtfPassword.setText("");
                    jtfPhone.setText("");
                    jtfCurrentSalary.setText("");
                    jtfDesiredSalary.setText("");
                    Noteslist.setText("");
                       listModel.clear();
            public class Add2Listener implements ActionListener
                    public void actionPerformed(ActionEvent e)
                           String temp1;
                           temp1 = (String)IndustrySkillsList.getSelectedValue();
                           listModel.addElement(temp1);
            public class RemoveListener implements ActionListener
                    public void actionPerformed(ActionEvent e)
                            int index = ApplicantSkillsList.getSelectedIndex();
                        listModel.remove(index);
            public class EditListener implements ActionListener
                    public void actionPerformed(ActionEvent e)
                jtfName.setEditable(true);
                jtfPassword.setEditable(true);
                jtfPhone.setEditable(true);
                jtfCurrentSalary.setEditable(true);
                jtfDesiredSalary.setEditable(true);
                Noteslist.setEditable(true);
                jbtnAdd2.setEnabled(true);  
                jbtnRemove.setEnabled(true);
                jbtnSave.setEnabled(true);
                jbtnCancel.setEnabled(true);                     
            public class DeleteListener implements ActionListener
             public void actionPerformed(ActionEvent e)
         int index = ApplicantList.getSelectedIndex();
                       listModel2.remove(index);
            public class SaveListener implements ActionListener
                    public void actionPerformed(ActionEvent e)
                         selectedname =ApplicantList.getSelectedValue().toString();
                            StoringData selectedPerson = null;     
                        name = jtfName.getText();
                         password = jtfPassword.getText();
                         phone = jtfPhone.getText();
                         currentsalary = jtfCurrentSalary.getText();
                         int i= Integer.parseInt(currentsalary);
                         desiredsalary = jtfDesiredSalary.getText();
                         int j= Integer.parseInt(desiredsalary);
                              allthetext = Noteslist.getText();
                        for (StoringData person : details)
                              if (person.getName1().equals(selectedname))
                                selectedPerson = person;
                             //     changedname = person.getName1()
                             //     changedphone =
                             //     changedallthetext =
                             //     //changedcurrentsalary                      
                               //     person.setName1(jtfName.getText());
                               //     person.setPassword1(jtfPassword.getText()) ;
                               ////     person.setPhone1(phone);
                               //     person.setAllTheText(allthetext) ;
                               //     person.setCurrentSalary1(i);
                               //     person.setDesiredSalary1(j);
                           jtfName.setEditable(false);
                       jtfPassword.setEditable(false);
                       jtfPhone.setEditable(false);
                       jtfCurrentSalary.setEditable(false);
                       jtfDesiredSalary.setEditable(false);                         
                       Noteslist.setEditable(false);
            public class CancelListener implements ActionListener
                    public void actionPerformed(ActionEvent e)
                    jtfName.setText("");
                    jtfPassword.setText("");
                    jtfPhone.setText("");
                    jtfCurrentSalary.setText("");
                    jtfDesiredSalary.setText("");
                    Noteslist.setText("");
                    listModel.clear();
                       jtfName.setEditable(true);
                       jtfPassword.setEditable(true);
                       jtfPhone.setEditable(true);
                       jtfCurrentSalary.setEditable(true);
                       jtfDesiredSalary.setEditable(true);                         
                       Noteslist.setEditable(true);
                        jbtnAdd2.setEnabled(true);  
                       jbtnRemove.setEnabled(true);
            public class SharedListSelectionHandler implements ListSelectionListener
            public void valueChanged(ListSelectionEvent e)
             if(e.getValueIsAdjusting() == false){
             selectedname =ApplicantList.getSelectedValue().toString();
             StoringData selectedPerson = null;
             jtfName.setEditable(false);
             jtfPassword.setEditable(false);
             jtfPhone.setEditable(false);
             jtfCurrentSalary.setEditable(false);
             jtfDesiredSalary.setEditable(false);                         
             Noteslist.setEditable(false);
             jbtnAdd2.setEnabled(false);  
             jbtnRemove.setEnabled(false);
             jbtnSave.setEnabled(false);
             jbtnCancel.setEnabled(true);
               jtfName.setText("");
               jtfPassword.setText("");
               jtfPhone.setText("");
               jtfCurrentSalary.setText("");
               jtfDesiredSalary.setText("");
       for (StoringData person : details)
          if (person.getName1().equals(selectedname))
                         selectedPerson = person;
                         jtfName.setText(person.getName1());
                         jtfPassword.setText(person.getPassword1());
                      jtfPhone.setText(person.getPhone1());
                      Noteslist.setText(person.getAllTheText1());
                     // String sal1 = Integer.parseString(currentsalary);
                    // String sal2 = Integer.parseString(desiredsalary);
                     jtfCurrentSalary.setText(person.getCurrentSalary1()+"");
                     jtfDesiredSalary.setText(person.getdesiredsalary1()+"");
             String[] theskills = person.getSkills1();
             for(int a=0; a<theskills.length;a++)
                    listModel.addElement(theskills[a]);
             break;
       // if (selectedPerson != null)
    }

    and :
    //StoringData class
    class StoringData{
    private String name;
    private String password;
    private String phone;
    private String allthetext;
    private String[] theskills;
    private int currentsalary;
    private int desiredsalary;
    public StoringData()
      name = null;
      password = null;
      phone = null;
      allthetext = null;
      theskills = null;
      currentsalary = 0;
      desiredsalary = 0;
    public StoringData(String n,String pw, String p,String a,String[] t, int c, int d)
      name = n;
      password = pw;
      phone = p;
      currentsalary = c;
      desiredsalary = d;
      allthetext = a;
      theskills = t;
    public String getName1()
      return name;
    public String getPassword1()
      return password;
    public String getPhone1()
      return phone;
    public String getAllTheText1()
         return allthetext;
    public int getCurrentSalary1()
      return currentsalary;
    public int getdesiredsalary1()
      return desiredsalary;
    public String[] getSkills1()
         return theskills;
    public void setName1(String n)
      name = n;
    public void setPassword1(String pw)
      password = pw;
    public void setPhone1(String p)
      phone = p;
    public void setCurrentSalary1(int c)
      currentsalary = c;
    public void setDesiredSalary1(int d)
      desiredsalary = d;
    public void setAllTheText(String a)
      allthetext = a;
    }

  • Can somebody explain the logic behind "no sequences"

    My timeline tabs get full of them every now and then, particularly when I change workspace setting.
    I'm sure I'm missing something but again, why does Premiere find this necessary?

    As you have probably guessed, the number of open timelines is saved automatically as part of the workspace. When you open a project that has fewer open timelines than the last one did, and you don't modify or reset the workspace, you end up with empty timeline tabs.
    I recommend that you submit a
    Feature Request
    and ask for workspaces to be saved as part of the project, or some similar mechanism, to make this issue go away.

  • Pl.explain the relevance of these MRP views fields

    Hi
    Can somebody explain the behaviour of the  following fields , which exists in material master
    1. MRP-3 View - Availbility check - 01 for daily requirements , 02 for individual requirements
    2. MRP - 4 view - Individual / Collective - 01 for individual , 02 for collective
    regards
    Sandeep

    Dear ,
    Please find below the answer :
    1. MRP-3 View - Availbility check - 01 for daily requirements , 02 for individual requirements
       01-Daily requirements records group together or update several requirements under certain conditions in the material master record (plant, date, procedure, requirement class). For this system generates transfers the requirement for each order to the MRP .So that MM can either produce or procure.
    02- In individual requirements records, a requirement is created for each SD document. The respective entry in the stock/ requirements overview identifies the order quantity and the document which gave rise to the requirement.Here requirements in a day are processed at a time.
    In simple language  suppose you have three sales orders in one day
    - with 01, you can see only one grouped requirement in MD04;
    - with 02, you can see three.
    2. MRP - 4 view - Individual / Collective - 01 for individual , 02 for collective  : This indcator is Only applicable in MTO scinario .Not in MTS.The individual/collective indicator in the material master record determines whether a component is
    procured for a special customer requirement in the individual segment.
    Indicator 1-individual requirements means -material is specially Produced or procured for a SO. An individual segment is created for each requirement. An individual requirement is only created if the higher-level material does not create a collective requirement.Here , for example ,  if you keep 1 in MRP4 view  and you have two different sales order for same material , run MRP-MD02-It will give you two different Planned order in MD04.
    Indicator 2 - collective requirements -the material is produced or procured for various requirements and grouped together in in single Planned Order for same material with same Lot Size key -EXample -EX . if you keep 1 in MRP4 view  and you have three different sales order for same material , run MRP-MD02-It will give you one Planned order in MD04 .
    If you want to control the X individually for the respective header materials (BOM), use the "explosion control" field in the component's item data (general data view). The setting in the BOM overrules the setting in the material master record.
    Hope it is clear to you .
    Regards
    JH

  • Can somebody explain what the Radix number is in Character

    I am looking for a good way of converting numbers to characters and I was reading up on the Character API, and they are using this term Radix, and I don't understand what that is all about. Can somebody explain what the radix is for?

    Wait a second I tried this code out and this is the output
    System.err.println(Character.digit('a', 10));and i get a -1, which means "not a valid digit in the specified radix.
    Then I tried other combinations like
    System.err.println(Character.digit('a', 11));
    System.err.println(Character.digit('b', 12));
    System.err.println(Character.digit('c', 13));and they all work, and but with only those sequential characters and numbers. So right now I am very confused as to what this radix, or this function serves. Can somebody explain?

  • I bought a bluetooth earpiece to be used with my ipad. But my ipad could not detect the earpiece. My friend's other tablet was able to detect my earpiece. Can somebody explain to me why my ipad could not detect my earpiece.

    I bought a bluetooth earpiece for my ipad but my ipad could not detect the earpiece. Can somebody explain why that is so? I used the piece on my friend's tablet and it could detect the earpiece meaning that it is working. Why my ipad could'n? I want to use it to listen to music or video. I could use the normal wire type earpiece but it is very cumbersome.

    I bought a bluetooth earpiece for my ipad but my ipad could not detect the earpiece. Can somebody explain why that is so? I used the piece on my friend's tablet and it could detect the earpiece meaning that it is working. Why my ipad could'n? I want to use it to listen to music or video. I could use the normal wire type earpiece but it is very cumbersome.

  • Can somebody explain how ABC analysis is done ?

    Hi Experts,
                         Can somebody explain how ABC analysis is done . If I use MC40 transaction there I have 4option but I can use either one of those . For second option , Usage value as number we can directly specify cost and accordingly system will classify materials In A, B and C category .
    I have question on 1st 3 rd and 4 th option . How system will classify materials if These option is used .
    Please explain with examples .
    Points will be rewarded .
    Thanks in advance !
    Neal

    Hi Sir ,
                     Thanks again , I would explain what I have understood .
    MC 40 . Option selected is Usage value with value put are 70 , 20 , and 10 .
    Suppose I have 3 mat in plant
                  Stock         Value
    1) X        100 kg      1000   ( for 1 kg from MM)
    2) Y          20 PC      2300 
    3) Z          30  lt      40000
    Now how would system classify these items ? Will it consider price or only consumption /qty ? or both ?
    Please explain with the same figures . Again the 90 days period you said , is it taken automatically ? because on this T code there is no option for entering time period .
    Neal

  • Can anyone explain the function BAPI_PROJECT_GETINFO

    Hi
    Can anyone explain the function BAPI_PROJECT_GETINFO.
    Can anyone explain the import and export parameters of this function module.
    What is the logic.
    I'm getting the output as 'No data record exists'.
    This is immediately required.Please help me.
    Thanking you
    Chandrika.

    hi
    good
    go trhough this
    Short text
    Read detailed information for work breakdown structures
    Functionality
    You use this method to read detailed information about project definitions and the WBS elements of certain projects from the system.
    Notes
    Enter the project definitions and/or the WBS elements, which you want detailed information about, in the parameter PROJECT_DEFINITION or I_WBS_ELEMENT_TABLE respectively.
    If you only enter project definitions, the details of all the WBS that belong to the project definitions are read including the hierarchy. If you explicitly enter WBS elements, only these are read.
    Messages are returned in Return parameters. For information about the return values and their meaning, see the parameter documentation.
    Parameter
    PROJECT_DEFINITION
    WITH_ACTIVITIES
    WITH_MILESTONES
    WITH_SUBTREE
    E_PROJECT_DEFINITION
    RETURN
    I_WBS_ELEMENT_TABLE
    E_WBS_ELEMENT_TABLE
    E_WBS_MILESTONE_TABLE
    E_WBS_HIERARCHIE_TABLE
    E_ACTIVITY_TABLE
    E_MESSAGE_TABLE
    thanks
    mrutyun^

  • Can anyone explain the results of this

    Hi,
    When I compile and run the following:
    public class Test {
    public static void main (String args []) {
         Double a = new Double(Double.NaN);
         Double b = new Double(Double.NaN);
         if (Double.NaN == Double.NaN)
              System.out.println("True");
         else
              System.out.println("False");
         if (a.equals(b))
              System.out.println("True");
         else
              System.out.println("False");
    The result is
    False
    True
    Can somebody explain why ??
    Sincerely,
    Basant Gupta

    The latter comparison is true because the two Double objects are equal; ie. they have the same value (even though it's NaN. And what comes to the first one (JLS 4.2.3):
    NaN is unordered, so the numerical comparison operators <, <=, >, and >= return false if either or both operands are NaN (�15.19.1). The equality operator == returns false if either operand is NaN, and the inequality operator != returns true if either operand is NaN (�15.20.1). In particular, x!=x is true if and only if x is NaN, and (x<y) == !(x>=y) will be false if x or y is NaN.

  • Can anyone explain the functionality of FM f4ut_parameter_get_values ?

    Can anyone explain the functionality of FM f4ut_parameter_get_values ?
    This is used in search help to retrive values from screen.This doesnt seem to work for me

    hi,
    check this
    F4UT_PARAMETER_VALUE_GET
    Short Text
    Standard search help exit for determining contents of a srch help par.
    FunctionalityBy calling this module in a search help exit, you can find out the current contents of a search help parameter . To do this, you must pass the name of the parameter in PARAMETER.
    You must distinguish between the parameter contents that are used in the selection process of the input help process and the parameter contents that are determined by the selection process and the user selection.
    Parameter contents that are used in the selection process are default values of search help parameters, values that are included in the input help process by attaching the search help to the screen from field contents of the screen or its module pool, and possibly complex restrictions made by the user in the dialog box for restricting value. Such parameter contents can also be included in the input help process by the search help exit itself.
    The contents of the specified parameter used in the selection process are stored as complex restrictions in SELOPT_TAB after the call. If exactly one value is defined by these complex restrictions (for example if the restrictions have exactly one row and if SIGN = 'I' and OPTION = 'EQ' for this row), this unique value can be found in VALUE.
    Parameter contents that are determined by selection process and user selection are the parameter contents that are shown in the dialog box for displaying the hit list or returned on the screen. They are managed by the F4 processor in RECORD_TAB.
    This module enables you to transfer the information about the specified parameters from RECORD_TAB to RESULTS_TAB in edited form.
    Pass the name of the field of RESULTS_TAB that should contain the contents of the parameter to the function module in parameter FIELDNAME. If the row type of RESULTS_TAB is elementary, pass the value '*' in FIELDNAME. The rest of RESULTS_TAB is not changed. The values are copied row by row. By removing rows at the end or by adding intiial rows you can make sure that RESULTS_TAB has exactly as many rows as RECOD_TAB.
    Example
    You can find an example of the second kind of use of the module in the search help exit SAPBC_GLOBAL_F4_SFLIGHT of search help SFLIGHT.
    Both types of use can be found in the search help exit SAPBC_GLOBAL_F4_SFLIGHT_MIN_FR of search help SFLIGHT_MIN_FREE .
    Notes
    1. Parameters OFF_RESULT and LEN_RESULT should not be used any more since there are basic problems when using UNICODE. The contents of these parameter are still analyzed when parameter FILEDNAME is initial for compatibility reasons.
    2. Only the dialog box for restricting values can normally produce complex restrictions for a parameter.
    3. If VALUE has the value SPACE, this means that either there are complex restrictions for the parameter or the unique contents are SPACE. SELOPT_TAB must be evaluated in order to determine which of these is the case.
    4. If the search help does not have any parameter with the given name, the exception PARAMETER_UNKNOWN is triggered.
    5. Only parameter contents for the search help displayed in the hit list or the EXPORT parameters of the search help are first managed in RECORD_TAB. If the specified parameter does not satisfy one of these conditions and if parameter RESULTS_TAB is specified in the call, the exception PARAMETER_UNKNOWN can also be triggered. This is not true, however, if results were already entered for the parameter with function module F4UT_PARAMETER_RESULTS_PUT or if space was reserved for the parameter in RECORD_TAB with function module F4UT_PARAMETER_ALLOCATE. The parameter therefore should only be defined if information about the parameter contents are really required.
    6. The header lines of the specified parameter are also transferred from RECORD_TAB to RESULTS_TAB.
    7. The other parameters of this module must be defined as the parameters of the search help exit having the same name, but they are not changed by this module.
    8. RESULTS_TAB should be a standard table.
    9. The contents of the specified parameter in RECORD_TAB are copied to the specified field of table RESULTS_TAB with a MOVE of the correct type. If this is not possible, the target field is assigned the initial value.
    10. If RESULTS_TAB has no field with the name specified by FIELDNAME, only the number of rows of RESULTS_TAB is adjusted to those of RECORD_TAB as described.
    Parameters
    PARAMETER
    OFF_RESULT
    LEN_RESULT
    FIELDNAME
    VALUE
    SHLP
    CALLCONTROL
    SHLP_TAB
    RECORD_TAB
    SELOPT_TAB
    RESULTS_TAB
    Exceptions
    PARAMETER_UNKNOWN
    Function Group
    SF4U
    if helpful reward some points.
    with regards,
    Suresh Aluri.

  • Can somebody explain to me how java and xml are related?

    Hi guys
    im new to java and xml.Been reading a lot regarding java and don't seem to have a problem with it...
    the problem is the xml part...im doing a simple GUI project using swing(online store) and i have to convert it to xml
    I have absolutely NO IDEA why i must convert my java to xml and have no idea how to do that.I been reading on the net that xml is a exten~ markup language and it is better and useful.
    Can somebody explain to me in layman terms
    1)how is java and xml related in?
    2)why do ppl want to convert java to xml when they can just stick to java
    3)what is actually xml...
    4)Do i need a program to create xml like i need jcreater to create java application
    5)How do we actually convert?is there any links that you guys could tell me?
    thank you
    tomleo

    im new to java and xml.Been reading a lot regarding
    java and don't seem to have a problem with it...Okay.
    the problem is the xml part...im doing a simple GUI
    project using swing(online store) and i have to
    o convert it to xmlYou have to? So presumably somebody in a position of authority told you that?
    I have absolutely NO IDEA why i must convert my java
    to xml and have no idea how to do that.I been reading
    on the net that xml is a exten~ markup language and
    it is better and useful.I have no idea either (besides which, it doesn't make sense). But why ask us? Somebody told you to do that, ask them why.
    Sure, XML is useful. But it isn't a programming language so it can't be used as a substitute for Java.
    Can somebody explain to me in layman terms
    1)how is java and xml related in?They aren't related, except perhaps in that they are both used in computers.
    2)why do ppl want to convert java to xml when they
    can just stick to javaThey don't.
    3)what is actually xml...Start here for numerous definitions:
    http://www.google.ca/search?hl=en&lr=&oi=defmore&q=define:XML
    4)Do i need a program to create xml like i need
    jcreater to create java applicationNo, XML is just text. But then Java code is just text too.
    5)How do we actually convert?is there any links that
    you guys could tell me?You don't convert Java to XML. My guess is that because you don't know much about Java or XML, you have misinterpreted something that somebody told you.

Maybe you are looking for

  • How to trigger a workflow for DESADV when the IDOC reaches status 51

    Hi, A notification to the a user should be sent when DESADV goes to a error status 51. I'm in SAP6.0 : Basic type: DELVRY05 Message type: DESADV Idoc: IDOCDESADV Event: inputErrorOccurred Task to be linked for the event : TS00008178 In SWETYPV the ev

  • Phone adapter PAP2T

    Hallo guys, I just bought the above phone adapter, but I can't configure it right. I gave it static ip, my router as gw, my voip provider as proxy (if I am not mistaken), user name and password of my voip provider. Still the light of the phone port r

  • Finding an anomaly in a set of numbers

    Hi, I am trying to find an anomaly in a set of numbers. However, I'm struggling to implement it. Let's say I have the following numbers: 1 2 3 2 1 5 1 The number five would be the anomaly in this case. How would I be able to find this with a piece of

  • Missing Push Buttons in Pie Chart

    The above pie chart is in the development mode, where there is no push buttons in the canvas...like 2014,2013,2012,2011,2010 Here when the same pie chart is taken in preview mode, there appears push buttons to select the year and find the respective

  • I can not open face book application

    since 2 days ago my face book application suddenly does not open