Assigning keys in labview 8.5

I need to assign a letter key to a Boolean switch in LabVIEW 8.5. I've found the key navigation sub menu but don't want to use any of the keys listed. Can I assign any keyboard key and if so how?
Solved!
Go to Solution.

Hello Millz,
There are at least a couple of ways to handle this, but my favorite is to use an event structure.  Set up an event for "This VI"->"Key Up"  (Or "Key Down" depending on your preference).  On the left-hand node of the event structure, look for an integer called "Scan Code."  You'll have to experiment to figure out which scan code corresponds to the key you want to watch for.  Each key has its own unique scan code.  Then you can set up the event to execute the code that the Boolean handles.
I've attached some screenshots so you can see what I'm talking about.
I hope this helps...
Jim
Message Edited by Mr. Jim on 11-14-2008 09:08 AM
Attachments:
KeyUp1.png ‏44 KB
KeyUp2.png ‏7 KB

Similar Messages

  • What keys to assign Key Commands to

    Is there anyone out there that has really got a good system for assigning Key Commands to groups of keys? My KC system has developed sort of spasmodically as I have got to know the Logic over the years.. and without proper 'town planning' things are getting over crowded on my Apple Keyboard.
    I would appreciate comments from anyone who has a 'logical' mind who thinks they have a good system/choice for which keys to programme groups of key commands for ease of workflow. In particular I would be interested in:
    - Score Editor
    - Midi writing
    - Automation
    along with a word about favourite key commands
    thanks in advance
    MS

    Suggest orienting as many of your key commands on the LH side of the keyboard so that you can keep your RH hand on the mouse.
    The following is just a sampling of my k/c assignments; at this point I've been using these so long that I couldn't tell you if any of them resemble the factory k/c assignments, but anyway, here's a short list that don't use any modifier keys:
    F1 = event editor (lists)
    F2 = matrix/piano roll (within arrange)
    F3 = score editor (arrange)
    right below that...
    1 = event editor (opens separate window)
    2 = piano roll (sep. window)
    3 = score editor (sep. window)
    ESC = close window
    Q = quantize
    A = catch on/off
    V = toolbox
    D = MIDI out toggle (in editors)
    C = cycle
    H = hyperdraw autodefine
    F = continue (need to press it 2x to play when Logic is stopped)
    B = browser (media)
    L = library
    X = set locators to region and play
    Note how except for "H" and "L" (a new addition for L8) they're all on the LH side of the keyboard, and no modifier keys needed.
    Some RH-oriented key commands include:
    \[ = set left locator w/o rounding
    ] = set right locator w/o rounding
    Those plus SHIFT give me the same functions but with rounding
    As for key commands with modifiers, you might want to set up a system for yourself where you reserve specific modifier keys (or combinations of modifiers) for certain categories of tasks. For example, you could reserve CNTRLSHIFTkey for score editor-specific commands, such as:
    D = defeat interpretation
    F = force interpretation
    B = beam selected
    U = unbeam selected
    . = add staccato to selected notes
    - = add tenuto to selected notes
    < = crescendo
    ">" = diminuendo
    ( = slur below
    ) = slur above
    # (actually, "3") = enharmonic shift #
    @ (actually, "2") = enharmonic shift b
    ...and so on... Note that these aren't all LH oriented, but I like the idea of using character shapes ("<" = cresc.) as mneumonics where possible.
    In general I'llI use CNTRLOPT+SHIFTCMD for "dangerous" (global) operations such as changing all tracks to READ or TOUCH. Speaking of automation...
    I have F9 programmed to turn plug-in automation on/off. But toggling this without having the automation prefs visible means that you'll be toggling this function in the blind. So I have F10 programmed to open the automation prefs panel.
    Ultimately I'd suggest that you set up your key commands so that they make sense to you.
    Message was edited by: iSchwartz

  • CO Account assignment key

    Dear experts, is it possible to modify the CO Account assignment key definen at posting area R001, nay event that would allow to do that?
    What about modifying the CO Account assignment key specifically for interest documents?
    Thanks and best regards.

    You should investigate the events 1102, 1104 and 1108 where substitution can be performed.
    regards,
    bill.

  • Is it possible to send keys from LabVIEW.?

    Is it possible to send keys from LabVIEW.?
    (In VisualBasic this is possible through the sendkeys command.)

    Hey I think i can help you
    Inport picture with edit >inport picture from file.
    Paste it into you frontpanel ctrl+v
    Place you Graph control and pant it with transparent.
    You must pant both the scale and the draw area with transparent.
    Try also to use the Reorder funktion in the toolbar to get the picture in
    background.
    Esben
    Click here for Free Video!!
    http://www.gohip.com/freevideo/
    wrote in message news:8b82k8$bjq$[email protected]..
    > Hi!
    > Does anyone know to insert a picture in the background of a graph and to
    > plot over it ?
    > I tried with the Edit Control command to import a picture (*.emf, *.bmp,
    > *.xmf) from the clipboard to a graph indicator but the only thing I got
    > was
    a blank window.
    >
    > The other possibility would be to export the data to an excel worksheet
    > and to plot an excel chart with the background already set-up but I'd
    > rather use only one application.
    > Can anyone help ?
    > Thanks.
    >
    > Fabrice
    >
    >
    > Sent via Deja.com http://www.deja.com/
    > Before you buy.

  • Assigning Keys to Apple Loops in Logic

    I am creating Apple Loops in Logic by selecting an audio region and then selecting "Add to Apple loops library" under the mini region menu.
    The manual states that whatever key I set in Global tracks is the key that is assigned to the loop. This works well for pitched material, but for non pitched material I don't want a key designated. I have noticed that when I set a tag to the loop of "Drums" no key is assigned, but when I set a tag of "Percussion" the key does get assigned to the particular loop. This is a problem because the pitch of the percussion changes when that Apple Loop is brought back into another Logic session that has a different key assignment the a particular loop on the Global Track.
    I understand I can designate "No Key" in the Apple Loops utility, but I prefer to make my loops straight from the Logic arrange window. I am finding the Apple Loops Utility a bit buggy. Does anyone know the most recent version of the Apple Loops Utility?
    Thank you for your help.

    Any word on a fix for this?
    I've found Apple Loops VERY buggy in L9! Not only do they not loop correctly in the browser when your project is at a sample rate other than 44.1 (for example, working for broadcast at 48k as I mostly do), but I've also seen them behaving weirdly in the arrange page.
    Today I had a truncated Apple Loop in a project which would play back differently on subsequent attempts. Sometimes it would get to bar 4, for example, and other times it would only get midway through bar 3...! And this is with basic Apple factory installed loops.
    What's up with this? I've already re-indexed and re-installed the loops. No change. No fix.
    Totally unprofessional, Apple.

  • Does anybody have any experience on generating SSH key in Labview?

    I'm developing a tool in Labview and this tool needs to generate SSH key then copy them out. I don't see a function in Labview that can generate SSH key pairs. I've tried external programs puttygen.exe and ssh-keygen. None of them are ideal solutions. Because puttygen needs mouse and button press interactions (user interface) and ssh-keygen needs cygwin installation. 
    Does anyone have any better ideas?  
    Thanks very much!

    I have another question:
    I used ssh-keygen with System Exec.vi. The code works fine on my XP machine. But it doesn't work on windows 7 enterprise machine. It seems that windows 7 has different security settings. But I tried to use different location for the working directory for System Exec.vi and it still wouldn't work.
    I've attached a snapshot of my code here. I even tried to just have ssh-keygen in the command line and it didn't work either.
    Does anyone have any ideas?
    Thanks very much!
    Attachments:
    ssh-keygen.png ‏24 KB

  • Assign key combination to service

    I got a couple of questions:
    1. In keyboard preferences you can assign a shortcut to Services you made with Automator. When I assign a combination that includes the '\' key, it simply disappears, so I can't assign command+\ to my service. It worked previously, though. Why is that?
    2. My Automator script is as follows:
    tell application "GrowlHelperApp"
              set the allNotificationsList to ¬
                        {"Audio Output Source"}
              set the enabledNotificationsList to ¬
                        {"Audio Output Source"}
              register as application ¬
                        "Audio Output Source" all notifications allNotificationsList ¬
                        default notifications enabledNotificationsList ¬
                        icon of application "Script Editor"
              do shell script "SwitchAudioSource -n"
              do shell script "SwitchAudioSource -t system -n"
              set CURRENT to do shell script "SwitchAudioSource -c"
              if CURRENT is "iMic USB audio system" then
                        set DEVICE to "Speakers enabled"
              else
                        set DEVICE to "Headphones enabled"
              end if
              --          Send a Notification...
              notify with name ¬
                        "Audio Output Source" title ¬
                        "Audio Output Source" description ¬
                        DEVICE application name "Audio Output Source"
    end tell
    It doesn't really matter what the script does, but when I press the Play button in the Automator interface, it runs instantly. When I assign a shortcut and press it (I assigned opt-command-,), it takes a few secs until the script is run for the first time. Subsiquent callings to the script are fast as expected. How can I make it run fast the first time?
    3. I want to assign the Caps Lock key or Eject key to execute the script. What is the simplest way possible?
    If you know the answer to either question, I would be very happy to read your answer.

    HI,
    Key combination is your field combinatios which you select or maintain during pricing procedure, its a first step of Pricing procedure determination.
    Lets say for PR00 (Price) you want to determine price with two factors.
    First you will create two condition table with the Tcode V/03
    Here you can have the combination as per your business need.like i said
    1. You want to maintain price for customer & material this is one key field combination. Table 005
    2. You also want to maintain price for customer & material & plant combination this is another key field combination.Table 006
    Now the next is you will create the access sequence for Condition Type PR00 for exp. u maintain access sequence PR02
    First go to V/07 & create access seq. PR02
    now select PR02 & click on access here new entries & and select the condition table here which u have created in the manner system should the condition record for a condition type PR00.(Basically it checks from specific to general).Means first you will put here Table no. 006 & then 005
    After this step you will select that condition table line & select field then enter it will go green means its activate now also select the Exclusive check in front of all the condition table & save it.
    Now you can assign that access seq. to your contition type PR00 & accordingly you can make the condition record for your customer.
    I hope it will clear your point.
    revert me if face any issue.
    Regards
    Deepak

  • Disable / re-assign key lock button on top of device

    Hi,
    I'd appreciate your help please.  How can I disable or re-assign the key lock button on the top of my 9320?
    Thanks
    Andy
    Solved!
    Go to Solution.

    Hi Welcome to the Forums!
    You can't disable or re-assign the key lock button on your 9320, But you can on the "Convenience keys", the buttons on the left and right side of your device. Here's how: Assign an application to a convenience key.
    Cheers!
    Click if you want to Thank someone. If Problem is resolved, so that others can make use of it.

  • Configuration string keys in LabVIEW 2009 changes

    I am trying to write a configuration file to be used by other (non-labview) software.
    However the LabVIEW 2009 'write sting key' function adds quotes around string keys, even if the 'raw string' mode is used, this makes this tool USELESS, and I could only finde a little note in the online help
    When VIs write to a configuration file, they place
    quotation marks around any string or path data. LabVIEW also supports
    single quotes around values in .ini
    files.
    I could not find it in the Upgrade notes.
    Could we get an option to remove the quotes?
    Ton
    Free Code Capture Tool! Version 2.1.3 with comments, web-upload, back-save and snippets!
    Nederlandse LabVIEW user groep www.lvug.nl
    My LabVIEW Ideas
    LabVIEW, programming like it should be!

    Dear Ton,
    thank you so much for your post. This problem was brought to the attention from our R&D department, hopefully they will add this soon to the writekey.vi . There is a work arroud for now; you can add the attached VI to the library;
    Download the attached VI and place in the following path: <Program Files>\National Instruments\LabVIEW\vi.lib\Utility\config.llb
    In the same folder, double-click NI_LVConfig.lvlib
    Right-click the Write folder and add the above-mentioned VI.
    Hopefully this will bring you further,
    Best regards,
    Martijn S
    Applications Engineer
    NI Netherlands
    Attachments:
    WriteKey(String)workaround[1].vi ‏14 KB

  • Assign keys to activate action

    OK, this is hard because I dont know the terms used to
    discribe what Im doing in Flash. The discription is, I have several
    boxes that are the stage and the finish product needs to interact
    with the boxes via keyboard. Meaning, 5 boxs, if someone choses box
    2, i want to hit "2" on my keyboard to activate an animation on
    that box 2. It should be simple, it happens in flash games all over
    the net, but the looking for help is hard. I dont know what that
    behavior or script is called. Or the terms that could direct me in
    the right direction for that matter. Plz help. I would also like to
    assign point system to these boxes but thats a different problem.
    Im just dealing w one issue at a time.
    Thanks!

    Read the JTabbedPane API and follow the link to the Swing tutorial on "How to Use Tabbed Panes". When I run the code for the demo class, nothing happens when I use the F10 key. Which means you should be able to use Key Bindings to assign your custom Action to the F10 key.
    I tried the demo using the default LAF and the Windows LAF.
    Maybe my link on [Key Bindings|http://www.camick.com/java/blog.html?name=key-bindings] will help you out.
    If you need further help then you need to create a [Short, Self Contained, Compilable and Executable, Example Program (SSCCE)|http://sscce.org], that demonstrates the incorrect behaviour.
    Don't forget to use the Code Formatting Tags so the posted code retains its original formatting. That is done by selecting the code and then clicking on the "Code" button above the question input area.

  • Assigning Key Photo

    I've assigned a key photo for an album in iPhoto. But when i sync my iPhone, the first picture in the album is shown in the photo album menu! How do I correct this?
    Also, how do I rearrange the photos in albums and events in iPhoto? Just dragging doesn't work.
    THanks

    I've assigned a key photo for an album in iPhoto. But when i sync my iPhone, the first picture in the album is shown in the photo album menu!
    There isn't an option to make a photo available in an album as the key photo for an album but this is an available option with Events. Are you syncing Events or Albums?
    When syncing an album, the first photo available in the album is the key photo. How photos are arranged in an album (the order) are how the photos will be available when viewing the album on the iPhone and you can arrange albums in order you want them from top to bottom in the albums window available under the Photos tab for your iPhone sync preferences.
    To arrange photos in the order you want them in an album, select a photo - click and drag it to where you want it located in the album and the same for photos in Events.

  • Assign keys (note-on) to patches

    Hi everybody,
    I am using MainStage 3 with my stagepiano (Kawai MP-10) which has wonderful keyboard action but only few MIDI controllers. I am looking for a way to quickly change patches from my keyboard. I have lots of patches, so clicking through the patches via "next patch" and "previous patch" is not what I want.
    My plan is the following: assign particular note-on events on a certain MIDI channel (e.g. 16) to particular patches, such as "C3 to set1 patch1, D2 to set1 patch2, C4 to set2, patch1".
    I know how to assign certain note-on events to actions, but I do not know how to use an action to set a parameter (such as patch-number) to a particular value.
    Can anybody help me?

    it's simple: I created a screen-control button for each key that is meant to trigger a patch change, then I assigned a "jump to patch" to each button and everything works fine!

  • Assign Keys

    Does anyone know if you can assign applications to certain keys besides the side keys?
    Exp.  Can I assign a game to start up when I press and hold down the G key?  Or can you only assign Contacts.

    Welcome to the forums scercyj
    There may be an application for the phone that allows this, but I am unaware of any. I believe that the speed dial keys are reserved for phone numbers only and cannot be assigned to start applications. That only leaves the left and right side convenience keys for applications.
    Kijana
    Please remember to:
    1. Mark Accept as Solution on the appropriate post once your issue has been resolved
    2. Give Kudos to helpful posts (click the star next to the post)
    Thanks

  • EXS24 loading samples become one semi tone lower than assigned key

    When I load samples into a new instrument as a zone by dragging them to a key, somehow they become assigned to the adjacent key, one semi tone lower than the note. Eg: I put a sample on C2, when I hit the keyboard it is tiggered by B1. How to resolve this ? Is there a setting somewhere ? It certainly does not appear to have any thing to do with my 'mother' keyboard (M-Audio Ozonic).
    Thanks for any insight into this issue

    When I load samples into a new instrument as a zone by dragging them to a key, somehow they become assigned to the adjacent key, one semi tone lower than the note. Eg: I put a sample on C2, when I hit the keyboard it is tiggered by B1. How to resolve this ? Is there a setting somewhere ? It certainly does not appear to have any thing to do with my 'mother' keyboard (M-Audio Ozonic).
    Thanks for any insight into this issue

  • Trigger Code for "System Assigned Keys"

    Does anyone have some code they'd like to share that will use an
    Oracle trigger and sequence to
    assign a unique key upon insert of a table row?
    I have been unsucessful thus far in coding my own! It doesn't
    seem like it should be that
    difficult. This is what I've got - am I close????
    CREATE OR REPLACE TRIGGER Postal_City_Insert
    BEFORE INSERT ON Postal_City
    BEGIN
    Postal_City_Key := SEQ_Postal_City_Key.NEXTVAL;
    END;
    Thanks in advance for any submissions!
    null

    Hi,
    Yes, are definitely close, try the following :
    CREATE OR REPLACE TRIGGER Postal_City_Insert
    BEFORE INSERT ON Postal_City
    seq_val number;
    BEGIN
    select SEQ_Postal_City_Key.NEXTVAL into seq_val from dual;
    :new.Postal_City_Key := seq_val;
    END;
    Hope this helps.
    Regards
    Rashmi
    Richard Schultz (guest) wrote:
    : Does anyone have some code they'd like to share that will use
    an
    : Oracle trigger and sequence to
    : assign a unique key upon insert of a table row?
    : I have been unsucessful thus far in coding my own! It doesn't
    : seem like it should be that
    : difficult. This is what I've got - am I close????
    : CREATE OR REPLACE TRIGGER Postal_City_Insert
    : BEFORE INSERT ON Postal_City
    : BEGIN
    : Postal_City_Key := SEQ_Postal_City_Key.NEXTVAL;
    : END;
    : Thanks in advance for any submissions!
    null

Maybe you are looking for

  • Can't add users' home folders to Windows Libraries - "unindexed network location" error

    I am unable to add our users' home folders to their Windows Libraries on client PCs.  Windows is giving an unindexed network location error. This worked perfectly fine in WHS 2011, but is failing on WSE 2012 R2 Essentials. I've checked the indexing s

  • Compare 2 IDOCS for duplicate

    Hi, Please any one can help me to compare 2 IDOCS for duplication (all the data records only). Thanks in advance.

  • Yosemite install with slow internet

    I have very slow internet at home, where my desktop iMac resides. Downloading a 5Gb file is impossible for ISP timeout reasons. For the Mavericks update I downloaded it on my MacBook using a friend's fast internet, saved the install file then transfe

  • How to fade or transition animation of an image?

    respected sir/madam, please make an example for the following question? how to fade or transition animation of an image?

  • New Storage Check setting not working - Lumia 920

    I received the new update yesterday but the new "Storage Check" doesn't work.  I see it in settings but when I click on it  it looks like it is going to do something (page flip animation) but then it goes right back to the settings.  Does anyone have