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

PI Processbook Multi state

$
0
0

I am trying to setup a PI Processbook Multi State box. I have a 4 step limit.

 

< 0 Red

0 - 230 Yellow

230 - 250 Green

> 250 Red

 

When I go to put in the 0 - 230 rule it tells me its an invalid entry...what could be causing this? Are multi states only percentages?


PB Add-in Issue

$
0
0

Hi,

 

I'm having some trouble in adding a custom ActiveX Control to a C# PB Add-in.

 

The problem is that i can't cast a PObjLib.Symbol to a PBSymLib.PBControl, thereby i can't access

fields of the ActiveX Class by casting it via PBSymLib.PBControl.Object property.

 

Does any of you guys have a clue for that?

 

Thanks in advance.

 

UTC time offset error frequently generated on PI interface

$
0
0

Hello Friends,

 

We have implemented PI server in our company for Information management
system.

 

In our system total 5 interfaces are connected and working. Three interfaces
are OPC, other two are modbusE.

 

Network description: - One OPC interface is connected via copper network. And
remaining 4 are connected using wireless network.


From all wireless networked interface i have face frequent problem.

 

Mostly ModbusE interfaces are stop working frequently wiht UTC time Offset.
my checkpoints are as below.

 

01:- I have check Time zone of server and interface machint and both are
same.

02:- I have set time of server and clint same to same.

03:- I have set PLC time and date same as interface machine and server.

04:- I have check buffering system of my interface. API buffering is
activated.

05:- Three scan class are defined, 02 second, 03 second and 05 second.

 

For OPC interface worked on same wireless network i face same problem but frequency
of failure is very low (ones in month)

 

What is probable solution for solve this problem.



 

Your PI System might be ‘fragile’ if…

$
0
0

Before taking a stab at telltales of a fragile system, why is a cyber security guy talking about fragility anyway?


The process control engineer in me is more accustom to the idea of system stability. Think about system response to a bump test when you are tuning loops. Ever have one get away from you? Set off an alarm? Or even cause a trip? Perhaps it’s at these times that system instability flirts with fragility.


But wait, there is more to fragility. Fragility has an aura of permanence like broken glass. What about the fabled blue screen of death (BSOD)? BSOD is certainly more than just bad luck and most would agree the experience is a hassle. I once experienced a BSOD during defrag resulting in a system that could no longer boot.

 

Perhaps instability and a fragile system make a perfect storm?


Back to why a cyber security guy is talking about fragility. Fragile can be used to describe systems that are both easily trashed by malicious or inadvertent activity and are hard to recover.


So with that intro, what are the telltales of a fragile PI System?

  1. If you’ve never tested disaster recovery… your PI System might be fragile.
  2. If everyone runs as administrator or piadmin… your PI System might be fragile.
  3. If you open shares to folders on the PI Server… your PI System might be fragile.
  4. If all PI Server archive files are writeable… your PI System might be fragile.
  5. If your servers are running Windows NT or 2000… your PI System might be fragile.
  6. If your only server reboots are due to power outage… your PI System might be fragile.
  7. If the PI Server out of order event count is high… your PI System might be fragile.
  8. If you discover applications that you don’t know where they came from… your PI System might be fragile.
  9. If you have to take a laptop with you on vacation… your PI System might be fragile.
  10. If your home PC is more powerful than your PI Server… you might be a geek!

All kidding aside, as a security guy the main reason for this post is to strongly urge you to plan a disaster recovery drill in the near future. This week’s copycat cyber-attacks in Korea are reported to include the destructive wiper virus. If you’ve been lax on PI System backups now is the time to review your plan.


http://arstechnica.com/security/2013/03/your-hard-drive-will-self-destruct-at-2pm-inside-the-south-korean-cyber-attack/



While fragility is seemingly unavoidable in environments tied to plant operations, good preventative maintenance practices are still necessary. Of course, avoiding fragility isn’t the goal. You’d rather operate with stable and resilient systems that you can count on when you need them the most!
 

Selecting all displays in Processbook VBA

$
0
0

Hi All :)

 

Do anyone know how to select/change all displays in Processbook in VBA. I want to change the start- and end-time for all displays - something like this:

 

ALLDISPLAYS.SetStartAndEndTime StartDate, EndDate

 

Instead adding a new display in the VBA code everytime I add a Display in processbook.

Tag Value Via VBA

$
0
0

First at all, sorry my english.

 

 

I know that if i want to get a tag value, i can create a Value, insert its tag and use the command: tagValue = getValue(vrDate, vrStatus).

 

Is there a way to get a tag value using no Value Box via VBA? Direct from the server?

Some thing kind of: tagValue = piValue("tag","starttime", "endtime","server")

 

 

 

My problem is:

I got a display with 20 value boxes. Each of this value box returns me a following expression: "TAGAVG('tag', 'starttime', 'endtime').

But it is getting too much time to calculate, because my: endtime - starttime = 1 year. So, i want to try to get the tag value without these value boxes

 

 

I hope i have understood my question. Thanks!

Display - Templates

$
0
0

Hi all,

 

again, first at all, sorry my poor english.

 

 

Is there a way to create a "master" display?

 

 

Ex.: I got a display with four buttons. Each of these buttons goes to another display that the background is the same.

Of course, it will not be the same because each of these displays will have different functions. However the background is the same.

The buttons of displays are the same and has the same function.

 

So, how can i create this "master" display? Such as a template?

 

 

I hope you guys understand my message. If its not clear, tell me, i will try again!

Thanks.

Global Variables - Inter Displays

$
0
0

Hi everybody,

 

As always, sorry my bad english. 

 

 

How can i have the same variables between two displays?

 

That is the situation:

I have one display (let's call D1), that contains one button and one value box. This button goes to another display/screen (lets call D2). The valuebox (lets call VB1) is 5.

D2 has two buttons and a textbox. One button goes to D1 and the other print a number in the textbox. This number printed must be the value that is in VB1 (in this case, 5)

 

Is there a way to do this? Get values from another display?

How can i do this in VBA?

 

 

I am not sure. I conclude that all display is totally independent. The VBA programming is completly independent.

 

If its not clear, let me know. I will try anothers word.

Thanks.


How to count machine trip events (Start/Stops) between dates using PI Datalink in Excel ?

$
0
0

Hi,

 

I am a new user of PI Process book and currently exploring the PI Datalink in Excel to count the number of critical machine trips (Start / Stops) between dates. Could any one help me how to conduct this task ? We have been doing this manually since last few years, to identify those machines which are having highest number of machines trips during last month. Trying to automate this using PI Datalink in Excel.

 

Thanks in advance.

 

 

Max DataSet Value in a Period

$
0
0

Hello,

 

how can i get a max value from a dataset in a period.

 

 

I know that i cant have a max value from: TAGMAX('tag', 'starttime', 'endtime').

But i dont have a tag for my value. I only have a 'tag expression'. Is there a way?

 

 

Thanks,

if its not clear, let me know.

How to change user's password

$
0
0

As title, how to change user's password if user forget his password? Old password is needed when using SMT to change user's password. Is delete account then recreate the only way to solve this issue?


Thanks for all your comments!

PI Notification: Show Timestamp in other Timezone

$
0
0

My PI server topology is a hub-and-spoke with PI-to-PI interfaces feeding data from various plants into the "master" historian at the central head office.

 

PI Notifications are configured in the central instance of PI.  This means that when the timestamp for the triggering event is included in the body of the message, it is shown in the local timezone for that PI server.

 

However the messages are sent back to the users (operators, managers, mantenance personnel, etc.) at the affected site.  They would like that timestamp to be in their local timezone, or failing that in GMT.

 

Is there a way to control what time zone the timestamp is shown in on a message-by-message basis?

 

Daryl

PI Notifications Stopped Sending

$
0
0

Had a case here recently where PI Notifications stopped going out. This is actually a report going out every 6 hours that is triggered by a PI tag. Yesterday the email from the notifications stopped going out. Only thing I could find in the log files that seemed related were these entries:

 


 

4/1/2013 12:55:30.36401 PM, 0, Error, AFSDK Error:
ANNotificationHistoryTags.LogEvent[Production Report]:
System.Collections.Generic.KeyNotFoundException: The given key was not present
in the dictionary. at System.Collections.Generic.Dictionary`2.get_Item(TKey key)

at OSIsoft.AN.Notification.ANNotificationHistoryTags.LogEvent(ANHistoryTagType
tagType, Double time, Object value) in c:\Builds\152\PIANO\Notifications
1.2.1205
Nightly\Sources\1.2.1205\Library\ANSDK\Notification\ANNotificationHistoryTags.cs:line
130 (ContactID: 1364846130 and 37377c3b-f44b-4ec6-8450-4e9537d0116e),
PIAnalyticsProcessor, , , , , , , , , , ,



And

 

4/1/2013 4:05:04.18401 PM, 0, Error, AFSDK Error: ANWCFServiceManager.UpdateNotifications[]: Cannot connect to server 'mslap20piace.mfg.recsilicon.net'., PINotificationsManager, , , , , , , , , , ,

 

I cycled the PI Notifications Scheduler service and the emails started going out again. Anyone have any thoughts to a cuase or where perhaps I can alos look to find the issue?

 

Thanks

Active DataSet in Trend

$
0
0

Hi,

 

I have a trend in my display, and this trend has 5 data sets that are out of scales.

 

So, in this in way, i would like, that everytime someone open this displays, the trends shows only 2 of those 5 datasets.

Everytime i open this display, all dataset becomes actives.

 

So, how can i keep only some datasets active in my trend.

 

 

 

Let me know, if it is not clear, and sorry my english.

 

Thanks Again.

Job Opportunity - San Francisco, CA - Pacific Gas and Electric Company

$
0
0

Hello Everyone,

 

Pacific Gas and Electric is looking for a Developer / Engineer to work on a growing OSISoft PI infrastructure based in San Ramon, CA (roughly 40 miles east of San Francisco, CA).  We are one of the largest combined natural gas and electric utilities in the US delivering some of the nation's cleanest energy to 15 million people in Northern and Central California.

 

To get more information on this position, please visit our company website at www.pge.com/careers and search our open positions.  The requisition number for this particular role is 50988780.  Additionally, I have attached the job description to this post.

 

Thank you!

Christopher Lee

 

 

Attached Files


Have you heard about our new way to share information within and across companies?

$
0
0

If you haven't, you should be soon. Here's a video we just released explaining what the concept might do for customers and equipment manufacturers:

 

 

At the Users Conference 2013 you'll hear a lot about the value of sharing data by business entities that traditionally have found data sharing to be cumbersome. At presentations like Laurent Garrigues' B2B smart SaaS, Utilizing Osisoft PI Across Power Generation Corporate Boundaries by Dave Olsheski of Wood Group, and PI System Roadmap: a Customer's Perspective by David Krenek at Caterpillar you'll hear why people are doing this type of data exchange.

Composite Visible Properties.

$
0
0

Hi,

 

I got many toolboxes, and i grouped it. 
Processbook named it by Composite1.

 

I would like to make my toolboxes invisible.


I tried "textbox1.visible = false", but it does not turn invisible because it is in a composite.

So, one solution is something like: composite1.visible = false. It does not work either.

 

Does anyone has a solution?

 

 

Thanks!

So, what am I missing?

$
0
0

Alright, so here is the deal.  I am copying an interface in the MDB, and I pasted it on to another interface machine in the MDB.  The interface doesn't show up on the new machine when I open up the ICU.  What step(s) am I missing?  I am pretty sure i have seen this done in the past!

Automating PICONFIG Question

$
0
0

Hello,

 

What I'm trying to do is automate the backfill process using piconfig, but I'm running into a few issues.

 

Here's a little bit of what I'm doing:

 


 

backfill.StartInfo.FileName = "C:\Program Files\PI\adm\piconfig.exe"

 

You can tell what I'm doing here.

 

A thought would be to pass a few arguments like so:

 


backfill.StartInfo.Arguments = "< C:\backfillscriptdirectory\backfillscript.txt"

 

The problems that I'm running into is that piconfig will kick into command mode, in which case it's expecting something like "INPU" and giving it the path to the script etc.

 

At the end of the day I'm wanting to be able to toss a few of the backfill scripts into a folder and let it go to town looping through the array of files and running them.

 

Another way that I have found is using streamwriter and opening up just a simple cmd and streaming commands that way, but that seems very inefficient as well.

 

Anyone have any ideas?
 

PI Notifications: Daily no matter what?

$
0
0

I'm trying to configure a PI notification to go out daily, no matter what.

 

Since the tag in question is the tank level expressed as a percent, the zero and span are 0 and 100.

 

So I set my trigger condition to use the attribute associated with the "level" as the input, set the operator to ">=" , the "Compare To" field to a "Value" of 0.  The time rule is periodic, daily at 07:00:00.  "Notify only on change in status" is NOT checked, but there is a Non-repetition interval of 1 Day.

 

It seemed to be working fine, until this morning when the tank level was unchanged from yesterday, and the notification didn't go out.

 

The history shows "State unchanged from new event" in the action column for this morning, instead of the usual "Sent". 

 

What am I doing wrong?

Viewing all 1120 articles
Browse latest View live


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