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

How to know event file corruption?

$
0
0

Hi,

 

I want to know which files are corrupted at interface node?

And is ther any automatic method for letting us know the file corruption?

 

 

Thanks& Regards,

Ilyas


How to get a value when an event changes?

$
0
0

Hello.

 

I am trying to work out the level of a silo when a mill stops.  The mill may stop more than once in a 24 hour period, but I would want the level of the last stop if this is the case over a 24 hr period.

 

Any help would be appreciated

How to add pi point attributes in af elements attributes using PSE?

$
0
0

Hi all,

 

I want to add pi point attributes in af elements attributes using PSE?

How to do it?\

 

Regards,

Ilyas

 


Hi all,

 

I want to add pi point attributes in af elements attributes using PSE?

How to do it?\

 

Regards,

Ilyas

Attached Files

  • Attached File  af.bmp   1.57MB   8 downloads

MIN, MAX,TIME,TOT

$
0
0

Hi All,

i have juste automatic input silo-050.wi.pv

i wanna to found all MAX and all MIN for the trend ( max1,2,3,.....) and (min 1,2,3...)

and i have to calculated max1 -min 1=tot 1, max2- min 2= tot2 , max 3- min 3= tot 3 .....

i have to found also totalizer= tot1+tot2+tot3 ....

i have to found the time between min2 and max1, betwen min 3and max2, ......

can you help me please

sorry for my english :)

post-5-0-74680400-1374997233.png

Attached Images

  • IMAGE.png

How to display change on a bar?

$
0
0

Greetings

 

I would like to ask if anyone knows how to display change on a bar.  What I am looking to accomplish is to display the amount of difference from the last event, or a certain time such as 5 mins ago.  An example would be as such; 5:00am pressure = 100, 5:05am (now) pressure = 110, then 110 (now) minus 100 (5 mins ago) = 10+  The positive 10 is what I would like to display on the bar.  This is to help identify changes as they move through a system.  Any help would be greatly appreciated.

 

Thanks!

Using Visual Studio C# to programm ProcessBook

$
0
0

Hi,

 

  ProcessBook has built-in VBA. I can load pre-made display from Visual Studio using C#. Are any samples

how to add new elements to ProcessBook-display from Visual Studio and programm them not using VBA?

 

Thank you, Yuri

 

Coresight Install security

$
0
0

I am working on an installation of PI Coresight and I was able to get it running but not using the suggested Window Integrated Security.  On the "PI Servers Configuration" screen I click the test connection and the current user connection fails.  I look at the the PI logs and it shows it is trying to connect as Anonymous User instead of as my account.  If I set up a trust for the server then the connection works but it connects using the trust which I know because it shows my account in the connecting as column but shows the identity I set up for the trust in the PI User column. I had a similar issue trying to get it to connect to the SQL Server where it kept saying it was connecting as Anonymous user.  We have another site that set it up and they said they just manually put the connection string into the web.config and it worked.  I did the same and got it to work and connect to SQL Server and connecting as the application pool acount.  Here is my setup

 

PI Server - Server 2008 (High Availability)

SQL Server - Server 2008 SQL Server 2012 - Clustered

Coresight Server - Server 2008 port 8080

 

Each component is a separate server.  I have a domain account called srv_coresight that I set the App pools to run as.  I enabled delegation on the Coresight Application server (Page 25 of admin guide).  I even tried enabling delegation on the srv_coresight user and that didn't make a difference.  My guess was the Kerberos Delegation but I can't seem to figure out what is missing.  

 

Use a dataset value in VBA

$
0
0

Hi All,

 

I have a Processbook display which has a dataset. I want to use the current value of the dataset to show/hide a textbox on the display; how do I do this?

 

I'm sure this has been covered before, but I can't find anything that suits what I need.

 

Thanks

 

Col


PI SMT not loading correctly

$
0
0

Last week I was happily using PI SMT sp1 (not the addin) and this week I loaded PI ACE. Now when I start PI SMT it starts, loads a few programs and just sits on my task bar but no windows come up. I have deleted / restarted computer and reinstalled to no glory. and ideas? I do have the excel addin but from time to time (like now) I prefer the SMT program over the addin.

 

Windows 7 computer

AF Formulas

$
0
0

I am trying to create an AF Formula...

 

I have a tag we will call tag 1 that has values like:

 

1st Forward

2nd Forward

3rd Forward

 

I also have values in tag 2 that are numeric

 

I want to

- Take just the first character of the value of tag 1 (so that i only have 1 or 2 or 3)

- Then i want to display the tag 2 value when the current value to tag 1 is 2 and the previous value is 1

 

So it might look something like...

 

If([Tag 2] = 2 and PrevVal([Tag 2]) = 1)) THEN [Tag 1]

 

My question is what is the syntax for those two operations.

Want to alert for BadValue Tags in Notification

$
0
0

Hi,

 

Currently we are limited to tag count and we want only one alert consisting list of PI Tags which are in Bad Values state.

How to check bad value for all the tags and then identify list and sthen alert for only tags of bad values? How to do it

 

 

Thanks & Regards,

Ilyas

VBA code to recognize if a value is substituted

$
0
0

Hi all,

 

I had a question regarding substituted values.  Is there a way to recognize whether a value (say, sent from PI Manual Logger) is a substituted value using VBA?

 

For example:

 

Private Sub Value59_DataUpdate()

Dim vrDate As Variant

Dim vrStatus As Variant

Value59.selected = True

If Value59.GetValue(vrDate, vrStatus) > 50 Then

Value59.LineColor = RGB(0, 150, 0)

Else: Value59.LineColor = RGB(250, 0, 0)

End If

If (“Value59 is a substituted value”) Then 

Call SubstitutedAlarm

Else

End If

Value59.selected = False

End Sub

 

 

I've looked through the VBA reference file for PI processbook, but couldn't find anything related to substituted values.

 

Thank you in advance for the help!

Can an xy plot have a fixed curve from excel & realtime tag info on the same plot?

$
0
0

I used an Excel spreadsheet to generate some pressure - temperature curves. I then created an ODBC dataset to plot the curves on an xy plot in ProcessBook. I am trying to figure out how to plot a pressure - temperature point, taken from the PI server, on the same xy plot.

 

I've tried creating a line/polyline to simulate the curve over the xy plot and then just plotting the p-t point, but everytime the xy plot gets moved, my curves are no longer accurate.

COM Exception in PIValues collection

$
0
0

Hello,

 

Good Day!

 

I am using PI-SDK in .Net.

I have used PIValues collection which contains several pi values received from the PI tags. Now, if I want to fetch a certain value at a position (say 10) from the collection, it gives me COM Exception.

 

 

piValues = snapPoint.Data.RecordedValues(strStartTime, strEndTime, BoundaryTypeConstants.btInside);

 

foreach (PIValue piValue in piValues)

{

blnIsDecimal = Decimal.TryParse(piValue.Value.ToString(), out decOutNum);

if (blnIsDecimal)

{

if (piValues[iTempTurnaroundCnt].Value != piValues[iTempTurnaroundCnt + 1].Value && iTempTurnaroundCnt < piValues.Count)

{

strPiTagValue = piValues[iTempTurnaroundCnt].TimeStamp.LocalDate.ToString(Constants.DATE_FORMAT_LONGDATE4);

break;

}

}

iTempTurnaroundCnt++;

}

 

"piValues[iTempTurnaroundCnt].Value" throws COM Exception.

 

Please let me know for any details required.

 

 

Thanks,

Souvik

Frozen Layer in Process Book

$
0
0

Hi 

 

I really need a help. 

 

I need to create a screen in the Process Book that at the top there is a header, and that it be fixed.
 
Ie, there will be a header at the top and at the below there will be some graphics and a scrollbar. When scrolling the bar, this top (header) must remain fixed.
 
How can I do this?

Best way to reboot PI Server

$
0
0

Hi,

 

I need to apply a security patch from Microsoft on my PI Server. What is the best way to reboot.

I stop the service, restart the server and then restart the services normally? Or need to follow some specific procedure?

 

Best regards,

 

Allan

ScreenUpdating

$
0
0

Hi again

 

I need to set the property SCREEN UPDATING in FALSE.

 

VBA for excel has this property. Does Process Book has this property too?

Fill a Trace - Process Book

$
0
0

I have graphics on process book which are related with digital variables (like 0/1, On/Off) and i need to these graphics be filled below the trace, like the attached picture.

 

Is this possibile in Process Book?

 

 

Attached Images

  • fill.jpg

Golden Batch #2

$
0
0

Hi Everyone,

 

there was an posting to this topic in the past: http://community.osisoft.com/index.php?/topic/1202-golden-batch/?hl=golden+batch

 

I want to discuss it with another focus, so I opend a new thread. I hope this is the right way.

 

For an project (very early phase) I´m looking for an "Golden Batch Solution". The reqirements are the following: The basic data for the golden batch comes from an statistical software where past batches were analysed. Based on this historical date and some statistical voodoo the data for the golden batch is generated and stored in PI. So, my task is now to evaluate different possibilities to display these data with PI Client Tools.

 

My first guess was to use PB with PI Batch View. I know Batch View but I´m not sure how the implementation with Eventframes will be (so I´m loocking forward to the beta of the new PB version next year). Does anyone know a way to automatically create an batch with the data from the statistical software? And in Addition I need to make sure that only the latest golden batch is used in displays (there will be updates based on the experience gathered over time, but I can´t say how often).

 

Then I recognised the PI Process Templates from Exele. A first look is very good, but I don´t know if (anf if yes when) there will be an Event Frame integration. I´m currently take an deeper look onto this templates.

 

So far what I doscovered till now. Are there any other ideas or comments for my ideas?

 

I´m loocking forward to hearing from you!

 

Regards

 

fLOSt

 

PB VBA Send Symbol to Back of the Stack

$
0
0

Is there a method to send Symbols to the back of the stack in Processbook, using VBA?

Currently I have only been able to select one symbol and use Arrange -> Send to Back.

 

 With  Application.ActiveDisplay.Symbols
         For  i = 1 To .Count 
            If .Item(i).Type = 2 Then
               .item(i).[send to back of stack here]

             End If 
         Next    i
End With

 

 

I believe this may feasible with Layers, but I ran in to a wall with:

 

Set oLayer1 = Application.ActiveDisplay.Layers("Rectangles")

...

...

...

    With Application.ActiveDisplay.Symbols
        For i = 1 To .Count
            If .Item(i).Type = 2 Then
               oLayer1.LayerSymbols.Add (.Item(i))   'Err: Object doesn't support this method
            Else
               oLayer2.LayerSymbols.Add (.Item(i))
            End If
        Next i
    End With

Viewing all 1120 articles
Browse latest View live


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