From 11:00 PM CDT Friday, Nov 8 - 2:30 PM CDT Saturday, Nov 9, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
From 11:00 PM CDT Friday, Nov 8 - 2:30 PM CDT Saturday, Nov 9, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
11-06-2019 08:24 AM
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.
Solved! Go to Solution.
11-06-2019 08:34 AM
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
11-06-2019 10:09 AM
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
11-06-2019 10:23 AM
@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.
11-06-2019 10:42 AM
I'm guessing wildly here, but you might want to read about Strict Type Defs.
11-07-2019 01:30 AM
@Bob_Schor: I fixed it by passing the diagram reference as an Input.
I already logged out yesterday and could not finish this thread