11-17-2008 05:44 PM
Hello,
I am trying to construct a relatively simple program to read back captions dynamically. Program1 will get the values and caption names from a secondary program called Program2 using an invoke node method. Program1 will then readback the captions and values using a property node. Ideally, I will be able to add an event structure for both programs, so that I can update the values and captions between programs.
The problem I am running into is that when I change the name of a caption in Program2, the updated name does not get reflected back in the first program. I know that LabVIEW cannot dynamically change a label, but I was under the impression that it was possible with captions. I'm not sure what I am doing wrong, but I can't seem to get the program to work correctly. Thanks for any feedback.
The two programs are attached below.
Solved! Go to Solution.
11-17-2008 10:17 PM
Hi Newbie,
The attached VI shows one way to obtain the captions of controls on another VI's front panel - is this what you want to do?
Cheers!
11-18-2008 12:29 PM
Hi tbd,
Yes, this is exactly what I was trying to do! Thanks so much for the solution! It works perfectly. Cheers!