70 likes | 197 Vues
This document provides an overview of using ACS with VxWorks for the European Southern Observatory. It covers essential topics such as building binaries, configuring Makefiles, and linking libraries. Key aspects include the setup of the VxWorks environment, the use of CORBA, and limitations around the programming languages supported. A demo of the Linux client and VxWorks server simulator is also included. This resource serves as a guide for developing and managing applications that leverage VxWorks within the context of ESO projects.
E N D
ACSon VxWorks B.Gustafsson European Southern Observatory ESO Feb 4 2004 ESO
VxWorks support • Cross Compiler on Sun • Support by acsMakefile • Flag MAKE_VXWORKS=‘on’ • INTROOT (ACSROOT) – vw directory • bin/PPC604 ACS with VxWorks
Module • Mod – ws – src Makefile + *.cpp files • - include • lcu –src – Makefile + links to ../../ws/src • - include links to ../../ws/include • tat • Source file: due to use of ACE code for Linux and VxWorks identical • for specific VxWorks code use #if MAKE_VXWORKS . . #else . . #endif ACS with VxWorks
Code • Building binaries and not libraries • Sort of shared libraries • Linking is done on the target when binary downloaded ACS with VxWorks
CORBA • On VxWorks only servers running • Only C/C++ code (no java nor python) • Only one instance of the ORB can run on the LCU • To restart the ORB it is necessary to unload all modules and load them again (or reboot) ACS with VxWorks
Environment • Booting from Sun • No local file system, NFS mount from Sun • bootScript • userScript ACS with VxWorks
Demo Linux client CAN bus VxWorks server Simulator ACS with VxWorks