LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

VI Server and "this" reference

Hallo LabVIEWers,

not a real problem (at the moment so far, but who knows ?). Is there a
G-construct similar to the "this" reference in Java or C++, so that a VI can
act on its own methods or property via the VI-Server. For example open
reference to itself, modify some properties, call some methods, and close
reference ?

Best regards

Oli
0 Kudos
Message 1 of 2
(2,596 Views)
Sure, place a property node or invoke mode on the block diagram and right
click it. Select "Select VI Server Class >" and click on "VI". you can
then select properties and methods for that VI. By not wiring a reference
in, the node refers to the vi it resides in.

Jared

"Oliver Friedrich" wrote:
>Hallo LabVIEWers,>>not a real problem (at the moment so far, but who knows
?). Is there a>G-construct similar to the "this" reference in Java or C++,
so that a VI can>act on its own methods or property via the VI-Server. For
example open>reference to itself, modify some properties, call some methods,
and close>reference ?>>Best regards>>Oli>>
0 Kudos
Message 2 of 2
(2,596 Views)