vidur moudgil Posted August 21, 2008 Report Share Posted August 21, 2008 hi everybody, i have got a problem how can we make a front panel dynamic in such a way that suppose we select a case structure or press a button than the controllers and indicators corresponding to that choice r visible in the front panel not of other options?? Quote Link to comment
Antoine Chalons Posted August 21, 2008 Report Share Posted August 21, 2008 QUOTE (vidur moudgil @ Aug 20 2008, 11:25 AM) hi everybody,i have got a problem how can we make a front panel dynamic in such a way that suppose we select a case structure or press a button than the controllers and indicators corresponding to that choice r visible in the front panel not of other options?? Hello, As far as I know you can not create controls/indicators dynamically. What you can do is place all the controls/indicators on the and use property nodes to hide/show only the controls/indicators corresponding to the selected case. Another way is having a tab control, and create one tab per case. I hope this helps. Quote Link to comment
vidur moudgil Posted August 21, 2008 Author Report Share Posted August 21, 2008 QUOTE (Antoine Châlons @ Aug 20 2008, 01:12 PM) Hello,As far as I know you can not create controls/indicators dynamically. What you can do is place all the controls/indicators on the and use property nodes to hide/show only the controls/indicators corresponding to the selected case. Another way is having a tab control, and create one tab per case. I hope this helps. k thanx buddy now like i put a case structure and have many indicators in each case, watr should i do to make the indicator show only when case is running any idea??? i searched the property option for field corresponding to it couldnt find it Quote Link to comment
Francois Normandin Posted August 21, 2008 Report Share Posted August 21, 2008 There's a "Visible" property of each control and indicator. Quote Link to comment
Antoine Chalons Posted August 21, 2008 Report Share Posted August 21, 2008 QUOTE (vidur moudgil @ Aug 20 2008, 02:20 PM) k thanx buddynow like i put a case structure and have many indicators in each case, watr should i do to make the indicator show only when case is running any idea??? i searched the property option for field corresponding to it couldnt find it Here is a quick example in LabVIEW 8.5.1 with comment on the block diagram. Hope this helps Quote Link to comment
Anders Björk Posted August 21, 2008 Report Share Posted August 21, 2008 QUOTE (vidur moudgil @ Aug 20 2008, 02:20 PM) k thanx buddynow like i put a case structure and have many indicators in each case, watr should i do to make the indicator show only when case is running any idea??? i searched the property option for field corresponding to it couldnt find it A tab control maybe useful, one tab or each case. Quote Link to comment
vidur moudgil Posted August 22, 2008 Author Report Share Posted August 22, 2008 QUOTE (normandinf @ Aug 20 2008, 01:32 PM) There's a "Visible" property of each control and indicator. http://lavag.org/old_files/monthly_08_2008/post-10515-1219235557.png' target="_blank"> thanx buddy Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.