LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to apply NOTIFIER to the dynamically loaded vi?

Hello All

It is quite easy to use notifiers to normal vi execution, but I would like to notify the vi which is loaded dynamically.
I tried to use "Set Control" property node in the main vi to change the notifier control in the dynamically loaded vi, but the vi goes uncontrolled and mad.

Is there a way to use notifiers in the dynamically loaded vi?
Thanks in advance
Pawel
0 Kudos
Message 1 of 5
(2,923 Views)
OK, I have found how to do this. Basically in the way how I tried before, but with a little bit more of care and not making stupid mistakes :))

Pawel
0 Kudos
Message 2 of 5
(2,923 Views)
I use notifiers in dynamically loaded VIs. I do so by running obtain notifier in the dynamically loaded VI with the correct name as input...

Obtain will then return a reference to the existing notifier of that name.

The set control property is unfortunately not supported in built applications so if I do the call using an invoke node I use a functional global with a searchable list of inputs. The dynamically loaded VI asks the functional global for the data for the VI of it's name...
0 Kudos
Message 3 of 5
(2,923 Views)
Hello Pawel,

You can create Notifier with same name in the dynamically loaded vi, and then use it. See attached screenshot. It works. Or do you need other solution?
0 Kudos
Message 4 of 5
(2,923 Views)
Hello Andrey,
I have already done it in simmilar way. Thank you

Pawel
0 Kudos
Message 5 of 5
(2,923 Views)