2017. 8. 14. 14:49

https://localhost/piwebapi/admin/search/database.html

'4차산업혁명 > PI System' 카테고리의 다른 글

PI Processbook future tag 보이기  (0) 2017.09.18
Future Data - Archive 생성 방법  (0) 2017.08.14
[PI Interface] Windows Service 등록 방법  (0) 2017.04.17
[AFSDK] 잘 사용하는 방법  (0) 2017.04.07
[OSIsoft] 해결  (0) 2016.12.30
Posted by 까망후니
2017. 4. 17. 23:41

https://techsupport.osisoft.com/Troubleshooting/KB/KB00324


C:\>sc create "PItoPI Service Name" binpath= "C: \Program Files\PIPC\Interfaces\PItoPI\pitopi.exe NewID" depend= "tcpip/bufserv" DisplayName= "PI - PI to PI Interface" start= "auto"

[SC] CreateService SUCCESS


st-widget-{image: Image3.PNG}

'4차산업혁명 > PI System' 카테고리의 다른 글

Future Data - Archive 생성 방법  (0) 2017.08.14
Coresight Database  (0) 2017.08.14
[AFSDK] 잘 사용하는 방법  (0) 2017.04.07
[OSIsoft] 해결  (0) 2016.12.30
[OPC Interface] 이중화 관련 Device Status 값 설명  (0) 2016.10.18
Posted by 까망후니
2017. 4. 7. 10:17
Posted by 까망후니
2016. 12. 30. 23:12

https://www.youtube.com/watch?v=qEcqID9aLOg



Posted by 까망후니
2016. 10. 18. 08:46

 


  

 Device Status 

 Stores communication information about the interface and the connection to the data source. The device status performance counter indicates status using the following values: 

•0: Interface working properly, reading/writing data

• 10: Connected to data source, not receiving data

• 30 to 79: Interface-specific statuses

• 50: UniInt failover is in a state where the backup interface may take over if needed after a certain period of time. 10 minutes is the default, but can be configured using the location5 attribute of the active ID point.

• 80: Percentage of data sources connected below minimum required

• 90: Starting interface, not connected to data source

• 95: Communication error with data source

• 99: Shutting down the interfacce

• 100: For internal use only

Only applies to the instance (_Total). 



 by: UniInt-interface-User-Guide

Posted by 까망후니
2016. 9. 22. 13:40

PI SMT 상에서 Tag Search 버튼을 눌러도 검색창이 출력되지 않는 오류가 있다.(SMT2016 이하 버전)


해당 오류는 SMT의 bug이며, 해당 오류 수정 방법은 PI SDK상에서 PI 서버명을 IP가 아닌 서버명으로 변경한 후에


다시 접속하면 해결된다.



추후 버전에서 해당 버그는 수정될 예정이라고 한다.

Posted by 까망후니
2016. 9. 22. 13:36

1. PI SDK Utility 실행


2. 메세지로그(Message Log) 메뉴 선택


3. 시작시간, 종료시간, 심각도 설정


4. 상단의 메시지 확인 버튼 클릭

Posted by 까망후니
2016. 9. 22. 13:34

1. cmd 실행


2. cd %PIhome%\adm 으로 이동


3. pigetmsg.exe -st [메세지 시작시각] -et [메세지 종료시각] > [output파일명]

   ex) pigetmsg.exe -st *-8h -et * > logfile.txt


이렇게 하면 


%PIhome%\adm 폴더에  logfile이 생성됨.





Posted by 까망후니
2016. 6. 21. 14:38

[참고] : https://techsupport.osisoft.com/Troubleshooting/KB/KB01143



우선 PI OLEDB Enterprise와 OLEDB Provider의 두가지 방법이 있다.


PI OLEDB Enterprise는 AF 쪽과 Link 할때 사용하고, PI OLEDB Provider는 PI Archive와 Link시 사용한다.


이를 확인 하고 다음 작업을 시작한다.


우선 MS SQL Server Management Studio를 시작한다.



1. 로그인 후에 서버객체 - 연결된 서버 - 공급자  순으로 트리를 열어서 보면 PIOLEDB or PIOLEDBENT가 있다.

   위에 설명한대로 사용할 DB가 AF 또는 PI Archive인지 확인후 각각에 맞게 설정하면 된다.


   설정방법은 다음과 같다.

   (PIOLEDB기준)



   +동적 매개 변수

   +중첩 쿼리

   +Inprocess허용

   +Like 연산자를 지원합니다.


   위의 4가지를 추가 한 후에 확인 버튼을 누릅니다.


==============================================================================


2. 서버객체 - 연결된 서버에서 우클릭을 한 후에 새 연결된 서버를 클릭하여 새로운 연결 정보를 추가합니다.

   st-widget-{image: 3_New Linked Server.png}


   다음의 화면에서 항목에 알맞게 입력합니다.

   

  [일반]

  st-widget-{image: 4_Linked Server General.png}


 - 연결된 서버(Linked server) :  연결정보 서버 이름 입니다. 사용할 Link이름을 알맞게 적어주시면 됩니다.

                                         단순한 이름이므로 직관적인 이름을 사용하면 됩니다.(ex. test)

 - 서버유형 : 기타 데이터 원본 선택(Other data source)

 - 공급자(Provider) : 접속 항목(AF - PI OLEDB Enterprise, PI Archive - PI OLE DB Provider)을 기입합니다.

 - 제품이름(Product name) : 접속 항목(AF - PIOLEDBENT, PI Archive - Provider)을 기입합니다.

 - 데이터 원본(Data source) : 접속할 서버의 IP를 입력합니다.

 - 공급자 문자열 : Integrated Security=SSPI 입력

 - 카탈로그(Catalog) : 접속 항목(AF - SYSTEM, PI Archive - piarchive)을 기입합니다.


 [보안]

 

-추가버튼 클릭

 ->로컬로그인(SQL 설치 컴퓨터 로그인)

 ->가장에 체크


-로그인의 현재 보안 컨텍스트를 사용하여 연결체크


[서버옵션]

-데이터 정렬 호환 : True

-연결 제한 시간 : 30

-쿼리 제한 시간 : 600



이 상태에서 확인 누르면 됩니다.


단 이때, SQL설치 컴퓨터 로그인 정보는 PI에 인증(Trust)이 되어야만 합니다.



Posted by 까망후니
2016. 4. 19. 15:29

Interface 설정후 버퍼 동작 확인 방법이다.

cmd 창에서

C:\Program Files\PIPC\bin 의 경로로 이동한다.


해당 경로안에 pibufss.exe 파일이 있는지 확인한다.


입력 명령어 : pibufss -qs 

명령어를 입력하면 지속적으로 Buffer에 대한 정보가 출력된다.


에러가 발생할 경우 해당 에러에 대한 확인이 필요하다.

'4차산업혁명 > PI System' 카테고리의 다른 글

[PI System] Message로그 확인 방법 - pigetmsg.exe  (0) 2016.09.22
PI - MSSQL link 방법  (0) 2016.06.21
[PI]HTML Interface 기본 설정  (0) 2016.02.26
SNMP Interface  (0) 2016.01.27
PI 서버명 때문에..  (0) 2015.12.01
Posted by 까망후니