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

MOVE PI FROM CLUSTER TO STAND ALONE

$
0
0

* * * * HELP * * * *

 

For some unknown Friday reason our cluster failed, we tried to restart the cluster for the last 4-5 hours without any luck. We are now at a point where we have disabled the clustered service and repointed the shared resources to be stand alone. Now of course the install for PI was a clustered install, do I have to uninstall PI and reinstall as stand alone?

 

We already changed the dns to point to the stand alone but the pisrvstart goes up to piupdmgr then it just sits there with error:

 

Fatal error in PI subsystem piupdmgr: Failed to create producer or consumer list, status: [80] The file exists.


PI Performance Equation for Bad Data

$
0
0

Hello Guys,

 

Good Day,

 

I need a PI performance equation on neglecting negative values.  We were having a problem in our device and it always sending negative data.  Our temporary solution is to neglect these values and just show  the positive ones.

 

Thanks Osisoft.

 

Cesar

Exporting data from processbook to excel

$
0
0

I'm new using the PI processbook and I'm trying to export data using the excel PI add-on, but it won´t let me, it shows the following message in the cell where i want the value to appear: #NAME? (or something like that i have the spanish version and it shows #¿NOMBRE?) i think it wont recognize the source name of the data, how can i fix that?. I attached an image. Thanks.

Attached Images

  • PIERROR.jpg

please provide us some odbc dataset example in processbook

$
0
0

hi all

please provide us some odbc dataset example in processbook m not able to import dataset and display in processbook. 

 

thanks 

Please Help with Excel and PI

$
0
0

I have a simple question :

 

={PIArcVal("F:SUB:SPQ:xxx/25/xxxx:33258004001::M:S:M:xxxxx:::A";"27-dic-13 04:17:27";1;"SERVER";"previous")}

 

 

What I need is to have he daeime on a CELL, and refeence it .... How can be done ???

 

I have several ows with tags and I need to be able to change the date and time of value recovery.

 

Thanks in advance, Merry Chrismas and have a happy new year !!!

 

 

Edit multiple tags in SMT (Excel plugin)

$
0
0

Hi,

 

How do I edit various attributes of tags using the plugin SMT in Excel?

When I click "Export tags", I select Point Class "Classic" mode and "Edit". So I click OK but I get error messages.

I must have only "Select", "Tag" column and the column that has the attribute that I want to edit?

Totalize in Notifications

$
0
0

I know your first thought will be, “Why don’t you just create a totalize tag?”, but now it’s become more of a challenge…  I want to email a totatlization once a month.

 

--According to Tech Support, you can’t calculate a totalization in AF Elements.

--Funny thing is you can do a totalization in the Notification trigger, but there’s no way to retrieve the resultant.

 

Anyone know a trick to perform either of those shortcomings?

Compressed data

$
0
0
I wonder if anyone knows how to do the following:
 
Pick a value from a former tag: value1. and that the value you return is only for 30mins forward.
 
it is now 2:00 a.m. like to know the value 2:30 am
 
obs.: I do not want is for excel, I want the ProcessBook.
 
 
can someone help?

pi equation using vba and plotting in trend?

$
0
0

hi all,

how can i draw PI equation using vba and plot the trend of that equation using vba. thanks.

how to create text box?

$
0
0

hi all,

how to create text box for condition "yes" or "no"? and creat multistate symbol for this text box that shows, if text box contain yes then it will show green and if text box contain no then it will show red.

thanks

Finding maximum values over a period of time

$
0
0
Hello everyone, I was asked to gather the operation time of an exchanger over a period of one month. Time of operation of the exchanger ranges from ~10 to ~50 hours over that period of time. I have a tag number 'EGP.958TmI-0514B:Value' that records the total amount of time of that exchanger in operation. The raw data would look something like this...(note: counter resets everytime the exchanger is regenerated) 02-Dec-13 08:30:00 1 02-Dec-13 08:30:00 2 02-Dec-13 09:30:00 3 02-Dec-13 10:30:00 4 <- 02-Dec-13 11:30:00 0 02-Dec-13 12:30:00 1 02-Dec-13 13:30:00 2 <- 02-Dec-13 14:30:00 0 02-Dec-13 15:30:00 1 02-Dec-13 16:30:00 2 02-Dec-13 17:30:00 3 <- 02-Dec-13 18:30:00 0 02-Dec-13 19:30:00 1 02-Dec-13 20:30:00 2 02-Dec-13 21:30:00 3 02-Dec-13 22:30:00 4 02-Dec-13 23:30:00 5 <- 03-Dec-13 00:30:00 0 I want to retrieve just the maximum values over that time period (e.g. in this case [4;2;3;5]). How do I do that? Thanks.

multiple trend cursor?

$
0
0

how can i draw multiple trend cursor above any trends and compare?

Copying a TimeRange from a Trend to an other Trend using VBA in Processbook.

$
0
0

Hi,

 

I'm trying to copy a timerange from  a trend to all the other trends on the same display. The reason i want to do this is, i have a piece of code that puts the cursor on the same timestamp on each trend. This works great, but when i go out of a range on a other trend i get an error. The code i use is as follows.

 

 

Option Explicit
 
Dim WithEvents tndX As PBSymLib.Trend

 

Private Sub Display_SelectionChange()
Dim smbX As PBObjLib.Symbol
 For Each smbX In ThisDisplay.SelectedSymbols
 
    If smbX.Type = pbSymbolTrend Then
 
        Set tndX = smbX
 
    End If
 
Next smbX
 
End Sub

 

Private Sub tndX_DropCursor(bCancel As Boolean, ByVal nCursor As Integer, ByVal NewTime As String)

Dim smbY As PBObjLib.Symbol
 
For Each smbY In ThisDisplay.Symbols
 
    If smbY.Type = pbSYMBOLTYPE.pbSymbolTrend Then
 
        If smbY.CursorCount < 1 Then
            smbY.AddCursor
        End If
 
        smbY.CurrentCursor = 1
        smbY.CursorTime = NewTime
        smbY.SetTimeRange tndX.StartTime, tndX.EndTime
           
    End If
 
   Next smbY
 
End Sub

how to use curve expression with respect to time?

$
0
0

hi all,

how to use curve expression with respect to time so that i can draw time base curve?

thanks

Why does the compressiong filter out a valuable data?

$
0
0
7:08:30 AM 107.5667 7:08:35 AM 90.15 7:08:39 AM 79.32 7:08:45 AM 0 8:30:25 AM 91.1 8:30:30 AM 106.25 8:30:46 AM 119.2

 

 The data above are collected with compressed data function of Datalink. The tag is an amps of a motor. As you see above, the motor stops at 7:08:45 and starts back up 8:30:25. But since we set 'step attribute' off, there is an interpolated line between these two dots. Why does not PI record the prior event to 8:30:25?

 

Below are the setting of the tag in SMT:

typical value:100  zeo:0   span:200

Scan: On   Archiving: On    Step: Off   Shutdown: On    Compression: On

Exception Dev: 1 Eng. Units  Compression Dev: 2 Eng. Units

ExpMin: 0  ExpMax:10mins   CompMin: 0  CompMax: 8hrs

 

Thanks


pi processbook data on web page?

$
0
0

dear all,

i had designed pi process book.

how can i get all data including trends define in pi process book in our webpage?

is it possible without using pi active view?

thanks 

Filter Expression with several conditions

$
0
0

Hello!

 

I'm trying to filter data to show the times from a specified start time to a specified end time when a tag ('TagA') changes from 0 to 1.  I have this part figured out with the compressed data function.  My problem is that I need to further filter these events for times when the value of at least one of 5 other tags ('TagB' through 'TagF') is > 0.  If I just filter for when any 4 of the 5 are > 0, it works - but when I add the fifth I get a '#VALUE!' error.

 

Here's my expression when 'TagA' is in cell B4:

 

PICompFilDat(B4,"start time","end time","('"&B4&"')=1 and prevval('"&B4&"')<1 and ('TagB'>0 or 'TagC'>0 or 'TagD'>0 or 'TagE'>0 or 'TagF'>0)",0, 10,"server","inside")

 

Is there a limitation on the number of arguments you can use in a filter expression or am I missing something else?  If there is a limit, is there any kind of workaround I could do to still get the timestamps I need?

 

Thank you for your help!

Performance equation to calculate rate of rise of any tag?

$
0
0

hi all

Is there is any Performance equation to calculate rate of rise of any tag?

how can i use this expression to calculate?

thanks

Use PI to measure OEE?

$
0
0

I wonder if there is any way to measure OEE with time as the variable for a tag?

 

Ex: Lets say a machine performs a task and gives a signal when the task is performed.  The task should take 1 min, hence the signal should come each minute.

Is there any way of using PE to calculate when this time goes over limit and give a signal on this?  :)

 

-A-

Performance Equation Syntax for latest timestamp of tag value > 1 hour old

$
0
0

I am trying to write a performance equation that will tell me when the current value timestamp for a given tag is greater than 1 hour hold. What is the syntax for this?

 

 

Viewing all 1120 articles
Browse latest View live


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