LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to make a control to let the user to select a type of line?

Dear All,
I want to make a control to let the user can select a type of line from some types. Just like selecting the line type of plot in the graph.
Is there any good way to do it, or is there any examples?
 
Thank you.
0 Kudos
Message 1 of 7
(3,146 Views)
Hello,

I think you can use a pict ring as selector and the detect value changes of that indicator to apply the new plot style on the graph using property nodes.



Let me know if you need more help on this 😉

Message Edité par TiTou le 08-30-2006 01:50 PM


We have two ears and one mouth so that we can listen twice as much as we speak.

Epictetus

Antoine Chalons

Message 2 of 7
(3,144 Views)
Thank you for your reply.
But I am sorry that I don't know what exactly should I do.
I only want to display five or six types of line, and let the user to choose one, and the vi tell me which one the user select. For example, when the user select the first one ,the vi will give me 1.
 
Thanks.
0 Kudos
Message 3 of 7
(3,117 Views)
see the attached
Message 4 of 7
(3,110 Views)
Thank you for your reply.
But your vi is edited in LabVIEW8,mine is LabVIEW 7.1.
Would you convert it?
 
Thank you.
0 Kudos
Message 5 of 7
(3,105 Views)
Hello,

I converted the VI posted above and added a few thing to show how to use the property nodes.

You can now change the LineWidth with the dropdown during the VI is running, if you search in the the property node "Plot >> ..." yopu can access many settings, such as color, scales, etc... Have fun !


We have two ears and one mouth so that we can listen twice as much as we speak.

Epictetus

Antoine Chalons

Message 6 of 7
(3,098 Views)
Thank you very much!
0 Kudos
Message 7 of 7
(3,093 Views)