01-04-2006 11:40 AM
01-04-2006 12:24 PM
Normally, to do such an application, you would be better off using the event structure with the Key Down event instead of the input VIs. This will solve your problem, because you define the events only for your VI.
If you still want to keep working with the input VIs, the Front Panel Window>>Is Frontmost property seems to do the trick.
To learn more about LabVIEW, I suggest you try searching this site and google for LabVIEW tutorials. Here and here are a couple you can start with. You can also contact your local NI office and join one of their courses.
In addition, I suggest you read the LabVIEW style guide and the LabVIEW user manual (Help>>Search the LabVIEW Bookshelf).
01-05-2006 04:09 PM
Thanks for the info. I have only started to use the event structure since we upgraded from version 6.0 to 7.1 a while back. This is definitly the best way to have done the terminal, but too much work to change now. I looked for the Front panel Window property but could not find it. Can you please zero me in a bit on the location of this property?
Thanks,
Howard Spec
CMC Electronics
Canada
01-06-2006 12:58 AM