LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to disable Function Key

I need to know if there is a way to disable the F1 key assignment to the LabVIEW help program.

I am using LV 8.0. on Win2000/XP

One way to do this is to select/check "override system default function key settings" in the Tools-->Options-->Front Panel.

This works if you use Key Navigation. But I can't use key navigation. Click the link if you want to know why.
On KEY down the key navigation toggles a control continuously. I need a way around this.

This doesn't appear to work with the Connectivity tools. I want to use the Connectivity -> Input Device Control palette where I can read all the keys from the keyboard. The problem is that when I press function key "F1" the LabVIEW help program executes. I want to disable this.

Any ideas?


Wil
0 Kudos
Message 1 of 2
(3,392 Views)
Hi, Wil.

The best way to accomplish this is to use the event structure (as Dennis recommended in your other thread). If you select the Key Down? (Filter) event, you can catch the event, run your code, and then discard the event before it's used by any other processes.

     

Take note, however, that the Discard? option won't be present if you select the Key Down? (Notify) event by mistake.



Let me know how this works for you. Have a nice afternoon!

Message Edited by sarahk on 04-24-2006 01:23 PM

Sarah K.
Search PME
National Instruments
Download All
0 Kudos
Message 2 of 2
(3,372 Views)