05-12-2014 01:46 PM
When a developer creates a system button on the front panel, it usually defaults to key navigation "Toggle" when Enter is pushed. Not many people realize this. Checking for "key navigation" is also an easy thing to overlook when reusing code. Is there a VI test that can detect front panels with key navigation?
Solved! Go to Solution.
05-12-2014 02:30 PM
I am not aware of a test that checks front panel controls for key navigation. It seems like it would be fairly straightforward to write. If you end up writing it, please post it to this community group and link to it from the List of Community VI Analyzer Tests page.
05-12-2014 03:19 PM
This is no longer the case with LabVIEW 2013. In LabVIEW 2013 when you place an OK system button it no longer has the toggle key navigation set. This was a nice surprise to me
But if you have code from previous versions of LabVIEW or if you are still working on previous versions of LabVIEW you would need to be aware of this. I agree this would be a useful test.
05-12-2014 03:56 PM
Here's my stab at this test :