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

Performance Equation for Range Lasting for Defined Interval

$
0
0

I am trying to generate a Performance Equation to be used for a Filter Expression in Datalinks which will return any occurrence of a value being within a specified range for at least a given amount of time.

 

Example:

Show me all occurrences where 'tag' stayed between 1 and 2 for longer than 30 seconds.

 

Thanks in advance!!


OPC Interface Scan Class #limit?

$
0
0

I'm in the Process of splitting up about 15k tags into a more manageable configuration and stick with suggestions I have read on here.  (Keeping Advise tags below 800)

 

My main question is if I have an OPC Interface for this group of tags, splitting them below the 800 tag count mark, I would need 20 different Scan Classes to do this.  At what Point should I create a new Interface entirely in addition to the Scan Class editing I'm doing?  I don't see anything that addresses this in the document.  

 

 

We are growing our PI system very quickly and I need to better prepare for long term expansion and use.  The tag count assigned to this Interface will continue to accumulate in the coming months/ years.

 

 

 

Thanks,

 

Joe

 

Simple Archiving Questions...

$
0
0

I've been on the development side of writing apps that use PI data for so long that here I am trying to do something relatively simple and coming up blank.

 

What I want to do is write the tag data to the DB once a day.  Also write if it changes at all.

 

How would I go about this with SMT and then with importing the tags into Excel using the SMT Excel add-in?

 

I'm pretty sure this is something with the Compression and Exception Deviation, but I'm drawing a blank here.

 

 

 

*feels like a moron*

Looking to include a bunch of tags with similar names all at once

$
0
0
Hi!

I've been reading a lot of different documents but can't seem to find the right way to programatically include all similar tag values ( _STRING1_Ennn_ in all their names, where nnn is numeric sequence from 001 to 180 ) Into my RtReport.

I've looked at journal actions, tag aliases, module db aliases, performance equations, regular elements... the solution escapes me. Any thoughts welcome.

Short version: wish I could iteratively add tags to my data journal with an expression that works in the tag search window, something like *TAGNAME_E???

error in PI manual logger configuration

$
0
0

Hi Friends,

I ma getting this error during manual logger installation.

 

'Invalid object name 'dbo.tblMasterVersions'.

 
Source: .Net SqlClient Data Provider'
 
How to rectify the above error???
 
 
regards,
 
veeresh

Question on Trust setting for PI Collective

$
0
0
Helloooooo all....

I am so used to single PI server, but relatively new to PI Collective.. The following is taken from PI document...

Any configuration changes can only be written to the Primary Server of the collective, where a configuration change log is maintained. Periodically the Secondary Servers review the change log and update their configuration data accordingly. If the Primary Server is down, configuration data cannot be changed and the user attempting to make changes will be given an error message. In the event that the Primary Server cannot be restored or the time to restore it exceeds acceptable time-frame, there is a simple manual procedure to promote a Secondary Server to the Primary Server role.

My question is, In single PI server, i create Trust directly using PI-SMT. My understanding for Collective is, i only have to configure Trust on Primary Server only. The Secondary is smart enough to duplicate everything. Is that true?

is there a remove cursor event?

$
0
0

HI,

 

I am currently trying to write code for process book that when you add a cursor to 1 of 4 trends on a display it will automatically create cursors on the other 3 trends. Also, whenever a cursor is moved, the other cursors associated with that cursor will move as well. I am currently able to do this to some degree.

 

The problem that I would like to solve is;  whenever a cursor is removed from one trend, I would like the other 3 associated with it to be removed as well.

 

I know whenever you add or move a cursor the object_cursordrop event is called. My question is;  is there an event or sub that is called when you remove a cursor from a trend? If so, what is called? I would like to use this event to accomplish my goal. If there isn't, is there any suggestions on how I could accomplish this.

 

I thought about using the mouse out event but I was hoping to find something that would only run when the cursor is deleted.

 

Thanks

 

Aaron

 

 

Created more than one Timer in one Display

$
0
0

HI All, Thanks for your help in advance.

I am trying to created different timer working in one display. I am wondering if this is possible. I was able to created a timer. but at the time I try to make another one. it freezes and gives me debug issues.

 

So here is What I am try to Achive:

I have 5 Pi Tags Values been check in real time.

I need 5 different Timers for each Value

If value is greater or lesser than the Boundaries. Timer Start for a count of 15 Min and stops with a 15:00.

As soon as the values goes back to within bounderies timer resets to zero.

Now here is the issue. I want them to run at the same time. What I mean is, I may have 2 of the 5 values that timers must start at the same time. If there is a way to make this happen please let me know thanks. please let me know if you need more info.


Timeleft In Day for Equation

$
0
0

Hello,

 

I'm hoping someone could help me try and figure out part of my dataset equation.

I want to calculate the target tonnes per hour based on the hours left in the day and the tonnes already processed.
I have a cap of 13000 tonnes in a day, and production days go from 6am - 6am. 

 

if hour('*') < 6 then (13000 - tagtot('TAG1','t-18h','*')*24)/TIMELEFT  else  (13000 - tagtot('TAG1','t+6h','*')*24)/TIMELEFT

 

TAG1 has units of tph

 

Any help would be appreciated!

 

Thanks

xml.osisoft.com Down?

$
0
0

I'm trying to use wdsl.exe to create c# sources to allow me to connect to Pi Web Services, using a WDSL file that has been provided by my customer.

 

However, at the moment xml.osisoft.com appears to be down, so the program has an error when attempting to access http://xml.osisoft.com/services/PIDataService:GetPIArchiveData

 

This means that the system can't access some of the namespaces and dependencies in the WDSL file - the whole thing fails.

 

Is the website down, undergoing maintenance etc? Or does it require some form of authentication to access it?

 

Or has OSISoft deprecated PI Web Services in exchange for the PI Web API?

 

If anybody knows the story, it would be great to know. 

 

Thanks for your help.

Exporting Values into excel using VBA?

$
0
0

Hi,

 

Rather than using DataLINK, I was wondering whether it was possible using VBA to export values from PI Displays into excel?  What I would like to do is to be able to write VBA code to allow me to export displayed values into excel when a buton on the display is pressed - Is this possible? 

Error Using PITimeSeries WSDL File

$
0
0

I'm trying to use wsdl.exe (shipped with .NET / MONO) to create c# sources to allow me to connect to Pi Web Services, using a WSDL file that has been provided by my customer.

 

This is the output -

 

C:\Program Files (x86)\Microsoft SDKs\Windows\v8.1A\bin\NETFX 4.5.1 Tools>wsdl c:\tmp\PITimeSeries.wsdl

 

Microsoft ® Web Services Description Language Utility

[Microsoft ® .NET Framework, Version 4.0.30319.33440]

Copyright © Microsoft Corporation. All rights reserved.

Warning: This web reference does not conform to WS-I Basic Profile v1.1.

SOAP 1.1 binding was not found: WS-I's Basic Profile 1.1 consists of implementat

ion guidelines that recommend how a set of core Web services specifications shou

ld be used together to develop interoperable Web services. For the 1.1 Profile,

those specifications are SOAP 1.1, WSDL 1.1, UDDI 2.0, XML 1.0 and XML Schema.

 

For more details on the WS-I Basic Profile v1.1, see the specification

at http://www.ws-i.org/...rofile-1.1.html.

 

Error: Unable to import binding 'TimeSeriesEndpoint' from namespace 'http://xml.osisoft.com/services/PIDataService'.

  - Unable to import operation 'GetPIArchiveData'.

  - The element 'http://xml.osisoft.c...tPIArchiveData' is missing.

 

http://xml.osisoft.c...etPIArchiveData appears to be missing from the WSDL file

 

This means that the system can't access some of the namespaces and dependencies in the WSDL file - the whole thing fails.

 

Does anyone know how I access these? Do I need one of the other two service WSDLs? 

 

If anybody knows the story, it would be great to know. 

 

Thanks for your help.

Pi Server not saving Manual Logger archives from more than 27 days ago

$
0
0

Hi guys,

 

Am running a tour wherein I'm adding some historical data (from a few months ago) using Pi Manual Logger. Hit a roadblock because I noticed that values from more than 27 days ago wouldn't archive. Using Archive Editor to check for values added and it's not showing me the data from more than 27 days ago, has anyone else experienced this?

Thank you!

Isamu

ProcessBook Issue

$
0
0

Hi Guys,

 

I had developped one Processbook Screen using VBA.My requirement is while i am Clicking the Value i have to get Trend based on that value .The PB working fine in Server machine.In Client machine It is creating the issue.While I am Clicking the value it shows tagname is invalid and runtime Error '8322'.I have google it about this error.It shows some registry file is missing like that.What kind of file might have missed,where i have to register that.Herewith attached that model PDI.Any reply it will be appreciated.

 

Thanks.Attached File  PB Screen.pdi   59.5KB   6 downloads

True False Count Function

$
0
0

Hello,

 

I'm trying to write a Data set in Pi Processbook to display the number of times a True/False tag returns a "True" value from 6am to 6pm and then also reset its count from 6pm to 6am.

 

I'm hoping to display both of these values at the same time so I believe that two different Data sets may need to be used.

 

Any help on this would be greatly appreciated.


Backfilling data before tag creation date

$
0
0

Hi,

 

I received a request to backfill data whereby the data provided is before the tag creation date. I use the piconfig method to backfill of similar requests.

 

I have tried to backfill but the data is not archived. Is there any better way than using a spare tag created during the implementation of the PI server, then migrating the existing data to the new (spare) tag? This is not a fun job and a time consuming job as I need to migrate the data on all the PI servers in the collective.

 

Adli

Pi Tag Configurator not showing up after SMT install

$
0
0

Hi all,

 

I use Excel 2013 and have installed SMT, tells me that Pi TagConfigurator 2.1.4 was installed as part of the package.. but it doesn't seem to show up in Excel. Tried looking for it in the add-ons (Excel -> Options), even the disabled add-ons but nothing appears. Is there official support for Excel 2013?

Thanks!

 

Isamu

Pi Notification - SMTP server

$
0
0

Good day gentle-persons, 

 

Having Installed a complete Pi Server System on a HP GEN8 small business server, running Windows Server 2008 R2 and I have everything running proper, some 800 tags ...

I have now installed Pi Notification on this same server and have configuered 150 plus notifications.

 

At my office, I had everything running good , sending email notifications only, using our own company's SMTP server ....

 

Now this server/system has been installed in the field at a remote location, all tags and connections are running great.

 

This system is connected to the internet via an Xplornet ISP, and i can connect to this server via LOGMEIN PRO from my office. 

 

The problem - I am unable to send Notification emails from this system.: TRANSACTION FAILED. THE SERVER RESPONSE 5.7.1 RECIPIENT ADDRESS REJECTED: ACCESS DENIED

.

My ISP Xplornet, says it is a secure connection with authentification for there SMTP server, port 587.

 

How / Where in Notification do I configure it for a secure SMTP ?

I have looked in the OSI knownledge base to no availe.

 

Any Thoughts

Process Book - Excel Worksheet Issue

$
0
0

Hello, I am trying to insert an Excel worksheet to ProcessBook (Insert-->Object...). The worksheet contains a few complicated bar charts with vertical axis labels. When it is inserted in ProcessBook, I found all the vertical axis labels cannot be properly displayed. A screenshot is attached. Also, I've tried different font types, but none of them works.  Any suggestions and comments are highly appreciated. 

 

Attached Images

  • Screenshot.jpg

Attached Files

Process Book - Manipulating Timestamps

$
0
0

Hello,

 

I currently develop a Process Book Display to compare simulation data and real plant data which are stored in several PI Tags. My problem is that the simulation can be run faster than realtime resulting in a somehow "timely compressed" curve in comparison to the realtime data. If I know how much faster the simulation runs, i.e. I know the realtime factor, then is it possible to manipulate in ProcessBook the timestamps of the Tags to straighten the curve before plotting them? Unfortunately we have to assume that the realtimefactor is not constant, but stored in another PI Tag.

 

Regards,

Heiko

 

Viewing all 1120 articles
Browse latest View live


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