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

How to make object not selectable

$
0
0

Hi,

 

I have a processbook display that I would like to make non-data related items not selectable when in run mode.  For example I have several temperature and pressure readings that were visually grouped together by by placing a rectangle with black border underneath to tag objects.  When we try to select some of the IO to create an ad-hoc trend, the underlying rectangle often gets selected instead.  Is there away to make these types of objects so you cannot select them while in run mode? 

 

Thanks


Pi af link subsystem service stop

$
0
0
Hi all

My pi af link subsystem service stop, while pi server running, I tried to enable manual using Windows service, but failed. Please help. Thanks

Batchview help

$
0
0

I have a problem when trying to recalculate batchview in excel.  I typically look at the batches within the last seven days, but for whatever reason, it returns 'no results found' under the Batch ID column. In the batch definition dialouge box in ProcessBook, it brings them all up and says they are still running since 3/22/14.  I know that this is not the case from a process standpoint so looking for advice from anyone who may have seen this before.

Thanks in advance.

 

Calculate an expression with filtering using PI SDK and C#

$
0
0

Hello everybody,

 

I'm looking for the way how to calculate an expression with some filtering.

E.g. I have expression as follows:

'tag1'*('tag'-40)

and filter:

('tag'-1)*('tag'-2)>0

 

I know that IPIData interface has FilteredSummaries method, but as far as I understand IPIData applies to a single tag (but I need to evaluate an expression)

 

Also, I checked methods in IPICalculation interface, but didn't find a method having filter as argument.

 

Any help is appreciated!

 

Br, Alexander

PI WebParts on SharePoint 2010

$
0
0

We have PI WebParts for SharePoint 2010 installed but have a few issues..

 

see attachments but we have red X's where the icons should be when selecting the webpart and also get A Web Part or Web Form Control on this Page cannot be displayed or imported. The type is not registered as safe..

 

 

Attached Images

  • error.png
  • redx.png

Plot PI Processbook trend from ODBC source using VBA

$
0
0

Dear all,

 

 

I am new to PI Procesbook. I need to plot trend from ODBC source (Excel File) using VBA. I can plot trend using VBA from a tag. How I can plot from ODBC source using VBA dynamically?

Using Mac OSX

$
0
0

Has anyone had success supporting PI systems using their own Macbook of any kind, I guess using Parallels or something of the sort?

Need help on upgrade of physical to virtual enviroment

$
0
0

I am upgrading a physical Windows 2003 32 bit server running 3.4.364.32 to a Virtual Windows 2008 R2 that will run 64 bit running PI Server 2012.

I would like to do as much work as possible in advance before arriving on site and completing the final steps.  The source server is on a completely isolated control network at another plant.

I need a second (or third) set of eyes on the process that I would like to take.  Please J

  • In office- Build Windows 2012 server X amount of days prior to actual upgrade.  Install prerequisites, patches and 3.4.375.99 64 bit server on the new target server. 
  • In office -Force archive shift on source server.  Typical archives are 19-23 days on this server. 
  • In office - Once new PI server passes health checks, import required files and all but last archive from source. Rename and IP of target server (it’s not on the network that the source server is at this point)
  • In office - Upgrade target server to PI Server 2012.  Do health checks.
  • On site - On day of upgrade ensure interface is buffering, unplug network cable of source PI server. 
  • On site - Insert new VM server containing the preconfigured PI server into control network.  The NIC on the new PI server is disabled in VM Sphere client.
  • On site- Bring in last archive from source PI server.  Do health checks. 

I will be referencing the following:

KB00507 - How to preserve the PI Server ID after moving a PI Server to a different machine   

KB00530 - Upgrading to 64-bit PI Server while moving to 64-bit hardware

PI Server 2012 Installation and Upgrade Guide

 

If the steps above don’t work - Johnson City, TN 1 423 610 3800 or Philadelphia, PA 1 215 606 0705

 

Thank you very much for your time.


PerfMon Interfaces - 2 on one PI Server

$
0
0

Hello,

 

I am a NEW PI administrator so all of this is a learning curve. I have a PI Interface - Performance Monitor that was moved to a new server/new network - prior to me taking over administration. Point Source is # and the Interface Is PERFMON.

 

When they moved it, they have another - PERFMON - Same pointsource as well. Some of the tags are showing "SHUTDOWN". Is this possibly due to the two interfaces with the same point source and same name?

Staged Control Chart using SQC and Performance Equations

$
0
0

Hey guys,

 

I'm in the process of developing a process dashboard I'd like to develop an individuals control chart that stages the control limits based on a process condition. I will use performance equations to evaluate two PI calculations to define what the control limits should be for each condition.

 

If I use the tag of the performance equation to define the control parameters in the PI-SQC Chart Definition window, will the control limits illustrate the history of different stages as shown in Figure 1 Below? Or will the control chart only display the control limits for the most recent condition as in Figure 2 (not staged)?
 

 

Thanks for the help!

 

 

 

Figure 1. Staged Control chart, showing historical control limits

i_chart_of_icuadmit_by_month.jpg

 

 

 

 

Figure 2. Control Chart, with limits of only 1 condition.
i_chart_of_icuadmit.jpg

Accuracy differences with datalink functions

$
0
0

HI,

I have a question regarding what the expected accuracy should be for some datalink functions.  In particular, I was comparing the results of "PITimeFilterVal()" to those "PISamplFilDat()".  My initial thought was that the "PITimeFilterVal()" would give me the most accurate results, but that is not the case.  I observed the following things when running different scenarios and wanted to know if anyone can give insight into what is going on.

  • In this exercise I determined the "correct" value by zooming in on a plot in Processbooks and determine the time that each filter condition was true.
  • The results for PITimeFilterVal() varied depending on how large my start and end window were.  A larger window gives less accurate results.  My errors were between 0.5 - 2%
  • When using PISamplFilDat() my results approached what I assumed to the correct results as I increased the sampling frequency.  A sampling frequency of 1 minute or less resulted in almost exactly matching what I assumed to be the correct results.

 

I read in the help section for data link under PITimeFilterVal "Note: Time Filtered results vary slightly depending on your PI Server version.".  But it does not explain how or why the results may vary.  I am running version 2010.  I need to understand the degree of possible error just to make sure we select the proper function to calculate values.  I like the PITImeFilterVal function as it is a very convenient way to pull data.

 

Thanks. 

 

 

 

PIOLEDB and time parameters

$
0
0

I trying to use PIOLEDB combined with SSRS parameters to view 50+ "assets"

 

The expression I'm trying to use is TimeEQ('TAG1',ST,ET,"Running")/86400 similar to PI Time Filtered in datalink

 

in SSRS query designer I have the following query followed by the error

 

2014-04-30 13_44_00-Query Designer.jpg

 

Do I have the right syntax or am I missing something here, the two parameters are dates 1-Apr-2014 and 30-apr-2014. The idea is to use the same expression 50+ times using the same timestamp which will be an input based on the users selection.

 

 

Unable to save plotted data from SQC Plot

$
0
0

Hello,

 

I created a SQC plot of a moving standard deviation and I am having difficulty saving/copying the plotted data. I'm only able to save a portion of the data that's displayed in the details panel. I've verified that the data I'm able to save is correct but I'm missing about 25% from the start and end.

 

When I attempt to save to file or copy to clipboard I get the error message, "Object reference not set to an instance of an object." I get the same error message when saving/copying with the moving average and moving range chart types too. The error only comes up with the plotted data option and not with the data, statistics, control limits or point attributes options.

 

Any help would be appreciated.

 

Thank you,

Eric

Unable to update specific events in picomp2

$
0
0

Hi all,

 

I need to update values of historical events in picomp2, using JDBC.

 

For some events it is possible, however for others, JDBC fails to update them, and 'false' below means no record was updated (.executeUpdate() returned 0).

 

Is this because some millisecond difference between OsiPi server and Java?

 

Interestingly, the update statements work if directly used in in PI SQL Commander.

 

Appreciate your help.

 

 

UPDATE [piarchive].[picomp2] set value = 4002.0 where tag = 'Some_State' and time = '2014-05-02 00:06:52.04'
false                                                        
UPDATE [piarchive].[picomp2] set value = 3008.0 where tag = 'Some_State' and time = '2014-05-02 00:06:52.04'
false                                                        
UPDATE [piarchive].[picomp2] set value = 3003.0 where tag = 'Some_State' and time = '2014-05-02 00:06:52.04'
false                                                        
UPDATE [piarchive].[picomp2] set value = 3006.0 where tag = 'Some_State' and time = '2014-05-02 00:06:53.038'
false                                                        
UPDATE [piarchive].[picomp2] set value = 3002.0 where tag = 'Some_State' and time = '2014-05-02 00:26:53.037'
true                                                         
UPDATE [piarchive].[picomp2] set value = 3007.0 where tag = 'Some_State' and time = '2014-05-02 00:26:53.037'
true                                                         
UPDATE [piarchive].[picomp2] set value = 3006.0 where tag = 'Some_State' and time = '2014-05-02 00:26:54.035'
true                                                         
UPDATE [piarchive].[picomp2] set value = 3007.0 where tag = 'Some_State' and time = '2014-05-02 00:46:53.051'
false                                                        
UPDATE [piarchive].[picomp2] set value = 3007.0 where tag = 'Some_State' and time = '2014-05-02 00:46:53.051'
false                                                        
UPDATE [piarchive].[picomp2] set value = 3007.0 where tag = 'Some_State' and time = '2014-05-02 00:46:53.051'
false

 

Interface monitor

$
0
0

sorry for my poor english

I have a interface,sometimes the interface is bad ,then  point  will pull straight line in PB,I can't find interface problems in a timely manner.then I use the PE to monitor  interface,just like

(BadVal(TagVal('tag1', '*')) AND  BadVal(TagVal('tag1', '*-20m'))AND TagVal('tag1', '*-20m')-TagVal('tag1', '*'))

or (BadVal(TagVal('tag2', '*')) AND  BadVal(TagVal('tag2', '*-20m'))AND TagVal('tag2', '*-20m')-TagVal('tag2', '*'))

...

or(BadVal(TagVal('tagn', '*')) AND  BadVal(TagVal('tagn', '*-20m'))AND TagVal('tagn', '*-20m')-TagVal('tagn', '*'))

=0

I use a few points,These points must be used and change very quickly,if 0 interface is ok,and if 1 interface is bad ,then I will set the SMS notification

Often there will be a false alarm message, I do this have what problem, and there are better ways can be used to monitor?
 

Hiding a symbol via Multi-State in ProcessBook

$
0
0

I'm trying to create a multi-state symbol using a haul truck from the symbol library.

 

For state 1, I want to completely hide (or white out) the haul truck as mine tonnage is below a certain level. For state 2, I want to display the haul truck. 

 

State 2 works well, however for state 1, the haul truck won't completely blank out... There a still some border lines that won't disappear. Please see attached images.

 

Any tips on how to hide or remove these border lines?

 

Thanks,

Colin

Haul Truck Symbol.PNG

Haul Truck Symbol - Blanked.PNG

PI Totalizers,What should I do?

$
0
0

I want to calculate a point running time,Using TimeGE function,and in 2014-5-2 ,I get the value of the actual is 2014-5-1.

How to I use PI Totalizers to calculate the accumulative value of one month,and one day, I only need one value,What should I do?

and PI Totalizers?

 
 

#Name? Error Excel 2010 - PIAdvCalcFilVal

$
0
0

Hello, Thank you for any help I may receive!

 

I'm using PIAdvCalcFilVal to pull a filtered average from PI. But I'm getting this #Name? error in excel. I don't understand what may be the problem. All my other functions in excel seem to work perfectly but this one does not.

 

Any thoughts?

 

Please see the attached screen shots.

 

Sincerely

 

James

Attached Images

  • screenshot.png
  • screenshot2.png

Calculate the time in which a condition (if) is true

$
0
0
 

Hi,


I have an expression in PI Calculation as: if ((tag1-tag2)> 0.6 and (tag2 tag3-) <0.8) then (tag1-tag2)/tag1 else 0.

I want know, how much time remains as true that condition. Can i calculate that time?

 

 

 

Thanks,

PI Modbus Serial Interface Scan Skipped

$
0
0

Dear All,

 

I have 3 Interface ( Modbus Serial Interface) which is getting data from Energy Meter Through DCU. Each COM port is separately connected to individual Energy Meter. And Interface are on different node.

I have created 74 Tags for each Interface instance. Regardless of water scan class I map it up. its skipping scan class and all 3 interface are updating in frequency of 18 secs.

 

Following things have been performed.

1. Check the rate of frequency of data update through ModScan32 software and data is coming through seamlessly very second.

2. Modified scan class with offset - no luck

3. Reduced the poll delay and response timeout - no luck

4. Upgraded to lasted version of ICU and PI Modbus - no luck

5. Seggrated 74 tags with 40 tags with scan class 3sec and 34 tags with scan class 5sec

6. Tried to map 1min scan class but still its updating in 18 sec time range.

7. Disabled Buffering as well.

 

SDK Log files are showing error as, 

 

Time  ID  Severity  Message 5/6/2014 2:43:31.94501 PM  7039 Information  Connection accepted:     Process name:  PISDKUtility.exe(3364) ID: 1450  5/6/2014 2:38:05.07001 PM  4 Information  .  5/6/2014 2:38:05.07001 PM  43474 Warning  Timeout cleared on COM port 11 Node ID 1.  5/6/2014 2:38:01.52301 PM  4 Information  .  5/6/2014 2:38:01.50801 PM  43473 Warning  Timeout on COM port 11. Retries failed while trying to request data from Node ID 1.  5/6/2014 2:37:28.13301 PM  4 Information  .  5/6/2014 2:37:28.13301 PM  43474 Warning  Timeout cleared on COM port 6 Node ID 1.  5/6/2014 2:37:24.50801 PM  4 Information  .  5/6/2014 2:37:24.50801 PM  43473 Warning  Timeout on COM port 6. Retries failed while trying to request data from Node ID 1.  5/6/2014 2:36:52.07001 PM  4 Information  .  5/6/2014 2:36:52.07001 PM  43474 Warning  Timeout cleared on COM port 5 Node ID 1.  5/6/2014 2:36:48.52301 PM  4 Information  .  5/6/2014 2:36:48.50801 PM  43473 Warning  Timeout on COM port 5. Retries failed while trying to request data from Node ID 1.  5/6/2014 2:26:10.423 PM  43479 Warning  1 device(s) failed all of their retries while requesting data.  5/6/2014 2:25:37.97 PM  4 Information  . 

 

Can you please advice on the above issue please?

 

Regards,

 

Yasin - Sr.Engineer - OSI PI Automation Engineer

Viewing all 1120 articles
Browse latest View live


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