Argonne National Laboratory

Experimental Physics and
Industrial Control System

1994  1995  1996  1997  1998  1999  2000  2001  <20022003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  Index 1994  1995  1996  1997  1998  1999  2000  2001  <20022003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017 
<== Date ==> <== Thread ==>

Subject: How to set the correct IOC time
From: "Cheng Weixing@ssrc" <chengwx@ssrc.ac.cn>
To: <tech-talk@aps.anl.gov>
Date: Mon, 22 Jul 2002 18:54:52 +0800
Dear Sir:

I have encount a problem about the setting of correct date of IOC.

Host: Intel PentiumII 400 PC, Redhat6.2
IOC: MVME2302 PowerPC card, vxWorks5.3.1

while loading the vxWorks kernel and epics application to IOC. the displayed message is like this:

---------------start of paste message-----------------
...
iocInit
IocLogClient: EPICS environment variable "EPICS_IOC_LOG_INET" undefined
iocLogClient: logging disabled
############################################################################
###  @(#)EPICS IOC CORE built on Jul 22 2002
###  @(#)Version R3.13.3 $2000/07/10 18:20:58$
############################################################################
Starting iocInit
Failed to set time from Unix server
value = 0 = 0x0
seq &snctest
@(#)SNC/SEQ Version 1.9.2.Beta12 : Mon Jul 22 18:14:.?.
iocInit: All initialization complete
tShell 12/21/28 22:18:46: Spawning state program "snctest", task name = "snctes"
tShell 12/21/28 22:18:46:   Task id = 27324920 = 0x1a0f1f8
value = 27324920 = 0x1a0f1f8

Done executing startup script /ssrf/Apps/ExampleApp/iocBoot/iocexample/st.cmd
->

--------------end of paste-------------------------------

It seems the IOC can't get the time from Linux Host. what's steps should done to make it correct? Need I set some environment variables?

The time on IOC now is:
->date
Dec 21, 2028 22:18:57.006969513

while the host time is :
$ date
Mon Jul 22 18:57:21 CST 2002

I don't know where did IOC get the date value.

Any suggestion is welcomed.

Cheng Weixing
from SSRF, Shanghai,P.R.China.

Replies:
Re: How to set the correct IOC time Pete R. Jemian

Navigate by Date:
Prev: Re: genSub for EPICS 314? Andy Foster
Next: Acromag IP 330 External Triggering Eric Snow
Index: 1994  1995  1996  1997  1998  1999  2000  2001  <20022003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017 
Navigate by Thread:
Prev: CA Proxy Gateway (performance tweak release 1.3.3) Ralph . Lange
Next: Re: How to set the correct IOC time Pete R. Jemian
Index: 1994  1995  1996  1997  1998  1999  2000  2001  <20022003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017 
ANJ, 10 Aug 2010 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·