I have created my main VI and everything is working. I now want to make the terminal connections on this VI so it can be used in other VIs. I want to create a test VI that would basically let me test that all the terminals are working as expected. To that end, I started that process by configuring 2 terminals. The strange thing that happens is the name assigned to the terminal by LV is not the label, but the caption. I am using both of them.
I then create a new VI and add the main VI to the block panel and add 2 controls to the new VI front panel wiring them to the main VI as I did so. . I then run the VI. No errors occur. But nothing happens either, except that the main VI is running. I double-click on the icon and make changes to the controls on the main VI front panel and that still works. Whenever I change a control on the new VI, it never propagates to the main VI. I even stuck a probe on both wires in the new VI, but they just say "Not executed". Then I figure I need an event structure for the controls, so I add that to the new VI, encapsulating everything in a while loop. That causes the main VI to never run when the new VI starts. So I went back to the original state, but still nothing.
I suspect there is some detail or setting that I just don't know about that is causing my pain. Since I did create several VIs that provided calls to a dll in the main VI, I thought I knew how to create and use VIs, but apparently not. It would seem to me that I have everything constructed correctly or I would be getting errors, but since I am not getting any data transferred to the main VI, I think it might have something to do with why LV choose the caption and not the label when I created the terminal. I know that everything is based on the label name because I discovered that you cannot change the label while the VI is running.
So if you can help me get this working I would be very grateful. Thanks.