<x-html><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML><HEAD> <META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1"> <META content="MSHTML 5.00.2314.1000" name=GENERATOR></HEAD> <BODY> <DIV><FONT color=#0000ff face=Arial size=2><SPAN class=068503911-17112000>Michael:</SPAN></FONT></DIV> <DIV><FONT color=#0000ff face=Arial size=2><SPAN class=068503911-17112000></SPAN></FONT> </DIV> <DIV><FONT color=#0000ff face=Arial size=2><SPAN class=068503911-17112000>Thank you for your help: Now, all systems are working fine!</SPAN></FONT></DIV> <DIV><FONT color=#0000ff face=Arial size=2><SPAN class=068503911-17112000></SPAN></FONT> </DIV> <DIV><FONT color=#0000ff face=Arial size=2><SPAN class=068503911-17112000>I understand now why some of the IA systems were OK: we stopped/started the fxbais(PI interface in IA) and take the "good time". The IA systems without restarting the interface were bad.</SPAN></FONT></DIV> <DIV><FONT color=#0000ff face=Arial size=2><SPAN class=068503911-17112000></SPAN></FONT> </DIV> <DIV><FONT color=#0000ff face=Arial size=2><SPAN class=068503911-17112000>Now, the problem is : Why didn't work the PI-API routine pitm_fastservertime in order to solve this problem without need to restart manually the PI interface?</SPAN></FONT></DIV> <DIV><FONT color=#0000ff face=Arial size=2><SPAN class=068503911-17112000></SPAN></FONT> </DIV> <DIV><FONT color=#0000ff face=Arial size=2><SPAN class=068503911-17112000>Regards</SPAN></FONT></DIV> <DIV><FONT color=#0000ff face=Arial size=2><SPAN class=068503911-17112000></SPAN></FONT> </DIV> <DIV><FONT color=#0000ff face=Arial size=2><SPAN class=068503911-17112000>Pedro Hernandez</SPAN></FONT></DIV> <DIV><FONT color=#0000ff face=Arial size=2><SPAN class=068503911-17112000>Process Control Manager</SPAN></FONT></DIV> <DIV><FONT color=#0000ff face=Arial size=2><SPAN class=068503911-17112000>REPSOL-YPF Quimica</SPAN></FONT></DIV> <DIV><SPAN class=068503911-17112000> <DIV><FONT color=#0000ff face=Arial size=2><SPAN class=416394108-17112000>Puertollano</SPAN></FONT></DIV> <DIV><FONT color=#0000ff face=Arial size=2><SPAN class=416394108-17112000>13500 Ciudad Real</SPAN></FONT></DIV><FONT size=2><FONT color=#0000ff><FONT face=Arial> <DIV><SPAN class=416394108-17112000>SPAIN<BR><SPAN class=068503911-17112000>[PHA] </SPAN></SPAN></DIV> <DIV><SPAN class=416394108-17112000><SPAN class=068503911-17112000> </SPAN></SPAN></SPAN></FONT></FONT><FONT face=Tahoma></FONT><FONT size=2>-----Mensaje original-----<BR><B>De:</B> Michael Hesselbach [mailto:[EMAIL PROTECTED]]<BR><B>Enviado el:</B> viernes 17 de noviembre de 2000 11:58<BR><B>Para:</B> '[EMAIL PROTECTED]'<BR><B>CC:</B> [EMAIL PROTECTED]; PI TechSupport<BR><B>Asunto:</B> RE: foxapi node time settings; OSI Call ID 16978GMBH<BR><BR></DIV></FONT></DIV> <BLOCKQUOTE style="MARGIN-RIGHT: 0px"></FONT> <DIV><FONT color=#0000ff face=Arial size=2><SPAN class=517320110-17112000>Pedro, </SPAN></FONT></DIV> <DIV> </DIV> <DIV><FONT color=#0000ff face=Arial size=2><SPAN class=517320110-17112000>The server stores data internally in UTC time. To do this, the server's time settings should show normal local time, and the NT time zone setting should be correct, including DST adjustment marked yes. This is set correctly, as far as I remember from my visit.</SPAN></FONT></DIV> <DIV><FONT color=#0000ff face=Arial size=2><SPAN class=517320110-17112000></SPAN></FONT> </DIV> <DIV><FONT color=#0000ff face=Arial size=2><SPAN class=517320110-17112000>In the OSI interface manual I read:</SPAN></FONT></DIV> <DIV><FONT color=#0000ff face=Arial size=2><SPAN class=517320110-17112000>----</SPAN></FONT></DIV><SPAN class=517320110-17112000> <H5><A name=_Toc475267972>Setting Timestamps</A></H5><FONT face=Arial size=2> <P class=BodyText>The PI server time is used for all data sent to PI except profile data points. Profile data points use the AW/AP node time adjusted to the correct timezone.</P> <P class=BodyText>The timestamp sent to the PI server is a UTC time. Since the AW/AP node commonly has the timezone set to GMT and the clock set to the local time, the time for the node is incorrect. Therefore, the PI-API routine pitm_fastservertime is used to determine the PI server local time and an additional time offset is applied to obtain the correct UTC time. The pitm_fastservertime routine maintains an offset time between the PI server and the AW/AP node which is recalculated every 10 minutes. The time offset for the correct UTC time is also recalculated every 10 minutes. </P></SPAN></FONT> <DIV><FONT color=#0000ff face=Arial size=2><SPAN class=517320110-17112000>----</SPAN></FONT></DIV> <DIV><FONT color=#0000ff face=Arial size=2><SPAN class=517320110-17112000></SPAN></FONT> </DIV> <DIV><FONT color=#0000ff face=Arial size=2><SPAN class=517320110-17112000>This means, i</SPAN></FONT><FONT color=#0000ff face=Arial size=2><SPAN class=517320110-17112000>f you modify manually the system time on your solaris machines to show correct local time, you need to restart the OSI fxbais interface or wait for 10 minutes. Obviously, this is not what you experienced ?</SPAN></FONT></DIV> <DIV><FONT color=#0000ff face=Arial size=2><SPAN class=517320110-17112000></SPAN></FONT> </DIV> <DIV><FONT color=#0000ff face=Arial size=2><SPAN class=517320110-17112000> <DIV><FONT color=#0000ff face=Arial size=2><SPAN class=517320110-17112000></SPAN></FONT> </DIV> <DIV><FONT color=#0000ff face=Arial size=2><SPAN class=517320110-17112000>To find differences between your 6 systems you might look for TZ environment variable settings on your foxapi nodes.</SPAN></FONT></DIV> <DIV> </DIV> <DIV></SPAN></FONT><FONT face=Arial><SPAN class=517320110-17112000><FONT color=#0000ff><FONT size=2><FONT face=Arial>Best regards</FONT> </FONT></FONT></DIV></DIV> <P><FONT color=#0000ff><FONT size=2><I><FONT face=Arial>Michael Hesselbach</FONT></I> <BR><FONT face=Arial>OSI Software GmbH</FONT> <BR><FONT face="Courier New"><A href="mailto:[EMAIL PROTECTED]">mailto:[EMAIL PROTECTED]</A></FONT> <BR>Please refer to call #1<SPAN class=517320110-17112000>6978</SPAN>GMBH in replies to this problem </FONT></FONT></P> <DIV><FONT color=#0000ff size=2><SPAN class=517320110-17112000>P.S.</SPAN></FONT></DIV> <DIV></DIV></SPAN></FONT> <DIV> </DIV> <DIV><FONT color=#0000ff face=Arial size=2><SPAN class=517320110-17112000>To OSI <FONT color=#0000ff face=Arial size=2><SPAN class=517320110-17112000>techsupport: </SPAN></FONT> I've logged this call internally as 16978GMBH. Feel free to contribute ;)</SPAN></FONT></DIV> <DIV><FONT color=#0000ff face=Arial size=2><SPAN class=517320110-17112000></SPAN></FONT> </DIV> <DIV><FONT color=#0000ff face=Arial size=2><SPAN class=517320110-17112000>To foxboro guys: I'd appreciate if you could cc me (not neccessarily both techsupport addresses) on any replies. </SPAN></FONT></DIV> <DIV> </DIV> <DIV align=left class=OutlookMessageHeader dir=ltr><FONT face=Tahoma size=2>-----Original Message-----<BR><B>From:</B> [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]<BR><B>Sent:</B> Friday, November 17, 2000 10:35<BR><B>To:</B> [EMAIL PROTECTED]; [EMAIL PROTECTED]; [EMAIL PROTECTED]<BR><B>Subject:</B> <BR><BR></FONT></DIV> <DIV><FONT face=Arial size=2><SPAN class=416394108-17112000>I've just found a problem with a difference in "time stamp" between IA and the PI server data: the real data are "delayed" one hour in the PI. I think this problem is due to the "automatically adjust clock for daylight saving changes" in the PI server. This "automatic adjust clock" doesn't exist in the Foxboro IA and we have to change manually the time...</SPAN></FONT></DIV> <DIV><FONT face=Arial size=2><SPAN class=416394108-17112000></SPAN></FONT> </DIV> <DIV><FONT face=Arial size=2><SPAN class=416394108-17112000>This problem appears "only" in some IA's . We have 6 systems and we have problems with 4 of them. All</SPAN></FONT><FONT face=Arial size=2><SPAN class=416394108-17112000> IA ystems are AW51B and there is just an NT server for all of them.</SPAN></FONT></DIV> <DIV><FONT face=Arial size=2><SPAN class=416394108-17112000></SPAN></FONT> </DIV> <DIV><FONT face=Arial size=2><SPAN class=416394108-17112000>I suppose that there is an "IA important variable" responsible for this "problem". </SPAN></FONT></DIV> <DIV><FONT face=Arial size=2><SPAN class=416394108-17112000></SPAN></FONT> </DIV> <DIV><FONT face=Arial size=2><SPAN class=416394108-17112000>Anyone could help us?</SPAN></FONT></DIV> <DIV><FONT face=Arial size=2><SPAN class=416394108-17112000></SPAN></FONT> </DIV> <DIV><FONT face=Arial size=2><SPAN class=416394108-17112000>Thanks in advance and best regards.</SPAN></FONT></DIV> <DIV><FONT face=Arial size=2><SPAN class=416394108-17112000></SPAN></FONT> </DIV> <DIV><FONT face=Arial size=2><SPAN class=416394108-17112000>Pedro Hernandez</SPAN></FONT></DIV> <DIV><FONT face=Arial size=2><SPAN class=416394108-17112000>REPSOL-YPF Quimica</SPAN></FONT></DIV> <DIV><FONT face=Arial size=2><SPAN class=416394108-17112000>Puertollano</SPAN></FONT></DIV> <DIV><FONT face=Arial size=2><SPAN class=416394108-17112000>13500 Ciudad Real</SPAN></FONT></DIV> <DIV><FONT face=Arial size=2><SPAN class=416394108-17112000>SPAIN</SPAN></FONT></DIV> <DIV><FONT face=Arial size=2><SPAN class=416394108-17112000></SPAN></FONT> </DIV> <DIV><FONT face=Arial size=2><SPAN class=416394108-17112000></SPAN></FONT> </DIV></BLOCKQUOTE></BODY></HTML> </x-html>