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

how to automate the list of stale and bad points in PI 2012?

$
0
0

Hi,

I'm a beginner. My knowledge of PI is very limited. Get the list of stale and bad points from PI SMT 2012. How do I automate it ? What's the query to get the list of stale and bad tags?


How to import csv or plain text data type into OSI PI database?

$
0
0

Hello,

Can somebody help me i'm new to OSI PI

RDBMS PI Interface - Conditional Output

$
0
0

Hi,

 

I've setup the RDBMS interface to output equipment meters, once a day using a scan class, to the maintenance department's CMMS database (Infor EAM and SQL Server 2005).  This in turn automatically generates work orders for PMs when appropriate.  The solution works well but there is one issue I would like to improve.  Currently, new meter readings will be added to the CMMS for all equipment regardless of whether their meter values have changed.

 

I tried to use the following SQL statement...

IF ? > dateadd(hour, -24, getdate()) INSERT INTO R5READINGSINTERFACE
(REI_METER, 
 REI_DATE, REI_RECORDED, REI_READING, 
 REI_OBTYPE, REI_OBRTYPE, 
 REI_OBJECT, REI_CALCUOM, REI_OBJECT_ORG, 
 REI_USER, REI_ORG)
VALUES
('SAP-PSTN1750-CYCLE', 
 {Fn NOW()}, ?, ?,
 'A', 'A',
 'PSTN1750', '75', 'SAP',
 'SAP.METER', 'SAP');

Exdesc: P1='SAP.Proc.S1700.PSTN1750.Travel.Strokes'/TS P2=P1 P3='SAP.Proc.S1700.PSTN1750.Travel.Strokes'/VL

 

which should make the SQL execution require that the meter was updated in the last 24 hours.  Unfortunately, it doesn't work because the interface's SQL parser tries to interpret the "IF" as an out-of-order keyword which causes the whole statement to fail.

 

Any ideas how I can solve this?

 

 

 

Getting configure value for some tags

$
0
0

Hi Everyone,

 

I am getting configure for some of the tag values, after configuring the service by PI ICU between PI PHD Opc Server and PI Server.

 

What could be the reason and how can I resolve this problem.

 

Please let me know the solution

 

thanks & regards,

Madhu

Excel is taking too long time to calculate PI Datalink functions

$
0
0

Hi Everyone,

 

In our PI Server there are 5700 tags, so I retreived these tag values by using PI Datalink current value function. While recalculating it is too long time. What could be the reason & how can I solve this problem.

 

thanks & regards,

Madhu

Clear Scada to OSI PI data transfer

$
0
0

Hi ,

 

We are in a proposal stage and need some suggestion on transferring data from Clear SCADA to OSI PI.

 

which will be the best mode of transfer ? .

 

Do we have any standard interface for this.

 

PI AF requirements & compatibility

$
0
0

Hello teachers.

 

I have Rockwell FactoryTalk Historian (with PI SDK) server in operation with FTLD licenses. I want to try using PI Asset Framework.

Can I use PI Asset Framework from OSISoft with my current system? and What should I prepare in terms of hardware or software for compatibility and performance?

 

Thank you in advance for your inputs.

 

Best regards, 

Values are showing up in the "Status Column" while retrieving data from PI OLEDB

$
0
0

Hi All,
I am observing a weird problem while retrieving data of a PE tag from PI server using PI OLEDB (MMC & SQL Commander), the values of tag are showing up in the "Status Column" and I observed this only for few tags . Here I am using the picomp table to read data from PI server.

If I execute this query for other tags production tags or PE tag then I see the data  "value column" only.

 

Please see the attachments for more understanding .

 

Thanks in advance.

PI OLEDB Query- PE Tag .png PI OLEDB Query- Sinusoid Tag .png


Unable to get PiPoints attributes with datalink

$
0
0

Gentalmen, I am getting back in touch with Pi after 5 years of absence.

 

I am starting a new system , everything is running smouthly.

 

I have created a few Pi Points to confirm the system is working proper. Running great !

 

Heres the big question (a noob question):

 

Back when - I used datalink to create my new points, simply back then, when you searched tags and loaded them to Excel, an attributes header was created and all of the Pi Point attributes were loaded at the same time as the Pi Point itself - easy

 

Right now im running a new Pi system and Datalink (every thing is up to date, March or April 2014), I loaded Excel with a point I created earlyer.

 

Heres the noob responce - only the Pi point Tag name appeared ??

 

How do i get to have all of the attributes to show so i can copy/paste some 850 tags i have in CSV format, and configure them, then Upload this to Pi to create 850 tags ?

 

I have tried to find something to point me in the right direction, i have read completely the Datalink user manual, I have searched the Knowledge base, nothing.

 

What am I am missing?

Changing state of a line

$
0
0

I am a new user of PI in the context of trying to execute scripts, so here is my question/problem.

 

I work in a powerplant and have a PI display of our high voltage grid.

Some portions of our grid have options as to the source of power. What I want to do is read a tag value, and if the value is greater than zero, I want to change a line from dashed to solid and bold.

Basically it would be like this.

 

If tag XYZ > 1 Then line = solid & bold

If tag XYZ =0 Then line = dashed

 

I can (barely) read code and write it, so some basic examples would be great.

 

Thanks

Change unit of tag in trend

$
0
0

Hi,

 

I'd like to change the unit in which the data of my tag shows in a trend, e.g. from MNm3/day to kNm3/day. How can I achieve this?

 

Thanks,

 

Jorn

Pi share point on https

$
0
0

Hi it's ok to configure https for pi sharepoint

Insert tag state and get its 'stayed' time correctly

$
0
0

Hi all,
 

I am very new to PI.

 

My company already uses OSi PI, and we use a tool ''OPCDAServer" to simulate events.

 
The events are retrieved by "timeeq" which works fine.
 
However, when I programatically insert tag in [piarchive].[picomp2], timeeq doesn't see it.
 
SELECT *  FROM [piarchive].[picomp2] WHERE tag in ('Some_State') and time > '2014-04-22 06:00:00.00'

Then I get:

tag,time,_index,value,status,questionable,substituted,annotated,annotations
Some_State,2014-04-22 13:00:12.051,1,3006.0,0,false,false,false,null
Some_State,2014-04-22 13:09:35.016,1,4002.0,0,false,false,false,null
Some_State,2014-04-22 13:10:12.035,1,3006.0,0,false,false,false,null
Some_State,2014-04-22 13:10:13.034,1,3006.0,0,false,false,false,null
Some_State,2014-04-22 13:12:49.335,1,4003.0,0,false,false,false,null
Some_State,2014-04-22 13:20:13.033,1,3006.0,0,false,false,false,null
Some_State,2014-04-22 13:20:14.031,1,3006.0,0,false,false,false,null
Some_State,2014-04-22 13:21:16.585,1,4001.0,0,false,false,false,null
Some_State,2014-04-22 13:30:13.032,1,3006.0,0,false,false,false,null
Some_State,2014-04-22 14:50:19.044,1,3006.0,0,false,false,false,null

Now, when I run:

SELECT TIMEEQ('Some_State', '2014-04-22 06:00:00.00', '2014-04-22 20:00:00.00', 4001)

I always get 0, but other non programmatically inserted tags are correctly retrieved.

 

In other words, inserting into picomp2 doesn't seem to be used by TIMEEQ, is there another place to insert? any specific configuration somewhere?

 

Thanks a lot,

Ahmed

View and Remove Traces from Description

$
0
0

building on this, wonder if anyone knows a way that the controls of a trend can be changed.

Currently controls for displaying lines is only able to be done from the right of a trend. Need to have Value selected to display - from there you can click trends off and on. I have a few trends where the details of the tag are shown below and values on the right. Would be good if the values could be shown below as well and be selectable to display on the graph.

 

Very low on the list of issues but would be nice.

 

(want to be able to select trends to display from the names at the bottom)

 

 

Attached Images

  • trend manipulation.jpg

Wind Direction display

$
0
0

Thanks in advance for all the help I am sure to get. :)

 

I have wind speed and direction from some environmental stations. Would be great to be able to have an arrow pointing the direction that the wind is going. Sure this would somehow be possible within a displaybook file using multi-state symbols. The only way I can think of doing it would be having an arrow (multi-state symbol) set to display when the direction tag is between certain values.

 

For example - NNE the arrow would display when tag value between 11.25 - 33.75 and when values outside this it would not be shown.

Direction values here - http://climate.umn.edu/snow_fence/components/winddirectionanddegreeswithouttable3.htm

(Don't need that level of resolution but you get the idea)

 

While I think this would work it will involve setting up a lot of multi-state symbols and I have a heap of these sites where this would be useful.

 

Any other recommendations on how I could show this data?

 

Cheers

Elliot

Attached Images

  • Stockton Wind direction.jpg

Create a Calculated Tag

$
0
0

Hello

I need some help to create some calculated tags that write data at a specific time.

What better way? Calculated tag or performance equation?

See below. I need to calculate the average MD / average CD and record the result in each start time.

 

ratio.png

 

I created the PE tag 50_70_RATIO_S1 with the expression ((205p01 '50_07 ''50_07 205p02 +' + '50_07 205p03 ') / 3) / ((206p01 '50_07' '50_07 206p02 + '+ '50_07 206p03') / 3) and I set that to record data when the tag 50_07 205p01 had data, but only two values ​​were recorded.

 

Capturar.PNG

Automated Display Scrolling for Element Relative Displays

$
0
0

Hi everyone,

 

I have a number (around 80) of elements of interest that need to be displayed in an element relative display in ProcessBook. Is there a way to automate the element relative display to scroll through each elements of interest, possibly using VBA?

 

As an example, the element relative display would display the first element of interest for 1 minute, then display the second element of interest for the next minute and so on.

 

There is a development item to add the "automated scrolling" to PI ProcessBook, i.e. 21469OSI8, but it would be great if there is a workaround to it.

How to monitor a large amount of tags

$
0
0

Good day to everybody,

 

In my company we use PI Processbook and Datalink. What I’m trying to do is monitor around 1900 digital tags either on or off. And I would like to generate a report for a specific period of time for any change happened for those tags in that period of time. The tags value normally is off so if any tag changed from off to on I would like that to be mentioned in the report with the event start and end time.

 

I would appreciate any help in this regard.

 

Regards,

 

PIAdvCalcDat problem

$
0
0

Hi Everyone,

 

I am currently facing a strange problem with PI, and maybe that one of you could have some ideas to help me...

 

I have developped a tool using Excel VBA and that has been deployed in different countries in Europe / US / Asia on different computers.

And it works fine everywhere, except in US...

 

The tool uses PISDK, and get PI values using this line of code :

 

PI_results = Application.Run("PIAdvCalcDat", sTagname, Start_Time, End_Time, Interval, "average", "time-weighted", Percent_Good, Cfactor, Outcode, sServer)
 

Depending of the number of results (from the time range and interval), the result can be an array of results.

On most of computer, it gives the results correctly in the array, results being the date and the value, in a "double" format.

 

But in US, depending of the size of the array, sometimes it works, sometimes not:

if the result is a single value (array of 1 line 2 columns), it works fine

if the result is an array of several values (several lines, 2 columns), the result is an array of the correct size but with empty values in the array, in a "string" format, for both dates and values...

 

The arguments of the code looks ok and are from the correct type (strings for times, tag, server, interval).

 

For information, the version of PI Datalink is different on US computers:

Here in Europe we use PI Datalink 2010

In US they use PI Datalink 2013

 

Could it be the reason of the problem ?

Or any other idea of the causes of this problem ?

 

Thank you in advance for your help !

 

Vincent

Is it efficient to use PI ML without using Handheld devices since my energy meters are not smart enough to send data to handheld devices.

$
0
0

I have used PI Mannual logger by installing on mobile devices(handheld devices) to get data from Smart Energy meters. I really doubt that whether PI ML be used without hand held devices since my energy meters are not smart to send the data to handheld devices.

Can i use it just by installing it in my local machine and some one from plant will enter data into PI ML and send that data to PI server.

 

Viewing all 1120 articles
Browse latest View live


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