10/04/2001 ----------- Meet with John Sender / Kevin Jim to learn about John's AO work. System: hostname: aopcm (128.171.79.210) account: ao password: OS: Linux aopcm 2.2.18-rtl #3 Fri Feb 2 16:59:48 MST 2001 i686 unknown RTLinux Extensions Loaded (http://www.fsmlabs.com/) Using rtlinux-3.0 Hardware: National Instrument Digital IO board: dio 32hs model: pc-dio-32hs or 6533 Also duplicate system setup for testing/development in Johns office: jslinux (128.171.79.214) John got his copy of the AO sounce code on Feb 13. He has gotten it to compile (with some tweeking) and run. but is still missing code to allow an operator to control the rt system. LP - Loop processor tasks: 300 Hz task to receive data from the dio board, perform calc, and update mirror posstion. Live in the RT-Linux enviroment. Uses the dio card to talk to the AO hardware. CP - Command processor tasks: User tasks that interface with RT tasks using FIFO and Shared Memory. Consist of some messages output task, and 2 rpc task to allows other programs to monitor/modify parameters. Important directories under AO home directory: ~/ao/aocontrol - contain all souce/binaries related to project. ~/ao/aocontrol/sys - where all source code is located. (LP&CP,drivers). - John worked here to build to build and install code in ~/ao/bin. ~/ao/aocontrol/sys/6533_drivers - where device driver for dio card is. js is John Sender fixed on the orginial jj driver. ~/ao/bin - contain binaries of LP and CP. use start_cp start up system. /usr/rtlinux - where rt linux lives. TO run system: 1. As 'root': # cd ao/bin # ./start_all This brings up four xterms with the ao 'cp' daemons. 2. As 'ao': # cd ao/bin # aotk.doit This brings up the tcl/tk gui. 3. Details: 1. Start_all is a script that: - remove the rt_process and dio_mod - install the RT-Linux guys: dio_mod - device driver for Digitial IO card. rt_process.o - LP process. - Starts the CP task in 'normal' linux. message datadeamon sleep 1 ctrldeamon dserverdeamon 2. aotk.doit This scripts setup the enviroment for tcl/tk. cd ao/aoconntrol/tools/tcl aotk scripts/ao.tcl This is only the core AO system. The GUI and other user interface tools still need to be understood, compiled, and get running.