08-27-2009 01:42 AM
Hi everyone,
we know xcontrol's property or method is a vi actually when we create them.
we are also sure there are two ways(static and dynamic way) for invoking a vi at least.
So when we evaluate xcontrol by property node or execute method through method node, does labview dynamically invoke the property or method vi ? if labview dynamically invokes them,does owner vi wait them done or not?
08-27-2009 03:49 AM
Creating a property or method for xcontrols result in a VI being written by the xcontrol's developer. This vi will be called if the user of the xcontrol will use a property node in order to access the property (will call your property vi) or an invoke node in order to access the method (will call your method vi). Of course, the property/invoke node will block the caller as long as the appropriate vi is executed. So implementing time intensive algorithms in property/method vis is not recommended.
hope this helps,
Norbert
08-27-2009 04:23 AM
What you could do is create a pumping scheme, that pumps the data into the Facade VI and handle the number crunching there, however that would block the execution of events in the facade VI.
Ton