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

Create totalizer

$
0
0

Hello,

i'm a new user of PI procesbook.

 

i hope that someone can help me with the following issue.

 

I want to create a totalizer in a flow to a certain tank.

 

the totalizer must be initiate when the tag 635GO141.pv (valve)is switched to "on" en must be stopped when switched to "off".

 

i have already filled in in the expression field:

if 'COD:635GO131.PV' = "on" then TagTot('COD:635FY020.PV','t','*') else 0. The totalizer now  runs over 24 hours. Is there a possibilty to make a switch between time 't' and '*' and use "on"and "off" instead?

 

i hope you can help me

 

regards

martin

 

 


PI ProcessBook Range Function

$
0
0

Does the Range PE function return the difference between a tag's max and min value during the entire timeframe or only at the two end states of the interval?

 

If I'm looking at a tag in ten minute intervals, I only want to compare the value at time now (*) with the value time ten minutes ago (*-10m). I want to determine the range between only these points. I don't care what the other values are inbetween (or during the interval).

Configure Archives for Rotation

$
0
0

Finally filled up my hard drive (as if that were a goal), so I want to return the archive shifts to rotation.  Found a lot of documentation on how to configure to create a new archive, but nothing on returning to rotation.  Here is what I vaguely recall, with a few questions.

 

Q1: Is it as simple as setting: Archive_AutoArchiveFileRoot = blank

 

Q2: So I have the fuzzy warm feeling of surety, is it correct that no path is required for rotation, because all the archives are registered with their path?

 

Q3: Is Archive_AutoArchiveFileFormat ignored when …FileRoot is off?

Auto collect data in Excel

$
0
0

Hi,

 

If you have a excel doc with PI datalink and would like daily readings of a tag, is there any way of auto updating(colleting) the latest data?

Now I have to select the PI datalink cell and click apply to get todays result.

 

-A-

Renamed tag gives "Point <tagname> No Digital Set to Passivate"

$
0
0

Hello, 

 

I recently renamed a tag using point builder in PI-SMT. 

it worked well, but I got this message in SMT : "Point <old-tag> No Digital Set to Passivate" periodically.

 

can anyone help me to understand what should be done to correct this?

 

Thank you, 

 

 

PI continues calculating even after the query in Excel is closed

$
0
0
 

I'm having some problems with the IP when I do queries.

When Excel crashes and I need to close it, the PI continues performing the calculation. In SMT, the curTime keeps increasing and the PI Server becomes slow.

Is there any way to stop the calculation without me having to stop the PI Archive Subsystem service?

 

PI.png

 

PI2.png

 

PI3.png

Import Tag Strings Into Excel

$
0
0

I'm looking for a way to automate something which would require doing a full basic tag search of "*' in excel and list all returned tags in a column of a spreadsheet to parse and build from.

 

Example, macro queries and finds 15000 tags from search, and returns the list of results into column A to work with in another macro.

 

 

Is anyone familiar with an excel vb script with the PI add-in which can perform this?

 

Thank you in advance!

Disable/Enable Server Connection with VBA

$
0
0

Is there a way to disable and re-enable the server connection within PI processbook's visual basic application for a macro to run?


PI Equation for Determining How Long Does a Tag Stay on a Certain Range of Values

$
0
0

I want to count the number of minutes/hours does a specific tag stay on a certain range...

 

For example, if I have 3 Temperature ranges: Less than 20°C, Greater than 20°C but less than 50°C and greater than  50°C

 

I need to have 3 PI Performance Equations using PROCESSBOOK that will determine how long does a tag stay on every particular range.

 

To make it easier to visualize, I need to come up like the one I attached

 

 

 

 

TIA :)

 

Regards,

 

 

Cesar

 

Attached Images

  • osi.png

Storing value in PI tags for future timestamp

$
0
0

Hello,

 

I am using PI-SDK in .Net to save data in the PI tags (using OLEDB PI queries) at "future timestamps". I know PI server wont allow it. Is there any way of doing the same?

 

I know there is a new release for PI server which is coming in Q3 2014 which will support this functionality, however, is there any way to do it somehow now?

 

Thanks,

Souvik

Problem PI Webparts-Sharepoint 2010

$
0
0

Hi, i'm new in PI System and i have a problem, when i need to use the webparts for Sharepoint, doesn't appears and i dont know why. PI System is installed but PI System Explorer, doesn't connect to database, could that be the problem?

Please help me.

Ryan.

Reset a tag by using Performance equation

$
0
0

Hi,

Can anyone guide me to reset a "Datapoint" to zero,

For example:- A Performance equation is calculated as A=B+C+D after certain value i want to reset the values "A" to '0', is it possible to do in a Performance equation

 

With Regards,

mrajar 

Archives

$
0
0

Is it possible to schedule on a specific time, to create a new archive file automatically in the Operation -->Archives, no need to worry whether it is full with data or not.

 

For example:- Daily Midnight 00:00:00 an archive file "piarch.xxx" to be created automatically.

 

Regards,

mrajar

How to PI datalink to trend data by clicking on tag in excel?

$
0
0

Hello,

 

I am working with PI datalink in excel, and I wanted to find a way to create a macro (unless there is another way) to click on a tag and get the pi trendm comapred to going on the pi tab, clicking on trend, finding the tag and changing the server each time.

 

Is there a code for trending that I can use in excel to create this function.

 

Thank you

 

Anjali Deed

Event Tag

$
0
0

Hi All,

Is it possible to give multiple Events for a Single Performance Equation / Instrument tag?

 

Regards,

mrajar


Verify PIML Mobile Tags

$
0
0

I have recently installed the PI Manual Logger and PI Manual Logger Mobile onto my Mobile PC device.

 

I have created a tour in PIML and transfered it to the PIML Mobile program however when I go to run the tour the following message pops up:

 

No tags could be retrieved from the tour. Verify this tour consists of tags.

 

How do I fix this, I want to be able to run the tour using the PIML Mobile program? I used PI tags to set up the tour.

 

Thanks,
Alice

Hourly average using PICONFIG

$
0
0

Good afternoon,

 

Is there a way to extract  hourly averaged values using piconfig? I did notice EVENT mode we can use to get the equally spaced interpolated data but is there a way to add intervals parameter like "1h" similar to extracting Calculated 1 hour average values in Datalink. Due to the large volume of data and number of tags that need to be extracted I am unable to use Datalink.

 

Any help would be greatly appreciated. 

 

Thanks.

PI Datalink Expression

$
0
0

Hi All,

 

Is it possible to have a single PI Datalink formula with expression but from different PI Server?

 

I have 2 tags from 2 different PI Servers:

1. Flow tag from PI Server A

2. Digital tag (ON or OFF) from PI Server B

 

I would like to find out the average of Flow in a day if the digital tag is showing OFF.

 

My Datalink formula is as follow:

PIAdvCalcFilDat("Tag1", StartTime, EndTime, 24H, 'Tag2=OFF', "pt-compressed", "10m", 0,1,0,"PI Server A")

 

the issue is Tag2 is coming from PI Server B.

Is there any command to include the PI Server Name for specific tag (eg. \\PIServerB\Tag2)?

 

 

Thanks a lot !

 

 

Regards,

Agus Yun.

 

Compmax for Digital tags

$
0
0

How to configure a digital tag to archive only when there is a change of State?

 

 

                                       atual                                        desired

Tag VR_FIC-001A.ST            Number of Values: 31                  Number of Values: 13

NewTag                             25-jan-14 02:25:35 Manual          25-jan-14 02:25:35 Manual

archiving 1                         25-jan-14 10:25:35 Manual          28-jan-14 08:34:01 Auto

changer piadmin                25-jan-14 18:25:10 Manual          28-jan-14 08:35:00 Manual

compdev 0                        26-jan-14 02:24:11 Manual          28-jan-14 09:45:22 Auto

compdevpercent 0             26-jan-14 10:23:10 Manual          28-jan-14 09:45:25 Manual

compmax 28800                26-jan-14 18:22:52 Manual          28-jan-14 09:45:37 Auto

compmin 0                        27-jan-14 02:21:53 Manual          28-jan-14 09:51:39 Manual

compressing 1                   27-jan-14 10:21:16 Manual          29-jan-14 10:40:34 Auto

convers 1                          27-jan-14 18:20:20 Manual          29-jan-14 11:15:48 Manual

creator piadmin                 28-jan-14 02:19:26 Manual          29-jan-14 11:16:15 Auto

dataaccess o:rw g:r w:r       28-jan-14 08:34:01 Auto              29-jan-14 11:20:10 Manual

datagroup piadmins           28-jan-14 08:35:00 Manual          29-jan-14 12:03:26 Auto

dataowner piadmin            28-jan-14 08:54:00 Manual          30-jan-14 08:51:44 Auto

descriptor Feed unit           28-jan-14 09:42:51 Manual

digitalset STATUS               28-jan-14 09:45:22 Auto

displaydigits -5                   28-jan-14 09:45:25 Manual

engunits                            28-jan-14 09:45:37 Auto

excdev 0                            28-jan-14 09:51:39 Manual

excdevpercent 0                28-jan-14 17:51:37 Manual

excmax 600                       29-jan-14 01:51:36 Manual

excmin 0                           29-jan-14 09:51:23 Manual

exdesc                              29-jan-14 10:40:34 Auto

filtercode 0                       29-jan-14 11:15:48 Manual

instrumenttag                   29-jan-14 11:16:15 Auto

location1 2                        29-jan-14 11:20:10 Manual

location2 277                    29-jan-14 11:39:39 Manual

location3 4                        29-jan-14 11:41:28 Manual

location4 2831                  29-jan-14 12:03:26 Auto

location5 6                        29-jan-14 20:02:44 Auto

pointid 4476                      30-jan-14 04:02:43 Auto

pointsource B                    30-jan-14 08:51:44 Auto

pointtype digital

ptclassname classic

ptgroup piadmins

ptowner piadmin

scan 1

shutdown 0

sourcetag

span 7

squareroot 0

srcptid 0

step 1

totalcode 0

typicalvalue 0

userint1 0

userint2 0

userreal1 0

userreal2 0

zero 56

Creating a calculated tag that totals how long a digital tag = 1 in a 24 hr. period

$
0
0

I would like to create a calculated tag that totals how long a digital tag = 1 in a 24 hr. period.  It will need to start over every day at 6:30AM.  How do I do that?

Viewing all 1120 articles
Browse latest View live


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