jul23
Some current base locations:
links:
more info on
the p12m telescope
Warning:
The user interface to the p12mProg is done through tcl
functions/routines written at AO.
source Code |
threads (started by p12mMain.c |
Purpose |
p12mMain.c |
|
|
p12mIoThr.c |
|
|
p12mXfThr.c |
Controls the 12meter.
|
|
p12mLogThr.c |
Outputs the logging info
|
Name |
Type |
Purpose |
libp12m.a | library | routines to decode p12m status
words. Used by p12mprog and other monitor programs Loc:aosBase/libs64/ |
source |
source code for libp12m.a makefile: Makefile in same directory Loc:p12mBase/libsrc/p12mlib/ |
|
libp12md.a |
library |
query, set values in 12meter hardware
controller. These are the routines that communicate with
the 12m controller. Loc:aosBase/libs64/ |
source |
source code for libp12md.a makefile: Makefile in same directory Loc:p12mBase/libsrc/p12mdev/ |
|
libp12mprog.a |
library |
a few utility routines need by p12mProg
that were extracted from phillib.a Loc:aosBase/libs64/ |
source |
source code for p12mprog.a makefile: Makefile in same directory Loc:p12mBase/libsrc/p12mprog/ |
|
libaomb.a |
library |
modbus routines to communicate with the
12m hardware controller modbus interface over Ethernet Loc:aosBase/libs64/ |
source |
source code for libaomb.a makefile: Makefile Loc:aosBase/libsrc/aomb/ |
|
libpntxform.a |
library |
pointing transformation routines. Loc:aosBase/libs64/ |
source |
source code for pntxform lib makefile: Makefile in current dir Loc:aosBase/libsrc/pntXform/ |
|
libphil.a |
library |
lots of utility routines to do things
like
|
source |
source code for libphil. Split into
various subdirectories Loc: aosBase/libsrc/phil/
|
|
system libs |
-lrt for realtime clock -lm for math routines. |
p12mProg.h |
include file for p12mProg. (only used by
p12mProg) defines:
|
p12m.h |
includes and prototypes for p12mlib |
p12mMisc.h |
defines structures for p12mProg, also
used by external programs |
pntMisc.h | common structs, constants for 305m and
12m pointing. |
pntXformLib.h |
include file for pntXform lib |
pntProgState.h |
holds structure that is broadcast once a
second and written to disc. |
p12mDevLib .h |
for p12md library. has prototypes |
p12mCtrlReg.h |
addresses, symbolic names, controller
names to configure the hardware controller |
mbtcp.h |
include for for modbus tcp library
aomb.a |
p12merrno.h |
error numbers for p12mprog |
philLib.h |
include file for -lphil includes: convLib.h, datkLib.h, utilLib.h |
mshmLib.h |
defines broadcast packets for p12m state.
includes multicast ipaddress, port Also has code for the older sharedmemory broadcasts of the 305meter. |
lock file |
Used to guarantee only one copy of
pntmProg is running at a time
|
p12mBase/etc/model12m |
This is the pointing model parameters.
|
/share/obs4/dt/dfiles/epvChebs |
chebychev polynomials from de403
ephemeris for earth position in solar system barycenter. one polynomial for each day. Data valid: 01jan2004 t 01jan2024 created by mike nolan using fortran program. If observing goes beyond 2023 , will need to update. Used to compute the radial velocity for spectral line observing. routines: epvInput(), epvCompute in pntXformLib are used to access the file. |
/home/online/vw/etc/Pnt/utcToUt1.dat |
Program to go from utc to ut1. generates
dut1.
|
sntp time server |
the controller needs an sntp time server
(turns out an ntp server also works). to configure the ip address for this:
|
ip info: |
|
status Logging |
The p12mProg status is written once a
second (in binary) the to daily log
|
Error logging |
p12mProg uses syslog to log messages,
errors |
starting p12mProg at boot |
p12mProg is run on galfas2 computer
|
tcl code for user |
p12mBase/tcl has the tcl code that is the
user interface
|
phil's web pages |
/home/phil/public_html/ holds
phil's web pages.
|