Quantcast
Channel: OSIsoft Users Community
Viewing all 1120 articles
Browse latest View live

Configure pibackup.bat for non-VSS

$
0
0

After some consternation trying to perform a simple PI server backup on my Windows 8.1 - x64 device I discovered I could perform a manual backup by unchecking the "Use VSS Backup" option on the dialog in the [Operation]=>[Backups] plugin of PI SMT. Apparently my Windows 8.1- x64 operating system is not compatible with VSS backups. So I am glad I was able to at least get a manual backup performed. Now I would like to set the pibackup.bat file or the task scheduler to do the same. So far I am unable to locate any instructions on how to do this. - I appreciate any feedback from the community of users who may have encountered this.

 

Also, when I perform a pibackup from the command line I also get the VSS backup errors. I don't know if there is an optional attribute I can write that will explicitly tell pibackup.bat to perform a non-VSS backup.

 

Worth noting is according to this tech support article: https://techsupport.osisoft.com/Troubleshooting/Alerts/AL00261 the VSS backup does not work on Windows Server 2012 R2 and one should use the non-VSS backup as an interim measure.


C# PI SDK

$
0
0

what would be the equivalent of the excel PIAdvCalcFilVal, PITimeFilterVal, or TimeGE

 

If I wanted to get a value from an equation using the SDK in C#. The documentation isn't helping much with this

PI Processbook

$
0
0

Hi

I am very new to PI system. I have just started to build a Processbook which is using little bit VBA. Is it possible to access PI Tag Value directly to VBA instead of creating a name on ProcessDisplay? I want to use current as well as last 24 hrs average value for my calculations. Is it possible to access PI Dataset values directly to VBA? how?

or have to create an expressions using PIExpression in VBA?

I want to give alarm or some change in state whenver difference between average and current value is more than certain limit (Which I have already done with defining average and current value in process display but now I want to do without displaying it on process display). There are two to three displays... will have to give notification or beep sound whenever there is alarm in any of process display.

I have found some interesting codes here which I think will be useful... it is very nice forum.

Hope to see more response and ways to do it .

 

Have a great day to all of you

ACEHASyncTag point source?

$
0
0

We have five ACE calculations deployed in our system . While searching for tags,I found these with a descriptor of "ACE HA Syncronization tag; do NOT delete: 

 

 

Tag Name                                                      Pt Source                    Pt Class                     Descriptor

0FB60D26-5034-470c-A5A6-020965173EE01x ACEHASyncTag                base            ACE HA synchronization tag; do NOT delete 0FB60D26-5034-470c-A5A6-020965173EE02x ACEHASyncTag               base            ACE HA synchronization tag; do NOT delete 0FB60D26-5034-470c-A5A6-020965173EE02xdefault  ACEHASyncTag   base           ACE HA synchronization tag; do NOT delete 0FB60D26-5034-470c-A5A6-020965173EE0scaleout ACEHASyncTag      base           ACE HA synchronization tag; do NOT delete

 

From the tag description, it looks like these tags are used for ACE monitoring in High Availability environment.I have couple of questions regarding these tags:

 

1. If these tags were created during ACE code deployement , then I should have five tags instead of four(one for each ACE routine).

2. We do not have HA environment and yet the tag is getting values. Two tags have current value (of 1) and rest have 0/Pt Created. How are these tags getting current values?

 

Note:Some of the context associated with ACE routines are out of service/error. We are using PI server 2010

 

Thanks,

Arti

To use PI Calculation Expression for Another Expression Calculation

$
0
0

Hi all, let's say i create a PI calculation expression with following formula:

 

expA=123+'ABC'+'DEF'+'GHI'     where ABC, DEF and GHI are my process tags in PI.

 

then can i create another expression like following?

 

expB=expA+'JKL'     where JKL is my another process tag.

 

May i know how can link my first expression into my second expression calculation like Excel spreadsheet? via VBA code?

 

Appreciate everyone to assist me in this matter. Thanks !

How can we insert PI into Power Point ?

$
0
0

I had developed some monitoring dashboard using PI. Would it be possible for us to show the PI screen in the MS Power Point presentation screen?

 

For example,

MS Power point slide 1 shows my first PI page, then after few seconds, power point would go to second slide and show my 2nd PI page.

 

Thanks

Using OPC Redundancy Broker

$
0
0

Hello all,

 

Does anyone know what it takes to set up redundant interfaces to acquire data from MatrikonOPC Reduncancy Broker?

The Server works and gathers data for other clients but when the interface tries to connect, PI SDK Utility just says "Can't Connect to OPC Server, going into slow cycle". Any help would be appreciated. Thank You

Need Help with event based calculation

$
0
0

Hello folks,

 

I need help with event based calculation. Here is my scenario.

 

I have 2 input tags I.e. Tag A and Tag B.

 

Need to create a PE calculation that will trigger when either Tag A or Tag B gets new value, it will check for data and  and assign one value to Tag C  ( PE tag).

 

Thanks.


PI Process Book Trend - Fix scaling in multiple Y Axis

$
0
0

Hello! I have been searching online and in this forum for information on fixing multiple Y Axis scales in a trend in Process book, but have had no luck to date.

 

Effectively I am producing multiple trends with multiple tags displayed on each trend. Using the autorange or database scaling for the trends does not work for me, as I'm trying to get a select view of the process tags, i.e. say a level indicator reading where I only want to see between 0 to 100 Liters constantly. I am aware that the scale can be changed to absolute for individual tags and have tried this in both run mode and build mode, but I have noticed that when then manipulating the trends in run mode, the axis scaling will often revert to the default. Is it possible for me to set an absolute scale for each tag and have that scale be fixed permanently so that they do not change? Any help would be much appreciated!

 

- Patrick

PI Trust on Secondary PI server & Interface Configuration

$
0
0

Hi Community,

I have installed & configured PI UFL interface on Secondary PI server  but the ICU wont allow me to save the configuration and will fail to run. When I tried to save the PI UFL configuration PI ICU will throw me the follwing error

 

Error -2147220215: Error -2147220215 from call ptrPIProperties->Remove in DeletePIProperty (%OSI:Interfaces:AUHCCPI2:PI_UFL2) (Arguments). The target server database failed to load.[-10401] No Write Access - Secure Object (SetAllArguments) from call to PIInterfaceSettingsPtr.SetAllArguments(/AM=5 /CF=D:\PIPC (x86)\Interfaces\PI_UFL\INI\GWNB3_Config.ini /LB ) (SaveSettings)

 

As per my understanding we will receive this error only when there is no trust / write access to PI server from Interface node (i.e. secondary PI server in my case) , but secondary server has a Trust and PI Trust is the connection default protocol used.

 

Please see the attachments for more infromation.

 

Please share your thoughts & help me find the solution for this issue, please let me know if you need any more infromation.

 

Regards

Vijay

 

Attached Images

  • PI UFL Error.JPG
  • Connection Options.JPG

I am the new guy with a question [DataLink results filtering]

$
0
0

Hello to all!

Yes, I am new to PiDataLink and I have a question. (hope this is the correct place to put it)

I am getting correct data from my tag, however I am trending in excel over a 7 day period.

When the output of the tag displays "No Data", can this be converted in any way to be displayed as a 0 (zero) instead?

 

Thanks,

Kip

EMDVB Interface Configuration

$
0
0

Hi guys!

 

Mora than a question, this topic is a request. It is possible (or maybe it is already available) to create a video that demostrate the uses and configuration of the Template system in the PI EMDBV Interface throught the PI Event Frame Interface Manager? 

 

Regards,

 

James

digital point is bad when opc interface startup

$
0
0

sorry my poor English

i have a opc interface,opc server and opc interface use MatrikonOPC Tunneller,ICU is the default configuration,

when i restart icu every time,digital point is bad ,and i should edit the configuration,such as location,or  instrument tag(

This line is changed to blank, then add configuration)then digital point is 0 or 1.What's the problem cause?

My location 2 is 2 ,location 3 is 1, location 4 is 1,location 5 is 0,and I also tried polled, location 2 is 2 ,location 3 is 0, location 4 is 2,location 5 is 0,The problem still exist

PI Datalink for totalizer

$
0
0

Hi all,

 

We have the operation 24hrs from 06:00 to 06:00, however the totalizer reset time sometime happen between 05:55 - 06:05 before the value reset to zero. How do i use the data link formula to capture the max value btw 05:55 and 06:05?

 

with regards,

Alfred

Accessing client PI system via .NET webservice, exception ebing thrown

$
0
0

We are trying to access a PI system using a .NET webservice with the below connection string.

<add name="PIOLEDBConnection" connectionString="Initial Catalog=piarchive;Data Source = <CLIENT-PI-SERVER>;Persist Security Info = False;Integrated Security = SSPI;" providerName="PIOLEDB.1"/>

However when our client app (in house app that has been used on a number of other clients' PI systems) tries to connect, it returns the following error:

[PI Service] System.Web.Services.Protocols.SoapException: Server was unable to process request. ---> System.Exception: Exception thrown while trying to get PITAG DATA!
Exception Message:[PI SDK] The requested server is not currently available.
Stack Trace:   at System.Data.OleDb.OleDbConnectionInternal..ctor(OleDbConnectionString constr, OleDbConnection connection)
   at System.Data.OleDb.OleDbConnectionFactory.CreateConnection(DbConnectionOptions options, Object poolGroupProviderInfo, DbConnectionPool pool, DbConnection owningObject)
   at System.Data.ProviderBase.DbConnectionFactory.CreateNonPooledConnection(DbConnection owningConnection, DbConnectionPoolGroup poolGroup)
   at System.Data.ProviderBase.DbConnectionFactory.GetConnection(DbConnection owningConnection)
   at System.Data.ProviderBase.DbConnectionClosed.OpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory)
   at System.Data.OleDb.OleDbConnection.Open()
   at NativeService.Business.PIManager.GetPITagData(tagDataRequest theTagDataRequest) in c:\Dev\dotNET\-native-service\NativeService\NativeService\Business\PIManager.cs:line 77
Query:
Connection String:Provider=PIOLEDB.1;Initial Catalog=piarchive;Data Source = <CLIENT-PI-SERVER>;Persist Security Info = False;Integrated Security = SSPI;

   at NativeService.Business.PIManager.GetPITagData(tagDataRequest theTagDataRequest) in c:\Dev\dotNET\-native-service\NativeService\NativeService\Business\PIManager.cs:line 142
   at NativeService.PIService.getPITagData(tagDataRequest tagDataRequest) in c:\Dev\dotNET\-native-service\NativeService\NativeService\PIService.asmx.cs:line 94
   --- End of inner exception stack trace ---

   
   
If we try to connect directly using the PIOLEDB client, we can connect fine.

So I can only think this is an issue with either Firewall or Windows account authentication (see we're using SSPI)

Unfortunately this is as client’s PI system so we have no direct access to the system itself and are reliant on the client providing access (something they seem to feel they have done).
I know the error is very generic and gives very little detail but was just hoping someone would have seen the 'currently unavailable' error before and point us/client in the general direction of what they should
be looking at. As I say, if we try to connect via the PIOLEDB client, everything is fine.

 

Appreciate your feedback

 

K
 


Write a comment with VBA/Excel

$
0
0

Hello again guys, I'm working on Excel sheet to keep up with some points and i want to the user write a comment in a value.

Is there a way to do it with VBA in Excel?

PIPutValx does not support comments right?

Datase TagAvg function

$
0
0

Hi All, 

 

I'm pretty new to the community. Have a question on TagAvg function. I would like to use it in datasets.

I have a specific tag and need to get its daily average for the last 14 days. So, basically, 14 datasets will be created. 

Can someone help me with expression for dataset? Don't know how to set them.

Thank you.

Need to show dynamic values ​​at the same point a display of PI ProcessBook?

$
0
0

hello friends, this is my first post on the forum. Need to show dynamic values ​​at the same point a display of PI ProcessBook.
ex: three tanks that are plant load, the display shows the flow and temperature that are delivering when the tank I want to change the values ​​of the tags to be displayed in the same location as the previous tank.

Trending Data in Excel

$
0
0

I'm trending hourly data in excel.  I only want the hourly values shown, to be included.  However, when I perform "min" or "max", the values not shown in the cells are included.  Was wondering how to not include those. 

What to look at when performance tuning PI reads

$
0
0

We have a PI server that seems to be performing poorly when users try to pull data from it as it compares to other PI servers in our enterprse.

 

This server is a lot larger than any of our other pi servers, 60k tag server that is writing about 5k events per second to the archive. I have perfmon setup on the server but i dont see anything out of the ordinary, CPU, RAM, and Disk I/O is good. Every once in a while Disk I/O will drop drastically but then recovers.

 

I am thinking it may just be that some parameters need to be adjusted in the tuning parameters. Is there something i should be looking at in the parameters? Is there any documentation about how to go about tuning for this stuff?

 

 

Viewing all 1120 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>