08-27-2013 08:33 AM
I have tried this option too, I right clicked and deselected the include data type option. And after doing this I do not get wire conflict but for some reason the refrence is not passed and when I tried to access the reference in other vi I got a new tab order instead of getting the reference of the tab I wanted. Would you be able to show me with the example ? all the answers I have received for this question have the reference defined within the same vi.
08-27-2013 08:33 AM
I have tried this option too, I right clicked and deselected the include data type option. And after doing this I do not get wire conflict but for some reason the refrence is not passed and when I tried to access the reference in other vi I got a new tab order instead of getting the reference of the tab I wanted. Would you be able to show me with the example ? all the answers I have received for this question have the reference defined within the same vi.
08-28-2013 04:38 PM
Hello Raj,
If you are interested in how to modify your Tab Control from another VI, I recommend that you check out the following Developer Zone Community page:
https://decibel.ni.com/content/docs/DOC-12776
09-03-2013 11:02 AM
take a look at the following pics
front panel :
data.ctl file to pass the reference to
my confusion is that when I pass the reference using the control refnum and then try to unbundle then I get an error 1055 : object reference is invalid. I want to know if I am passing the reference right ?
09-04-2013 01:55 PM
Hello Raj,
I re-created the code displayed in the pictures you posted and did not receive an error.
Is the type def that holds the tab control reference in the same project as your main VI? What version of LabVIEW are you using?
Could you please post the code that is creating this error? You can always use Application Builder to zip the entire project:
http://www.ni.com/white-paper/3303/en/
09-05-2013 10:49 AM
the issue got fixed, I was trying to use pass the tab control reference from the main vi to a subVI. Then I was trying to access the pages using a case structure, I thought I would get the pages by defualt with their names but I was not but when I added more cases inside the case structure then I was able to access the pages. So I had to match the cases inside the subVI case structure manually.
09-06-2013 07:50 AM
That is great news! Thank you for following up.