LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

combo box choose several

Solved!
Go to solution

Hello

 

I try to make a combo box, where it should be possible to choose several values at the same time. The item list contains a bunch of historical traces and I want to do a graph showing only the chosen ones. Is ther any possibility to set a bool for each item, which is per default false and can be changed to true, so this plot is shown in the graph?

 

thanks

 

manuelwaser

0 Kudos
Message 1 of 8
(3,517 Views)

Hello,

 

Using property node of the graph you can. Property 'active trace' and 'trace vible', active trace to choose wich one and visible set to true or false to be visible or invisible (hidden ?). But in beginning you should transfer all traces to the graph.

 

Hope it will help you

Greg S.
CNRS
LV 7.1 8.2 8.6 2009 2011 2012 2013 2014
LPMC - CNRS
N'oubliez pas de complimenter cela fait toujours plaisir.
Message 2 of 8
(3,514 Views)

A listbox might work better to select the traces you want.

 

See the attached vi.

 

list box

Message Edited by vt92 on 04-15-2009 09:27 AM
>

"There is a God shaped vacuum in the heart of every man which cannot be filled by any created thing, but only by God, the Creator, made known through Jesus." - Blaise Pascal
Download All
0 Kudos
Message 3 of 8
(3,509 Views)

thanks for your help

 

sadly this does not work

 

@gregory 45: I can not find "active trace" in the property node from the graph, either not in the one of the combo box.

 

@vt92: sadlz I can not use zour added vi, because I run LabView 8.6 and your vi is built with a newer version.

 

 

0 Kudos
Message 4 of 8
(3,478 Views)

Hi,

 

Here come an example for trace visible or not on graph.

Greg S.
CNRS
LV 7.1 8.2 8.6 2009 2011 2012 2013 2014
LPMC - CNRS
N'oubliez pas de complimenter cela fait toujours plaisir.
0 Kudos
Message 5 of 8
(3,473 Views)

thanks again.

 

but this is not what I want. I have a long list of signals. It should be possible to choose several channels and show them in a graph. I already can create either a combo box or a listbox with the names of the channels. What now is my problem, is to show only the chosen channels.

 

 

0 Kudos
Message 6 of 8
(3,469 Views)
Solution
Accepted by topic author TobiasMeier

Here's the vi saved to LV 8.5

 

 

>

"There is a God shaped vacuum in the heart of every man which cannot be filled by any created thing, but only by God, the Creator, made known through Jesus." - Blaise Pascal
0 Kudos
Message 7 of 8
(3,454 Views)

thanks all

 

it now works fine

0 Kudos
Message 8 of 8
(3,447 Views)