12-10-2015 03:21 AM
Hi,
I don't understand, why LabVIEW won't allow same tag names even though entered under different parent tags
Can I overcome this problem without changing the child tags ?
LabVIEW - 2012 SP1
Regards,
Runjhun
12-10-2015 04:31 AM - edited 12-10-2015 04:32 AM
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?
12-10-2015 05:27 AM
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 !!
12-10-2015 05:44 AM - edited 12-10-2015 06:04 AM
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.