AnsweredAssumed Answered

FindPIPointsByPath with a given collective member

Question asked by martin.mertens on Apr 20, 2017
Latest reply on Apr 20, 2017 by gregor

Hi,

 

by using a list of complete PIPoint paths, I want to identify the PIPoints and subscribe for snapshots.

 

However, if I use the method

 

     PIPoint.FindPIPointsByPath(paths)

 

where "paths" is a list of string of the format

\\[SecondCollectiveMember]\[TagName]

 

it correctly returns the PiPoints, but they are pointing to the primary collective member.

 

tag.Server.Collective.CurrentMember.Name is the primary member.

tag.GetPath() returns \\[CollectiveName]\[TagName]

 

If I start subscribing for snapshots of these tags, the primary member's Update Manager will be stressed instead of the secondary.

 

Is it possible to specify the path in a way that the server's name is correctly considered?

 

AFSDK is version 2.8.6.7801.

 

Thank you.

Outcomes