LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Control Reference in State Chart

I am using the statechart module and have an XY Graph on the front panel of my top level vi.  I need to use property nodes to manipulate this XY Graph, within the statechart.  I have created a control reference to the XY Graph and dropped it into the state, however the reference carries a copy? of the control into the state with it.  First off, is this a copy of the control or a new control?  I am assuming it is a copy, why else would it have followed the reference?  Since I have this copy of my front panel control and I am using property nodes will my program get bogged extra bogged down, as both the copy and original control get updated via property nodes?  If I send data to the copy will it show up on the original and display on the front panel?  Lastly, am I going about doing this the wrong way?  Any info is appreciated!

Cheers!
0 Kudos
Message 1 of 2
(2,495 Views)
I think that I answered my own question.  By including the control reference in the inputs type def for the statechart I can pass the reference without worrying about carrying around the copy of the control as well.
0 Kudos
Message 2 of 2
(2,483 Views)