LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Pass all diagram propertys

Solved!
Go to solution

Hello everyone,

 

I am trying to add a control for user friendly diagram options. I do this using a seperate VI where I wire all necessary data (signal, options, scale, etc....) into it. 

When I create the output the properties set in the subvi are not passed (visibility, names). 

Is there a way to pass all the properties to a Diagram?

 

I tried it with passing the reference, but I do not want to connect all properties manually.

0 Kudos
Message 1 of 6
(2,375 Views)

My thinking was wrong. 

 

I pass the reference from the original Diagram (on the Main-VI) as an Input and not  try to pass it as an Output after all the manipulation

0 Kudos
Message 2 of 6
(2,363 Views)

I can't figure out if you fixed your problem or not!  If you did, congratulations.  If you did not, please attach a VI showing what you are trying to do (as it isn't very clear to me, but maybe you were just "doing it wrong" and figured that out ...).

 

Bob Schor

0 Kudos
Message 3 of 6
(2,329 Views)
Solution
Accepted by s.h._tech

@s.h._tech wrote:

Is there a way to pass all the properties to a Diagram?


Either pass a reference to the VI, and get the control reference(s) form that reference, or get the  control reference(s) from the VI, and pass (the array of) reference(s) to the sub VI.

Message 4 of 6
(2,325 Views)

I'm guessing wildly here, but you might want to read about Strict Type Defs


GCentral
0 Kudos
Message 5 of 6
(2,318 Views)

@Bob_Schor: I fixed it by passing the diagram reference as an Input. 

 

I already logged out yesterday and could not finish this thread

0 Kudos
Message 6 of 6
(2,205 Views)