10-19-2007 05:10 PM
10-19-2007 09:31 PM - edited 10-19-2007 09:31 PM
Hello Dr. Octagon,
I've noticed that your icon does not show up. It is just a red X on a white sheet, the typical image not found icon. It looks like you have it pointing to "http://files.ofmirroreye.net/images/2006/anticon.jpg" which most people probably cannot access. If you really want to use your icon, post a message in this thread with the .jpg file as an attachment. This will put the file on the NI forums which everyone can access. Then have your profile point to the attachment in the message that you posted.
As for your question. Do you have 32 tabs with one graph on each? Do you have some array or cluster that keeps track of what channels are active and which aren't? Perhaps a screenshot of your front panel (preferably in .png) or the actual .vi itself would help. I think what you would need to do is use property nodes. Create a property node for your tab control called Pages and set it for read. This gives an array of references for each page in the tab control. Use a For loop to iterate through the references and feed them into a property node for the Page called PageVis (page visible). Write a true or false to that node based on whether you want it to show or not. Or use the property node called Page Enabled where you write a constant to either Enable, Disable, or Disable and Grey. You would just need to devise the code to correlate your array of "Active Channels" to the page reference array. The property node for PageLabel might help to determine which page the reference refers to.
Attached is an image to show the property nodes I referred to. You'll have to figure out the logic.

Message Edited by Ravens Fan on 10-19-2007 10:33 PM