Numberic control clear contents

hi,
sorry but this is a newbie question........
i have a numeric control with a default value (0.0) on my front panel. 
i want to clear the contents when i click on the control so that when the user clicks the control to enter a value they dont have to delete the contents.......
any help is appreciated.......
thanks.
Solved!
Go to Solution.

Hi loayn,
                                Best way is, there is a invoke node called re-initialize all to default. Invoke this node as soon as your program starts. By default in labview all the numeric control will having 0 as default value.
something like this,
Hope this will be useful
Kudos are always welcome if you got solution to some extent.
I need my difficulties because they are necessary to enjoy my success.
--Ranjeet
Attachments:
Reinitialize.jpg ‏57 KB

Similar Messages

  • Rman causing control file contention

    Hi,
    may i ask for your opinions and advice regarding control file contention issues.
    last week when rman was running it caused a locking issue with another session in another node and based on ash/awr reports there was a control file contention issue..
    in need of your advice and opinions
    thanks.

    Hi,
    I have too little experience with RAC, so you better wait for some answers from experts on that matter.
    Nevertheless, my thoughts are as follows:
    * You have enqueue contention, and this should be taken care of by the GES part of your CRS layer: maybe a place to check if you can trace back any problems.
    * I thought that the version management should be like : CRS version >= ASM version >= DB version .... and this is no longer your situation since your CRS version seems to be 10g when your database run 11g.
    Maybe you could also mention if you use ASM, and where your control files are located.
    Again, wait for experienced answers...
    HTH,
    Thierry

  • Clear contents in jtable swing

    How to clear contents from jtable in java swing?

    Remove them from your data model and update the view...

  • Checkpointing - control file contents question

    Some clarification is needed if possible...
    When you commit a transaction:
    - commit scn is recorded in the itl of the data block and undo segment header
    - lgwr records the committed scn (for all data blocks involved) to the redo log
    Checkpoint Event
    - (3 seconds or possibly less passes by) CKPT wakes up and signals DBWn to write dirty (modified and committed)
    blocks to disk
    - CKPT records the scn of those blocks in the control file (data file and redo thread sections) and the data file
    header (task of checkpoint when a log switch occurs)
    - Checkpoint position in the Redo Log is forwarded
    Control file contents question:
    When LGWR writes the commit scn to the redo log, who writes the scn to the control file? LGWR or CKPT?
    Also, when is the redo thread scn written?
    Matt

    Matt,
    This is my understanding of the stuff. Feel free to correct me.
    Checkpoint SCN , as I mentioned in my last reply is the marker of the point till which the data is "chekpointed" to the datafiles. This marker tells the controlfile that in the case of the crash, where to start recovery of the datafile and have to go which extent in the redo stream? This is only available in the datafile header and in the controlfile. This doesn't get recorded in the redo log file/stream.
    I mentioned checkpoint queue in my reply too. Though I couldn't find any reference directly mentioned between this and in the checkpoint SCN but I believe my theory , if not totall, partially is correct. The incremental checkpoint is the stuff which makes the decision that how many redo blocks needs to be applied to the datafile if its closed without a proper checkpoint. So this part is maintained in the Datafile header itself in the form of the checkpoint SCN. When not matched with the conrolfile checkpoint SCN, which is always higher than this, a recovery is reported.
    I hope its somewhat correct. Do let me know your views too.
    Cheers
    Aman....

  • Controlling shockwave content (dcr) from a web page using javascript

    Hi,
    Is it possible to control shockwave content (dcr; object="application/x-director") from a web page using javascript?
    I believe this is possible using 'FSCommand' in Flash...
    I'd like to use HTML to do something like:
    - html_object[1].go(10);
    to send playback to frame 10.
    Thanks.
    Mark

    Sean,
    Thanks - this is exactly what I was looking for.
    'Shockingly' difficult ( pun intended :-)
    Someone really put in some effort on this.
    Very creative solution, putting a flash ( swf ) component in a director project and communicating indirectly through the flash element.
    Apparently, Javascript can communicate with the SWF file & the SWF file can communicate with the DCR file, but it is not possible to have Javascript communicate directly with the DCR. Too bad.
    After looking over this example I think I'll rethink my project.
    Thanks again.
    Mark

  • I was told by the Apple store to create multiple user ids to control the content on my iphone. I did that and now I cannot find my original library with all of my playlists

    I was told by the Apple store to create separate user ids on my windows computer to create a new library to control the content on my iphone. I held down shift and clicked i tunes and created the library. I was told you can switch back and forth. I cannot find the old library and all of my playlists. Apple really needs a better way for families to manage their libraries and devices. This is such a pain in the butt!

    No, as I stated in the post this is the first issue we've had with the phone. No, this was not a replacement phone, this is the same phone I bought from the apple store in December and had not been serviced by anyone, it did not have any issues until last week.

  • I wish to clear content

    I wish to clear content from my mac book pro

    Hi Fensta,
    I apologize, I'm a bit unclear on the exact nature or scope of your question. If you mean that you are looking to free up additional disk space on your MacBook Pro, you may find the information in the following article helpful:
    OS X Yosemite: Increase disk space
    Regards,
    - Brenden

  • Parental controls--turning off safari only way to control explicit content?

    The password protected parental controls I think are a great idea especially when it come to viewing the web. However I have a few questions:
    1. is turning safari off the only choice for controlling explicit content?
    2. I understand turning off safari makes the safari icon disappear but if I turn off safari I would still like to be able to run website specific apps like Ebay--is that still possible?
    4. Does anyone know if there are any SDK developers working on more robust internet filtering for the iphone?
    5. Alternatively, can iphone's parental controls (or perhaps a SDK app) keep the user from deleting the browser history without the password so it can be monitored?

    my kids at age 7 are not allowed on the internet and I have to make a safe website list on my wifi router.
    I know if they bring it to a friends house then its will be wide open and they are not allowed to do so yet.
    I hope a kids safe app will be made or some parental controls to be made available soon
    Click here to Backup the data on your BlackBerry Device! It's important, and FREE!
    Click "Accept as Solution" if your problem is solved. To give thanks, click thumbs up
    Click to search the Knowledge Base at BTSC and click to Read The Fabulous Manuals
    BESAdmin's, please make a signature with your BES environment info.
    SIM Free BlackBerry Unlocking FAQ
    Follow me on Twitter @knottyrope
    Want to thank me? Buy my KnottyRope App here
    BES 12 and BES 5.0.4 with Exchange 2010 and SQL 2012 Hyper V

  • Tab control and content

    on my main page i have a five tab control, and each tab has its own content. below the tab control and external to it is another region containing a dynamic page portlet. this region faithfully shows its contents when 4 of the 5 tabs are displayed. when the 5th tab is displayed, it is empty. i've cleared the cache numerous time with no effect.
    if anybody has any ideas please pass them on.
    thanks,
    curtis

    Try to ask advice at the MozillaZine Extension Development forum.
    * http://forums.mozillazine.org/viewforum.php?f=19
    You need to register at the MozillaZine forum site in order to post at that forum.

  • Can you print all the tab control's contents and include the tabs?

    We are trying to generate a report that includes the contents of a tab control (graphs, text).  Using the Append Control Image to Report.vi, we are only able to print out the active tab and the tab is cut off of the image. How can we generate reports that include all the tab pages and their contents and include the labeling tabs?
    Thanks in advance.
    Jim

    I do have a workaround for makinging the prints but it looks like some sort of cropped screensave that cuts off the tabs.  In my sample I was printing out 3 of the tab controls and you can see there are three by the cut off tabs.  Is there a setting to allow for more of the graph and its surroundings to be "captured"?
    Attachments:
    Document.pdf ‏53 KB
    Document (2).pdf ‏51 KB
    Document (3) (2).pdf ‏58 KB

  • Clearing contents of a field when updating using an XML document.

    When trying to update a document using XML and the DI API, how can you clear the contents of a field in the document? This in particularly is a nvarchar field.

    >
    Michaela Pfeifer wrote:
    > Hi,
    >
    > we are using the XIF-Adapter to receive business partners from a third party system. The third party system send the data in xml via http.
    >
    > My question is now. Is there any possibility to do a mapping of the data before processing. As i understand I can use the LSMW to do the mapping when receiving iDoc-Files. Is that also possible for XML?
    >
    > Thanks
    > Michaela
    Hi Michael,
    I have to migrate third party data in XML format, pls provide me the configuration guide regarding that.
    Thanks a lot.
    #shobhit(DOT)techy(AT)(gmail).com

  • Cursor positioning in table control: marking content of a field

    Hello everybody,
    I use a table-control for data input. For fast data input, my customers need dynamic positioning of the cursor. I'm using the set cursor field ... line ... statement and it works fine, except for one problem with a large text-field:
    Is it possible to set the cursor in a field plus mark all the content of the field? The behaviour, i'm looking for is that any input in the field will replace the existing content. Is there any other option?
    Thank you for any suggestions, regards, Kathrin!

    So you want dynamic cursor positioning within a table control. Take a look at FM SCROLLING_IN_TABLE and demo program DEMO_DYNPRO_TABCONT_LOOP. If this does not address your requirements the you can do it manually as follows:
    For example, your internal table has 30 rows, your table control displays 10 rows (value of sy-loopc) at one time. The value of <tabctrl>-top_line contains 11, meaning you are at the second page of table control. Your cursor is at 12th row and now on pressing ENTER, you want the cursor to be positioned at 13th row.
    In your PAI, issue the statement GET CURSOR LINE <lineno>. This will give you the current cursor position in the table control with reference to the top row currently displayed. So the value of <linno> will be 2.
    In your PBO, calculate the next line no to position your cursor into. This can be done by the formula:
      next_line = <tabctrl>-TOP_LINE + <linno> - 1.
    Then issue the statement SET CURSOR FIELD <field_name> LINE <next_line>.
    Hope this helps.
    Regards
    Message was edited by: Shehryar Khan

  • Cleared content and settings in iPod touch, now computer says it has malfunctioned

    My ipod touch was working perfectly fine, but i was going to give it to a friend and so i decided to go into settings and clear the content and settings, so that it was a fresh ipod.  Well now it says connect to iTunes, but when i connect it to the computer it says that "USB device not recognized: the Device has malfunctioned and cannot be recognized" something like that.  And then it says it failed to install drivers and disconnects.  I do not know what is wrong and why it wont connect to my computer and iTunes.
    I need some help.

    Yes.  So try the following to et iTunes to see the iPod;
    - Place the iPod in recovery mode. See:
    iPhone and iPod touch: Unable to update or restore
    - Place the iPod in DFU mode.
    How to put iPod touch / iPhone into DFU mode « Karthik's scribblings

  • Time taken to clear content and data

    I have just cleared the content and data from my 64G Ipad1, and it has been showing the Apple icon with progress bar (with no progress at all) for the past 3 hours.  May I enquire how long does it usually take??
    THe ipad does not respond at all now and it worries me.  Is it normal??
    Thanks in advance for the inputs.

    It shouldn't take but a minute or two.
    You need to restore the device.
    iTunes: Backing up, updating, and restoring your iPhone, iPad, or iPod touch software

  • Clear content pane problems

    can anyone tell why can't I clear the content pane in the following code or a method to achieve this thing?
    thank you.
    * To change this template, choose Tools | Templates
    * and open the template in the editor.
    package librabrymanagementf;
    import java.awt.event.ActionEvent;
    import java.awt.event.*;
    import javax.swing.*;
    import javax.swing.event.*;
    import java.awt.*;
    import javax.swing.SwingUtilities;
    import java.io.*;
    import java.io.File;
    import java.lang.Object;
    * @author emi
    public class Main {
         * @param args the command line arguments
        public static void main(String[] args) {
                  // Creates a model of the system logic.
            libraryModel model = new libraryModel();
            // Creaties a view for the system logic.
            libraryView view = new libraryView();
            // Creates a controller that links the two.
            libraryController controller = new libraryController(model, view);
      class libraryModel{
       public void addToFile(String title, String author, String ID){
       try{   
        FileWriter fw= new FileWriter("file.txt",true);
        fw.write(title+"\t"+author+"\t"+ID);
        fw.write("\r\n");
        fw.close();}
        catch (IOException e)
                   System.err.println ("Unable to write to file");
                   System.exit(-1);
      class libraryView{
          libraryModel model= new libraryModel();
         JFrame frame = new JFrame("[=] JMenuBar [=]");
        JMenuItem addBook = new JMenuItem("Add Book");
        JMenuItem deleteBook = new JMenuItem("Delete Book");
        JMenu modifyBook = new JMenu("Modify Book");
        JMenuItem modifyByTitle = new JMenuItem("Modify by Title");
        JMenuItem modifyByAuthor = new JMenuItem("Modify by Author");
        JMenu searchBook = new JMenu("Search Book");
        JMenuItem searchByTitle = new JMenuItem("Search by Title");
        JMenuItem searchByAuthor = new JMenuItem("Search by Author");
        JMenuItem searchByID = new JMenuItem("Search by ID");
        JMenuItem bookListing = new JMenuItem("Book Listing");
        JMenuBar menuBar = new JMenuBar();
        JMenu menu = new JMenu("Options");
        JPanel panel;
        JPanel textPanel, panelForTextFields, completionPanel;
        JLabel titleLabel, authorLabel, IDLabel, bookTitleLabel, passLabel;
        JTextField bookTitleField, authorField, IDField;
        JButton loginButton;
    public libraryView(){
         createAndShowGUI();
    public void CreateMenuBar()
          menuBar.add(menu);
          menu.add(addBook);
          menu.add(deleteBook);
          modifyBook.add(modifyByTitle);
          modifyBook.add(modifyByAuthor);
          menu.add(modifyBook);
          searchBook.add(searchByTitle);
          searchBook.add(searchByAuthor);
          searchBook.add(searchByID);
          menu.add(searchBook);
          menu.add(bookListing);
          frame.setJMenuBar(menuBar);
       public void createAndShowGUI(){
          frame.setSize(400,400);
          frame.setVisible(true);
          frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
          CreateMenuBar();
       public void addBookForm(){
            JPanel panel = new JPanel();
            clear(panel);
            panel.setLayout(null);
            titleLabel = new JLabel("Add Book");
            titleLabel.setLocation(0,0);
            titleLabel.setSize(290, 30);
            titleLabel.setHorizontalAlignment(0);
            panel.add(titleLabel);
            // Creation of a Panel to contain the JLabels
            textPanel = new JPanel();
            textPanel.setLayout(null);
            textPanel.setLocation(10, 35);
            textPanel.setSize(70, 150);
            panel.add(textPanel);
            // Book title Label
            bookTitleLabel = new JLabel("Title");
            bookTitleLabel.setLocation(0, 0);
            bookTitleLabel.setSize(70, 40);
            bookTitleLabel.setHorizontalAlignment(4);
            textPanel.add(bookTitleLabel);
          // Book author Label
            authorLabel = new JLabel("Author");
            authorLabel.setLocation(0, 40);
            authorLabel.setSize(70, 40);
            authorLabel.setHorizontalAlignment(4);
            textPanel.add(authorLabel);
             // Book ID Label
            IDLabel = new JLabel("ID");
            IDLabel.setLocation(0, 80);
            IDLabel.setSize(70, 40);
            IDLabel.setHorizontalAlignment(4);
            textPanel.add(IDLabel);
             // TextFields Panel Container
            panelForTextFields = new JPanel();
            panelForTextFields.setLayout(null);
            panelForTextFields.setLocation(110, 47);
            panelForTextFields.setSize(200, 130);
            panel.add(panelForTextFields);
            // book title Textfield
            bookTitleField = new JTextField(8);
            bookTitleField.setLocation(0, 0);
            bookTitleField.setSize(200, 20);
            panelForTextFields.add(bookTitleField);
            // book author Textfield
            authorField = new JTextField(8);
            authorField.setLocation(0, 40);
            authorField.setSize(200, 20);
            panelForTextFields.add(authorField);
            //book id Textfield
            IDField = new JTextField(8);
            IDField.setLocation(0, 80);
            IDField.setSize(200,20);
            panelForTextFields.add(IDField);
             // Button for Submit
            loginButton = new JButton("Submit");
            loginButton.setLocation(170, 180);
            loginButton.setSize(80, 20);
            loginButton.addActionListener(new ActionListener() {
                 public void actionPerformed(ActionEvent e) {
                     String bookTitle = bookTitleField.getText().trim();
                     String bookAuthor = authorField.getText().trim();
                     String bookID = IDField.getText().trim();
                     int intBookID = Integer.parseInt(bookID);
                     model.addToFile(bookTitle, bookAuthor, bookID);
            panel.add(loginButton);
            panel.setOpaque(true);   
            frame.getContentPane().add(panel, BorderLayout.CENTER);
            frame.setVisible(true);
              clear(panel);
       public void deleteBookForm(){
            JPanel panel = new JPanel();
            panel.setLayout(null);
            titleLabel = new JLabel("Delete Book");
            titleLabel.setLocation(0,0);
            titleLabel.setSize(290, 30);
            titleLabel.setHorizontalAlignment(0);
            panel.add(titleLabel);
             panel.setOpaque(true);   
             frame.getContentPane().add(panel, BorderLayout.CENTER);
            frame.setVisible(true);
        clear(panel);
       public void clear(JPanel panel){
           panel.removeAll();
           panel.validate();
        public void MenuActionListeners(ActionListener al) {
            addBook.setActionCommand("addBook");
            addBook.addActionListener(al);
            deleteBook.setActionCommand("deleteBook");
            deleteBook.addActionListener(al);
            modifyByTitle.setActionCommand("modifyByTitle");
            modifyByTitle.addActionListener(al);
            modifyByAuthor.setActionCommand("modifyByAuthor");
            modifyByAuthor.addActionListener(al);
            searchByTitle.setActionCommand("searchByTitle");
            searchByTitle.addActionListener(al);
            searchByAuthor.setActionCommand("searchByAuthor");
            searchByAuthor.addActionListener(al);
            searchByID.setActionCommand("searchByID");
            searchByID.addActionListener(al);
            bookListing.setActionCommand("bookListing");
            bookListing.addActionListener(al);
    class libraryController implements ActionListener{
         libraryModel model;
         libraryView view;
       public libraryController (libraryModel model, libraryView view) {
            this.model = model;
            this.view  = view;
          //  this.view.init_view();
            view.MenuActionListeners(this);
         //   view.addBookListeners(this);
       public void actionPerformed(ActionEvent ae)
        String action_com = ae.getActionCommand();
            if (action_com.equals("addBook")){
            // view.clear();
             view.addBookForm();
            else if (action_com.equals("deleteBook")){
          //  view.clear();
            view.deleteBookForm();
            System.out.println("kk");
            else if (action_com.equals("modifyByTitle")){
                 System.out.println(action_com);
            else if (action_com.equals("modifyByAuthor")){
                 System.out.println(action_com);
            else if (action_com.equals("searchByTitle")){
                 System.out.println(action_com);
            else if (action_com.equals("searchByAuthor")){
                 System.out.println(action_com);
            else if (action_com.equals("searchByID")){
                 System.out.println(action_com);
            else if (action_com.equals("bookListing")){
                 System.out.println(action_com);
        Thanks!

    Please pare down your code to a manageable amount. You don't need 3/4 of that code to demonstrate your problem, so why should you ask us to read it??

Maybe you are looking for

  • SQL Statement COALESCE displays NULL

    SQL Server 2008 SQL Statement SELECT [IP_ADDR1_TEXT], COALESCE(COUNT(distinct [IP_ADDR1_TEXT]),0) as Instances FROM sem_computer LEFT JOIN [dbo].[V_SEM_COMPUTER] ON sem_computer.COMPUTER_ID = [dbo].[V_SEM_COMPUTER].COMPUTER_ID AND [IP_ADDR1_TEXT] = '

  • I can't find the reinstall on Adobe Premiere Elements 11

    I can't find the reinstall for Adobe Premiere Elements 11 after it told me to uninstall the program and then reinstall.

  • How not to check mail for VPN only mail accounts?

    I have a internal mail server that is only accessible via VPN. How can I tell the iPhone not to check the mailbox without first being connected via VPN?

  • Apple TV not doing 5.1 anymore... Help!

    I have a Mac and a PC and I have converted all my own movies with Handbrake so that I can play them from my Mac/PC to the Apple TV. All of the movies that I have converted stream from the Mac to Apple TV in 5.1. When I copied them over to my PC and t

  • Why do we use reverse proxy for Oracle RAC Cluster setup

    Hello All,              I got this question lately.. "why do we use reverse proxy for Oracle RAC Cluster setup". I know we use the reverse proxy at Middleware level for multiple security reasons. Thanks..