11-11-2010 07:11 AM
hi
when I am adding another tab(lockin amplifier) in the front panel, the program is showing connection error. What should I do to get rid of these errors? i am attaching the file along the sub vi.
Regards.
Solved! Go to Solution.
11-11-2010 10:11 AM
That is happening because the datatype of the tab control is changing (you are adding another page). A tab control is essentially an enum, and the enum values are part of the datatype. A control reference of the tab control is being bundled and passed into several subVIs. The front panel cluster control on these subVIs have the "Main Control" element set to "Include Data Type". Thus, what they expect to see (e.g., a tab with 3 pages) is not what they're getting. Hence the broken wire. You have to either:
Aside: whoever wrote that program needs a lesson on typedefs.
11-11-2010 12:05 PM
hi
thank you for the solution. it really helped a lot. if you can take a little bit of more pain of eloborating what do you mean by udating all the refrences of the controls in the front panel. do you mean to say that i need to design the front panel from the scratch? i am new to labview.
warm regards,
srinivas