Hey there, the problem is rather simple:
I have an ActiveX container box that is located in a subVI of a main program. That subVI should run in dialog-mode, allowing me to just view the contained object (CWGraph3D) and close the dialog. The actual plotting (number of plots, styles and values) is done in another subVI of main that can run before or after the displaying VI. The actual problem is:
Since I need to run the plotting VI prior to running the display VI, I need the CWGraph3D reference of that object in my grasp before ever running the VI that holds the ActiveX Container. But I hardly understand how that could be done. If I open a VI reference, the best thing I can do is opening a control refnum for the ActiveX container, but not for the object contained in it. The value property for the ActiveX container class is a variant, and, on quick inspection, showed to return Not A Refnum after converting the variant data to CWGraph3D refnum type.
Is what I'm trying to do even possible or should I try some entirely different solution (run the display VI prior to everything, for example, and make it return the object refnum to work with later on)?