LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Same child name for different parent in tree control

Hi,

 

I don't understand, why LabVIEW won't allow same tag names even though entered under different parent tagsSmiley Frustrated

 

Can I overcome this problem without changing the child tags ?

 

LabVIEW - 2012 SP1

 

Regards,

Runjhun

 

Download All
0 Kudos
Message 1 of 4
(3,692 Views)

RJ_15 wrote:

 

I don't understand, why LabVIEW won't allow same tag names


Because the tag is the unique identifier of the element. What's the problem with having unique tags?


___________________
Try to take over the world!
0 Kudos
Message 2 of 4
(3,672 Views)

I can have unique tags for parent. But not necessarily for a child of different parent.

 

Let s consider a scenario, where am executing a series of tests and within that subtests.

So am populating these tests with the list of available subtests. Now for 2 diff tests, I can have same subtest might be with different test parameters. But overall the test remains the same and hence the name.

 

So I need the flexibility to have same subtest name under different tests !!

0 Kudos
Message 3 of 4
(3,657 Views)

ItemTag has to be unique

ItemName can be the same

 

You can name your children like this:

Set ItemName = ChildrenName

Set ItemTag = ParentName:ChildrenName

 

As you said, your parent names are unique, so you can use that name to set unique itemtags for your children.

 

 

0 Kudos
Message 4 of 4
(3,640 Views)