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

How do you hide trend traces via VBA?

$
0
0

Hi All,

 

Is there any way to hide traces using VBA? I want to use the existing functionality of trends, where you can click on a tag name and the trace is hidden on the resulting trend. The idea is that I have a set of quick buttons, that depending on which one is clicked, the traces on a trend are shown/hidden as necessary. Does that make sense?? It's so I can quickly hide traces which are not necessary, and then make them appear again without having to click on the individual traces - lazy I know, but hey, it does save a bit of time!


PI Datasets VBA - Check if Dataset is there

$
0
0

Helllo Everyone,

 

I am having trouble checking to see if a dataset already exists. I am automating a dashboard and I need to verify if a particular dataset is there or not. If the dataset isn't there then I would like to create it. Currently I am capable of creating the dataset and implementing it as I see fit. However, my attempts at an if statement seems to not be working. Below is the code i've been using with specifcs ommitted. I attempted the remove dataset method, but if the dataset is in use it errors and causes hang up.

 

If MyDatasets.Item("NAME") = False Then
        Set MyDataset = MyDatasets.Add("name", Nothing, True, 1, True, pbDatasetPIExpression)
        Set MyDataset = MyDatasets.GetDataset("NAME")
        MyDataset.ServerName = "SERVERNAME"
        MyDataset.Expression = "(timeeq(TAGNAME, '*', '*-1h',STATUS))/3600"
        MyDataset.RefreshInterval = 3600
        MyDataset.ColumnName = "Value"
        MyDataset.Interval = "10m"
        MyDatasets.SetDataset MyDataset

End If

 

Thanks for your help in advance!

 

-Mike

 

Interfacing from Linux

$
0
0

Hi All,

 

I've been looking at interfacing to a PI system but the ideal mechanism seems to be the COM based PI SDK, What are the best alternatives for Linux and what sorts of features do you miss out on?

 

Many Thanks 

Help with FindGT function

$
0
0

Hello

 

I’m having trouble using the FindGT function. Id like to see
the time stamp of a tag when the 5 minute average is greater than 103100. I’ve searched
for examples of this being used and I found this

 

Findlt(FT1294-1.PV','19-jul-2010','30-jul-2010',2000)

 

I modified it and I cant seem to get any results.

 

Does anybody have an example of the following functions
being used?

 

Thank you

 

FindEq   Timestamp when point =value

FindGE   Timestamp when point >=value

FindGT   Timestamp when point >value

FindLE   Timestamp when point <=value

FindLT   Timestamp when point <value

FindNE   Timestamp when point !=value

TimeEq   Total period when point =value

TimeGE  Total period when point>= value

TimeGT   Total period when point> value

TimeLE   Total period when point<= value

TimeLT   Total period when point< value

TimeNE   Total period when point !=value

HA Configuration for DeltaV Asset Connector

$
0
0

Hi,

 

I am not sure if this has been discussed before or relevant to this section, but I have a question regarding a HA setup involving DeltaV Application Station running the DeltaV Asset Connector interface.

 

Here is the set up:

 

1) A Pi server (Primary) with DeltaV Asset Connector Interface (OPC) running on a DeltaV Application Station at an offshore platform

2) A PI mirror server (Secondary) and PI WebParts running at onshore office.

3) No other components such as ACE or PI-AF are used.

 

All the configurations are done and running smoothly. Data are sent to both Primary and Secondary servers as they should. The followings are the requirements:

1)The onshore server has to be a member of the corporate's Active Directory.

2)The user mapping of the PI server and AD membership is used for PI Access.

 

Is this possible? If so, how? I'd appreciate it if the experts here could help out.

 

Thanks.

 

-Helmy

 

Problem to update CursorTime property in a trend object

$
0
0

Hi folks,

 

I am working in a PB application that 'plays' a trend. When you place a cursor in a trend object that displays a tag whose value is an angle and hit a button it should change the rotation property of a symbol to emulate the value of the tag given the time of the cursor.

 

I put this to work but for some reason I am not able to change the trend's current cursor's time property anymore. Any hints of what may be preventing me from updating this value?

 

Thanks,

 

Mouseover/tooltip in sharepoint

$
0
0

Hello!

 

I am wondering how can I have mouseover/tooltip statistics in sharepoint?  There is called "tooltip statistics" in processbook where when you do mouseover on a value, the max, min, ave, range, etc are being shown but not in sharepoint.  Is there any method that I can do to do this? Thanks in advance, guys!

 

 

Multi-state in terms of date

$
0
0

Hi guys,

 

Is there a way that I will use the multi-state not depending on the values but on date?  For example,  the date today is august 14, 2013 and the data that I am gathering is the same data since august 1, 2013.  How can i use multi-state so i will know that the data that i am getting is the same data few days ago.

 

To make my question more understandable.  How will  the latest data/value which I have gathered will turn red when if it is the same data 2 days ago  using multi-state?


Pi Calculations

$
0
0

Trying to create a calculation in processbook example below,

 

tag-1,+ tag-2, + tag-3 divided tag-4, + tag-5, + tag-6

 

Let me know if you can help..

calculation time in data link

$
0
0

hi all,

i want to know that how can I set calculation time in data link?

my data link file become hang and below coming that it is calculating....

 

thanks

What is the pricing details of OSIsoft Regional Seminar 2013?

The Asset Based PI Jumpstart helps you scale up your local PI System successes to multiple sites.

$
0
0

Here is a scenario we have seen before: you do something great for your PI System users, and when you try to do the same thing at another site that has PI, getting it to work is a nightmare. It may be that they use a different tag naming convention. Or their units of measure are all different. Maybe they did their totalizations different.  Or it could be something that takes you forever to figure out, like for example that in their calculations they treat missing data differently than how you treat missing data. For one reason or another, you spend the majority of your time getting their data to look and act the same as your data.  

 

Here's a video that explains why going to an asset centric PI System can solve this problem without having to make changes to the individual sites. 

 

 

See our Asset Based PI Jumpstart page for more info. 

Excel surface plot in ProcessBook

$
0
0

I am new into PI (started with PI only a month ago) and designing a ProcessBook. Here is the problem:

1. Using Datalink as source, a surface plot is generated in Excel.

2. The mentioned surface plot has to be displayed in ProcessBook. I searched in ProcessBook for surface plot option, but could not find the feature, therefore thought to import that as an Excel object.

3. When I tried to import the plot in ProcessBook as Excel object, it always opens a new blank one, not the one I want to import.

I'll greatly appreciate any suggestion how it can be done!

ProcessBook Element of Interest Sort by attributes

$
0
0

There seems to be a way in ProcessBook to sort by attributes, but can't seem to do it.  Is this a security setting that I am missing?

 

Thanks!

How to set rotation property for tag value object in Processbook

$
0
0

Hello everybody,

 

I have a processbook display having value object linked with PI Tag. I want to set rotation property to go 90 degree but while doing so it revert back to 0 degree. 

 

Is it possible to set rotation property to value object? If yes then how to do it?

Attached File  value rota.bmp   925.38K   6 downloads

 

Regards,

Ilyas


How to set -1 as digita state number instead of 0

$
0
0

Hi everybody,

 

We have one OPC server where value of digital tags are coming to it as (-1 and 0) instead of (0 and 1).

I want to set -1 as digital state number in SMT. Can we do it?

If yes then how to configure -1 as digital state number.

 

Thanks & Regards,

Ilyas

Take a look at the new Cyber Security forum

$
0
0

Hi Community,

 

A new forum is born, the Cyber Security. This forum is only visible to registered community members. If you are not yet registered take the time to do it; follow this threadto know how to become a registered member.

 

I invite you to visit this forum to get access to a new security tool and ask questions related on security principles with subject matter experts and other community members.

 

Stop by to get access to a brand new tool (freely available and open for community collaboration in its ongoing development) to help you "baselining" your PI System. This will help you better protect the PI System and its perimeter against malicious activities and incidental misconfigurations. Visit this thread to know more!

 

Welcome and I'll see you there.

 

Mathieu Hamel, OSIsoft vCampus team member

Invalid data for all points in 1 Point Source table

$
0
0

Hello 

 

All points from one of my source tables has invalid data, I don't know if these tags have ever worked, all of the tags are from my CEMS system which does not adjust for daylight savings time, could this be the issue?

 

Any pointers on where to start troubleshooting this will be greatly appreciated.

 

Thank you 

Virtualising and upgrading exisitng PI server - any recommendations?

$
0
0

Hi all,

 

I'm looking at upgrading my existing PI Server (version 3.4.378 I think its at) to PI2010/2012 and virtualising the server at the same time. Has anyone got a recommendations on how best to do this. I'm not after a full discussion on virtualisation or upgrading, but more something along the lines of possible upgrade/virtualisation methods, i.e. Do I:

  1. virtualise my existing PI server then upgrade after that?, or
  2. create a clean PI 2010/2012 server on a virtual system, and then port across the exiting PI server's configuration and data?, or
  3. upgrade the existing server to PI2010/2012 and then virtualise the system?

The plan I have been suggested is option 2: create a clean PI2010/2012 install on a virtual machine, then move over the PI config and data. Are there many pitfalls with this? Has anyone done a similar migration and know of any pitfalls/problems that could bite me? Is there a better way to do the upgrade/virtualisation?

 

Many thanks!

Retrieve web data to PI process book

$
0
0

I want Retrieve web data to PI process book like web real time values. or from excel database how can i do this? please help..thanks

Viewing all 1120 articles
Browse latest View live


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