05-24-2006 04:52 AM
05-24-2006 05:18 AM
05-25-2006 03:04 AM
Hi Luz,
U can use ian fumg example as reference (thanx ian).
You can have problems mostly because of detecting several times the same key if you dont time it properly. I mean, if u check every 10miliseconds you can press a key for 100 ms and then detect 10 times de same caracter while it was only one.
I dont know how many controls you need to asign to keys but if you right click the mouse on a control and go to properties and then to "key navigation" option you can automatically asign key shorcuts to your controls. The only problem about that is that labview limits it to several caracters an its combinations with <ctrl> and <shift>. But if you only need a few controls (I think your program is one of them) that would be enough.
Regards,
Jaime Cabrera
NI Applications Engineering
05-25-2006 03:32 AM
05-25-2006 06:06 AM
Hola Jaime, si pulso botón derecho y propiedades no tengo la opción que comentas, "key navigation". ¿Qué me pasa?.
Gracias.
Luz
05-25-2006 06:42 AM
05-25-2006 07:27 AM
05-25-2006 08:23 AM
Hi Luz,
I did a quick simulation by removing your DAQ VIs.
Pressing CTRL+"t" will activate "Boolean(SimulateGLobal)", which will in turn activate "Boolean 2" and causes an index value updated to your Numeric indicator. It is not always at 0 of the iteration.
My apologies if I have not captured your problem.
Regards,
05-25-2006 08:43 AM
Hi luz,
key navigation is only for controls, not for indicators, so u can use key navigation for a button but not for a led.
Has no sense to activate an indicator. You can use the key navigation to a control that is connected to your indicator.
Jaime
05-25-2006 09:42 AM
Hello Jaime, if I right click the mouse on a control and go to properties I only have this options: appearance, operation and documentation, I don't find key navigation. What can I do?
Thanks.
Luz