Experimental Physics and
| |||||||||||||||
|
After upgrading an ioc from: Processor: MVME2700 BSP: mv2700-asd8_nodns EPICS version: R3.13.9 synApps version: 4-6 to: Processor: MVME5100 BSP: mv5100-asd8_nodns EPICS version: R3.14.8.2 synApps version: 5_2_test a sequence program that writes the current date and time into a file no longer logs the correct time. The time on the ioc is correct: lga> date 2007/07/31 11:14:56.572507 value = 27 = 0x1b lga> but the method used by the sequence program which worked before the upgrade, no longer behaves properly: lga> systime = time(0) systime = 0x1e1a8d10: value = 423436 = 0x6760c lga> printf("%s",ctime(&systime)) MON JAN 05 15:37:16 1970 value = 25 = 0x19 lga> Originally I thought that something might have changed in the sequencer but since I see the same incorrect behavior on the VxWorks console I'm forced to look elsewhere for the problem. The VxWorks documentation says time() should return the current time if passed NULL (which the sequence program does). Is time() broken in mv5100-asd_nodns? If not, where else can I look for a potential misconfiguration? Thanks ahead of time, Kevin
| ||||||||||||||
ANJ, 10 Nov 2011 |
·
Home
·
News
·
About
·
Base
·
Modules
·
Extensions
·
Distributions
·
Download
·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing · |