02-02-2011 11:54 PM - edited 02-02-2011 11:57 PM
Hello!
In LabVIEW 2010 help there is a reference for "VI activation" event. (Generated when you activate a VI window. Details).
http://zone.ni.com/reference/en-XX/help/371361G-01/lvprop/application_e/
But we were unable to find such event in event case in LabVIEW 2010 professional. Can this event be used at all?
Or is there any other method to handle such kind of events inside VI?
Thanks in advance!
02-03-2011 02:02 AM
It should be available here:
\
hope this helps,
Norbert
02-03-2011 02:07 AM - edited 02-03-2011 02:07 AM
I believe this event should be marked as a private or scripting event, so it should probably not have appeared in the general help for LV, at least not without marking it as such. You should be able to activate scripting in 2010 from the options menu.
Here's an example of a useful template (a slight modification of a template posted by Norm Kirchner) which uses this event - it allow you to quickly write and use code which operates on items you selected and it knows which VI to look at based on that event.
02-03-2011 02:26 AM
It seems that tst is correct. I have scripting activated on my system and therefore, the screenshot is not valid for all LV installations. Thanks to tst again for sharing a template including this event for all non-scripters out there 🙂
Norbert
02-03-2011 03:00 AM
Thanks a lot!
It was due to switched OFF scripting deatures.