LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Help me , there is a problem about xcontrol's property and method vi!

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?  

0 Kudos
Message 1 of 3
(2,554 Views)

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 

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

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

Free Code Capture Tool! Version 2.1.3 with comments, web-upload, back-save and snippets!
Nederlandse LabVIEW user groep www.lvug.nl
My LabVIEW Ideas

LabVIEW, programming like it should be!
0 Kudos
Message 3 of 3
(2,526 Views)