LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

VI Activation event

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!

0 Kudos
Message 1 of 5
(3,493 Views)

It should be available here:

 

VI Activation Event.png\

 

hope this helps,

Norbert

Norbert
----------------------------------------------------------------------------------------------------
CEO: What exactly is stopping us from doing this?
Expert: Geometry
Marketing Manager: Just ignore it.
0 Kudos
Message 2 of 5
(3,477 Views)

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.


___________________
Try to take over the world!
Message 3 of 5
(3,475 Views)

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

Norbert
----------------------------------------------------------------------------------------------------
CEO: What exactly is stopping us from doing this?
Expert: Geometry
Marketing Manager: Just ignore it.
Message 4 of 5
(3,468 Views)

Thanks a lot!

It was due to switched OFF scripting deatures.

0 Kudos
Message 5 of 5
(3,460 Views)