Search code examples
user-interfacelabview

Check box selection for labview


I need some help around LABVIEW. I would like to create a control menu for a chart or Graph that should look something like

enter image description here

  1. the control should be dynamic based on the # of channels configured by the DAQ
  2. the leftmost box is a check box that once selected will indicate to the graph that this channel should be visible
  3. the name box should hold the name of the channel
  4. color box will control the chart/graph color

in general like the raw legend but that is a control

I was thinking maybe the right way is to make this selection box as a standalone and that based on the selection only relevant data will pass to the graph but I'm open minded to any suggestion appreciate the answer and explanations

Thanks


Solution

  • As suggested by Steve you can use the items from the waveform graph control, but if you want to do it programmatically you can use the property nodes of the control to select the plots and to change colour, name of the plots and make them visibles, in this way you can even create some personalized control to make the UI more catchy or easier to use. You can find this properties when you right click the control and select create, in this specific case you have to go into the menu "plot" and there you can choose all the properties you want to change.