LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How do I make a DAQ Program More Flexible?

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

0 Kudos
Message 1 of 3
(2,449 Views)

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

 

District Sales Engineer
0 Kudos
Message 2 of 3
(2,418 Views)

Thanks kgarett88, I will give that a try.

0 Kudos
Message 3 of 3
(2,396 Views)