LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to use tree control

I'm tring to read the Symbol property node of a tree control. And I got this error message:

Error 1135 occurred at Property Node (arg 1) in TreeControl.vi

Possible reason(s):

LabVIEW: The tree control's active item is not valid for this property.

Am I doing something wrong? Do I Have to set anything?

Is there a tutorial, a video?

Nitrof
0 Kudos
Message 1 of 5
(4,812 Views)
I haven't played with the symbols in the tree control, but it sounds like from the error message that the item currently selected in the control can't have a symbol associated with it--like perhaps if nothing is selected? Can you post your code? That would help in troubleshooting.

In terms of your other questions, there isn't a tutorial on the thing, or a video. The interface is not particularly intuitive either. I have been playing with the thing fairly extensively and might be able to provide some pointers. What are you trying to do?

Mike...

Certified Professional Instructor
Certified LabVIEW Architect
LabVIEW Champion

"... after all, He's not a tame lion..."

For help with grief and grieving.
0 Kudos
Message 2 of 5
(4,812 Views)
I have worked quite a bit w/ the symbols. You must set the "Active Item Tag" before getting or setting the symbol. NOTE: The currently selected item is not the active item, you must set it.

I think the attached VI should shed some light on your trouble

-Norm Kirchner
Engineering Specialists
NormK@engspec.com
Message 3 of 5
(4,812 Views)
Hi Mike,

Here is the sample code. Like you just mention. The interface is not very intuitive. I'm not even sure of what is a symbol. I'm beginning with tree controls and I'm trying to see what I can do with it. What I want to do is have a selection of signal and dynamically assign theses signal to controls that are in the Sub Panel on the right side of my application. One thing that I would have liked to do is. Have the possibility to drag signal from the tree control and & drop them onto the desired control. I also want to associate a property to theses signals and keep trace if a signal as already been assigned to a control. If you have any clues that could help. I would appreciate. where to begin to use the tree control.

Thanks

N
itrof
0 Kudos
Message 4 of 5
(4,811 Views)
NJKirchner : If I could rate this message a "10" I would. This has been a real showstopper for me for weeks now!
 
It's a shame the string "1135" didn't show up when I did my search. I had to be referred here by an NI rep who'd read it in the past.
 
Many thanks!
0 Kudos
Message 5 of 5
(4,497 Views)