3 Replies Latest reply on Dec 21, 2017 2:00 PM by Guilherme Ferreira

Taglist duplication

Hi all!!

I'm wondering if it is possible to use a PItoPI interface in order to copy tag values when source and destination is the same PI server.

Situation:

I'm trying to use a PItoPI interface indicating: (starting it in interactive mode):

source: IP of the PI server and

Destination: FQPN of the PI server

Following entries appears in Message log:

12/20/2017 3:16:14.68027 PM, , Information, Uniint is running in Extended API Mode with options 0x00000029, PItoPI, , PIToPI-, , , , , , , , ,

12/20/2017 3:16:14.76428 PM, , Information, Uniint version> 4.6.0.60, PItoPI, , PIToPI-, , , , , , , , ,

12/20/2017 3:16:14.82228 PM, , Information, PIUT Version> 3.4.400.01 (Uniint build), PItoPI, , PIToPI-, , , , , , , , ,

12/20/2017 3:16:14.8893 PM, , Information, IOCP Version> 2.0.12.0, PItoPI, , PIToPI-, , , , , , , , ,

12/20/2017 3:16:14.9413 PM, , Information, Starting interface interactively, PItoPI, , PIToPI-, , , , , , , , ,

12/20/2017 3:16:14.99429 PM, , Information, Loading Points with Point Source: "PITOPI_Copy", PItoPI, , PIToPI-, , , , , , , , ,

12/20/2017 3:16:15.0623 PM, , Information, API Version: 1.6, Build 8.22, PItoPI, , PIToPI-, , , , , , , , ,

12/20/2017 3:16:15.1203 PM, , Information, Trying to establish connection to PI server piafglobal.miproc.com:5450, PItoPI, , PIToPI-, , , , , , , , ,

12/20/2017 3:16:15.2283 PM, , Information, PIAPI Successfully connected to piafglobal.miproc.com:5450, PItoPI, , PIToPI-, , , , , , , , ,

12/20/2017 3:16:15.2843 PM, , Information, PI Server Name: 'piafglobal' Version: 3.4, Build 395.72, PItoPI, , PIToPI-, , , , , , , , ,

12/20/2017 3:16:15.3363 PM, , Information, Uniint is using dynamic PIAPI functions to retrieve point attributes., PItoPI, , PIToPI-, , , , , , , , ,

12/20/2017 3:16:15.3983 PM, , Information, (UTC time on server node - UTC time on interface node) = -1513779375 seconds, PItoPI, , PIToPI-, , , , , , , , ,

12/20/2017 3:16:15.4623 PM, , Information, (Local time on server node - local time on interface node) = 0 seconds, PItoPI, , PIToPI-, , , , , , , , ,

12/20/2017 3:16:15.5323 PM, , Error, Error -10008: pipt_nextptwsourcelong failed for point source UI_IF_INFO. Intializing uniint library failed. Stopping Interface., PItoPI, , PIToPI-, , , , , , , , ,

12/20/2017 3:16:15.6573 PM, , Information, Interface told to exit: calling user cleanup routine, PItoPI, , PIToPI-, , , , , , , , ,

12/20/2017 3:16:15.9843 PM, , Information, piut_disconnect() was successful, PItoPI, , PIToPI-, , , , , , , , ,

12/20/2017 3:16:16.04831 PM, , Information, Interface exiting normally, PItoPI, , PIToPI-, , , , , , , , ,

It is possible to use a PItoPI interface in that way to duplicate a taglist? Exists any other option?

Thanks!!

Patricia.

• Re: Taglist duplication

Hi Patricia,

You would instead want to use the AF Analysis service for this.

The analysis would simply be:

'\\MyPIServer\sourcetag'

with an output attribute that is mapped to your desired tag.

Then, you can backfill for as long as you need.

Gabriel

1 of 1 people found this helpful
• Re: Taglist duplication

Hi Gabriel,

It would help! The problem is that I have more than 2000 tags in PI Taglist.

Patricia.

• Re: Taglist duplication

Hi Patricia!

Following Gabriel's suggestion, you could try these steps:

1. Using PSE, create an element template containing an output attribute and configure the analysis as he said.
2. Manually create one element based on this template with its respective source and output tags.
3. Import this element into Excel using PI Builder.
4. Replicate the configuration line for the 2000 tags you have, replacing tagnames in the required fields.
5. Use publish to create all the elements.
6. Go to analysis management tab, select the 2000 analysis and backfill them as needed.

You may want to test the backfilling with short periods of time first.

Regards

3 of 3 people found this helpful