Pressing "Ctrl" key stop my VI

Hi all,
My VI stop responding when I press any special key. Try running my VI attached in this post. While the VI is running, press any arrow key, and you may find that the value of the indicator "Horizontal position" and "Vertical position" changes accordingly. However, once a special character key is press, such as the "Ctrl" key or "Caps Lock" key, the VI stop responding. Anyone can tell me how to avoid this?
Thanks..
Best regards,
Julianti
Solved!
Go to Solution.
Attachments:
Ctrl key 8.6.vi ‏11 KB
Ctrl key 8.0.vi ‏16 KB

Also if you want to react to the stop button all you have to do is add the event. See the attached file.
Tim
Johnson Controls
Holland Michigan
Attachments:
Ctrl key 8.6-2.vi ‏9 KB

Similar Messages

  • Select multiple, press ctrl key

    Hi experts,
    Can we create a fields with 6 options. Instead of using a picklist, the user request to allow "Select multiple, press ctrl key". i.e. you see all the 6 options under the field in a single view, then select > press control > system will automatically highlighted the selected fields.
    Thanks.
    Sab.

    Sab,
    Are you asking about a multi-select picklist. It's a picklist field that allows you select multiple values? Yes you can create those but do a search as there is a posting on all the limitations to these fields at the moment.
    cheers
    Alex

  • Select multple rows in ALV without pressing pressing CTRL key

    Hi experts,
    Is there any way that I can select multple rows in an ALV without pressing pressing CTRL key?
    I am using set_table_for_first_display method for displaying the ALV.
    I tried different options of sel_mode, but none of them works without the CTRL key.
    Thanks,
    Mohit.

    Hi,
    You can add checkbox using ALV grid display.
    Call your ALV grid as below. Pass 'wa_layout' with 'WA_LAYOUT-BOX_FIELDNAME' as your selection column name.
    CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
          EXPORTING
            I_CALLBACK_PROGRAM       = SY-REPID
            I_CALLBACK_PF_STATUS_SET = 'F_GUI_STATUS'
            I_CALLBACK_USER_COMMAND  = 'F_USERCOMMAND'
            I_GRID_TITLE             = TEXT-026
            IS_LAYOUT                = WA_LAYOUT
            IT_FIELDCAT              = I_FIELDCAT
          TABLES
            T_OUTTAB                 = I_OUTTAB
          EXCEPTIONS
            PROGRAM_ERROR            = 1
            OTHERS                   = 2.
    Check below link for more help.
    [http://www.sapfans.com/forums/viewtopic.php?t=40968]
    Thanks,
    Archana

  • Programatically press CTRL key

    how could I possibly do that?
    the reason for this is that I'm trying to display a jtable with several rows already selected (as if someone would have kept CTRL pressed while selecting those rows)

    You should programmatically select the rows, rather than trying to simulate a ghostly user. Take a look at the API.
    And in the future, please post Swing questions to the [Swing forum.|http://forums.sun.com/forum.jspa?forumID=57]

  • USB devices stop when ctrl key is pressed

    We have a couple of Lenovo 3000 N100 notebooks that are exhibiting the same problem - with USB external mouse and keyboard attached, the "Ctrl" key on the notebook will kill the attached USB devices - the system gives a couple of audible warnings then the USB mouse will reappear - depressing the same key on the external USB keyboard does not give the same symptoms.  Has anybody else had a similar problem?  Very aggravating when trying to tag files etc..
    Thanks,
    gws

    I thought something was wrong with the bugbase, but apparently I just needed to "save" my communication settings (the website won't let you do anything else until then).
    Bug filed is here: https://bugbase.adobe.com/index.cfm?event=bug&id=3613482
    It's not something everyone will see, but when it happens the result is confusion and a buggy feeling application.

  • "Undefined Function Key. Press Ctrl+F1..." Porting app from 6i to 10G

    I am running into a problem porting my application from Oracle Forms 6i to 10G. When I am querying a record based on a field that is not the first on the screen, I get an "Undefined Function Key. Press Ctrl+F1 for list of valid keys." error. I do not get the error using the same function keys from the first field on the screen. I also do not get the error if I click into another field (besides the one I an querying) before hitting my execute query key.
    I did some research, and found a fix that seems to work. I can add a WHEN_MOUSE_CLICKED trigger to the form and put in the following:
    Go_Item(:System.Mouse_Item);
    That seems to fix the issue. My problem is that I have close to 400 forms to upgrade. I would like to avoid adding this manually to every single form. I have looked into libraries, but I can't seem to figure out how to replicate a WHEN_MOUSE_CLICKED trigger using procedures. I was wondering if there was a way to use the Forms upgrade utility to add this trigger to every form it converts. Does anyone know if that can be done?
    Thanks in advance for your help with this.

    I'm not sure this solves the problem. This would call the trigger, but the trigger does not currently exist. I would still have to manually create the trigger in all 400 (or so) forms. Is there a way to add it in a more global way?
    Thanks.

  • How do I check if the ctrl key is pressed from within a mouseReleased actio

    How do I check if the ctrl key is pressed from within a mouseReleased action?
          addMouseListener( new MouseAdapter() {
             public void mouseReleased( final MouseEvent e ) {
               // If ctrl button is held down and mouse is clicked, do something
             }};

    Found it, I think
        e.isControlDown()

  • I inadvertently pressed CTRL+ another key (possibly V or B or N) and the text size of my bookmarked page was significantly reduced in size. I can't read it. How do I re-set the text size?

    I mistakenly pressed CTRL + another key (possibly V or B or N or whatever), when I was reading my e-mail. The text size shrank to a size that is useless to me, but I cannot seem to get the text size re-set to normal. Indeed all of the formatting on the page has been reduced (symbols, instructions, frames etc). Existing Firefox and returning to the bookmarked page makes no difference. How do I re-set the system?

    Hi,
    Please try '''Ctrl''' + '''0''' (zero). Alternatively '''View''' ('''Alt''' + '''V''') > '''Zoom''' > '''Reset'''.
    [https://support.mozilla.org/en-US/kb/how-do-i-use-zoom?redirectlocale=en-US&redirectslug=Page+Zoom Page Zoom]
    [https://support.mozilla.com/en-US/kb/Keyboard%20shortcuts Keyboard Shortcuts]

  • I have a problem in iPhone . When you receive a contact and press the key at the top to cancel the contact screen stopped working .ataml times after the last restart device

    I have a problem in iPhone . When you receive a contact and press the key at the top to cancel the contact screen stopped working .ataml times after the last restart device

    Since restarting did not help, reset your iPhone, see: Turn your iOS device off and on (restart) and reset  http://support.apple.com/kb/ht1430
    If that still does not solve it, check, if the contact you are trying to add is problematic. Try to save a different contact. Does that work?
    If not, reinstall the Contacts app. This is only possible by restoring your iPhone, unfortunately.
    See: Use iTunes to restore your iOS device to factory settings  http://support.apple.com/kb/HT1414

  • Key Press CTRL+Space

    How do I view a JInternalFrame by pressing CTRL+Space from a JTextFeild in another JInternalFrame? Using isControlDown() works but throws NullPointerException. Can it be done by using KeyStroke ? If Yes then how?

    Thanks! I changed the InternalFrame which I wanted to see after pressing. I used A JPanel in which there is a JList. What I tried is pretty simple and like this
    private void jTextFieldlBankIDKeyPressed(java.awt.event.KeyEvent evt) {
    try{
    int keyCode=evt.getKeyCode();
    int modifier=evt.getModifiers();
    int iSpace=java.awt.event.KeyEvent.VK_SPACE;
    if(evt.isControlDown()&& keyCode==iSpace){
    jPanel2.setVisible(true);
    //setValueAtTheList();
    //jList1.grabFocus();
    System.out.println("Key Pressed");
    }catch(NullPointerException e){
    I got what I need but the exception is there like before,
    java.lang.NullPointerException
    at javax.swing.plaf.basic.BasicInternalFrameUI$1.actionPerformed(BasicInternalFrameUI.java:153)
    at javax.swing.SwingUtilities.notifyAction(SwingUtilities.java:1502)
    at javax.swing.JComponent.processKeyBinding(JComponentKey Pressed
    .java:2422)
    at javax.swing.KeyboardManager.fireBinding(KeyboardManager.java:253)
    ������������.

  • Determine if Ctrl key is pressed.

    I want to perform some actions when handling Mouse Move event only when Ctrl key is pressed. Is there a way to determine pressed state of Ctrl key?

    Hi Jonni,
    I've attached a simple example VI that uses the Mouse Move event filter to check for mouse movement and calls user32.dll to check if CTRL key is pressed. I think that is what you are looking for.
    Sev K.
    Applications Engineering Specialist | CLA
    National Instruments
    Attachments:
    GetCtrlKey.vi ‏12 KB

  • 'FRM-41008 - Undefined function key. Press  Ctrl + F1... ' Urgent Pls help

    Hi All,
    We are facing below issue in Oracle 10g Forms.
    We are opening one screen with mutlirecord block and query the recod(First Session) and at the same time we are trying to query one more session(Second session) with same data.
    While querying second session we have blocked the user to proceed further by using select ..... for update of columns and user will get error message
    'Transaction is already locked by another user....'. and we have kept second screen opened.
    Afterwards we are going back to first screen in first session and trying to update the record (Change price column and navigate to next item by using tab key. We are not using anhy other key) System is not allowing to update the record and screen is freezed and cursor control will go to items randomnly and displays below error message.
    'FRM-41008 - Undefined function key. Press Ctrl + F1 for list of valid keys.
    Could somebody pls explaining why above error message 'FRM-41008 ...' is showing for locking record issue ? Any trigger is firing above error message ?
    Thanks in advance
    Biju

    Thanks for the reply but we don't have key others trigger ,we have only when-new-form-instance trigger in form level. That being the case, I recommend you run your Form through the Forms Debugger to see where the form is generating this error. If you are unable to use the Forms Debugger, then I suggest you try running your form with the Forms Runtime Diagnostics (FRD) to see if you can discover the cause of the error. Take a look at this thread for a description of FRD and how to set it up: Re: dbms_session exception without any error. Although, the topic of this thread is not the same as yours, my reply is related. :)
    Craig...

  • HT201210 I have 4s facing hang problem after updating when i dicline the call the keypad geting locked ,touch stop working unable to unlock the phone .then what i can do i restart the phone with pressing home key & power key together then i am able to ace

    I have 4s with 16GB storage capacity using IOS 7.1.2.
    Facing hang problem after updating when i decline the call the keypad getting locked ,touch stop working unable to unlock the phone .
    Then what i can do i restart the phone with pressing home key & power key together then i am able to access it.
    Kindly resolve the issue as soon as possible
    Ashish
    [email protected]

    Did you already try to set it up as a new device, as explained in this article?
    iOS: How to back up your data and set up your device as a new device

  • Stop the Script - Pressing 'ESC' Key - Need Solutions.

    Dear All,
    Really I'm wondering "Press 'ESC' Key" the Script is Stopped. But OtherApplication 'EXE''s are not stopped even InDesign Plug-In also.
    Is there any solutions while I'm pressing 'ESC' key the InDesign Script is automatically stopped. But I need to run the script without any interruption using this 'ESC' or other keys. I tried so many RnD's, But I didn't get any solutuions.
    Please any one can knows let me know the solutions .
    Please any one can give the solutions I can appreciate.
    Thanks & Regards,
    Harihara SudhaN.T.R.

    Dear Harbs & Peter Kahrel
    Many thanks for this great replies.
    "I should try running scripts from the palette" - Peter Kahrel.
    I'm also tried so many times, but the script is stopped when I press [Interupt] the "Esc" KEY Button.
    One of my friend suggested "TSR" Programming to use comment the "ESC" KEY button action, after that running the ESTK Script then finally activate the "ESC" KEY button action. [Both STOP and START the "ESC" KEY Button action though create the "TSR" programming]
    1. Is it possible to Stop & Start the "ESC" KEY Button create through TSR Programming?
    2.  TSR Program we can use to ESTK script - is it possible?.
    I dont know what exactly the "Esc" Button is doing the operation. But the same time "Esc" Button is equal to "Cancel" button functionality - Java script Reference Guide mentioned.
    So what my understand in this ESTK - script is "ESC" button means "Cancel" button... I'm I right ? or else...
    Many thanks once again for the favour replies and pelase Mr. Harbs and Mr.Perter Kahrel let me know some more informations regarding this issue.
    I expect the detailed information regarding this issue, Please.
    Thanks & Regards
    Harihara SudhaN.T.R.,

  • My homepage shrunk when I accidentally pressed the ctrl key and the underscore key ( I mean't to press the shift key to underscore)

    I was entering a website a wanted to visit which required an underscore,
    but instead of pressing the shift key along with the ' underscore ' key (-_), I pressed the ctrl key and my firefox homepage shrunk to where the print was unreadable. How do I bring the homepage back to where it should be?

    Reset the page zoom on pages that cause problems: <b>View > Zoom > Reset</b> (Ctrl+0 (zero); Cmd+0 on Mac)
    See:
    * http://kb.mozillazine.org/Zoom_text_of_web_pages

Maybe you are looking for

  • Help me choose a card plea

    Hi, I've recently bought a decent pair of headphones for my home computer and have started to hear a lot of noise / hiss on them when connected to the front connection of my case (especially noticable when nothing is playing). The noise increases a b

  • Multiple sites

    OK playing with iWeb I can't find how to close a site and start on another. Selecting 'new site' adds that to the one I'm working on. Selecting 'close' quits the program. For that matter how do you go back to work on a site you previously created. Th

  • I'm not able to connect workspace

    hi, can plz help to configure the hyperion workspace.i'm tried so many times but i i'm able to login in work space..i'm getting this errotr:plz suppliy valid username and password. after workspace configuration i got error message i.e sso :could not

  • Java file name

    Hi, In an application I have seen a file name which extends **.ejb* instead of **.java* How this works? even eclipse compiles it!. Even calling one EJB to another is just instantiating it and getting references. how is it possible? -thanks.

  • Status bar in web browser

    I'm adding a status bar to a web browser and I've run into a little problem. I can't get the status bar to change to reflect the url the user has the mouse over. I need to know if there's an event listener that I can use to do this. Keep in mind that