07-11-2011 09:37 AM
Hi All,
The user requirement for this program is to collect strain (at 2 different sampling rates), pressure, and temperature. Sometimes not all the sensors will be used. For example, only collect strain and not pressure or temperature. I would like to make this VI very flexible so the user can select different type of measurements based on different scenarios. I was planning to create a tab control, which the first tab allows the user to select what measurements to perform. Based on the selection(s), configuration tabs that corresponds to each sensor will be visible (invisible at startup) for the user to enter in the parameters. Then proceed with data collections.
Any other ideas?
Thank you,
Lynniz
07-12-2011 06:10 PM
Hi Lynniz,
That would be one way to do it. You could also use a Ring or Enum control, corresponding to the different combinations. That control would then lead to different cases of a case structure. That might be a bit simpler to implement than tab controls, and would give the user the option to use just a drop down menu, instead of selecting tabs. It just depends on how you want the code to interact with the customer. Hope this helps. Good luck!
~kgarrett
07-14-2011 08:39 AM
Thanks kgarett88, I will give that a try.