-
Notifications
You must be signed in to change notification settings - Fork 0
AO3K:EngineeringNotes
Reminder: this page is public -- no IPs, no credentials
See RTS repo repository, that is cloned under /home/aorts/src/rts
.
This is configured as such in .env
:
# RTS PACKAGE (g2if and consort)
export RTS_PACK_ROOT=${HOME}/src/rts
export PATH=${RTS_PACK_ROOT}/bin:${PATH}
More notes are available in The rts_start.md
Run cc-rightafterboot
(from computer_config repo / ${HOME}/computer_config
) immediately upon login and only once.
- Customize post-boot sequence:
${HOME}/computer_config/bin/cc-rightafterboot-thiscomputer
- Add more VNC desktops:
${HOME}/computer_config/bin/cc-vncspawn
- Customize VNC desktop startups:
${HOME}/computer_config/bin/cc-vncpopulate-<X>
If cset set
yields any information, it has been run already.
If it has crashed / partially run / not sure, reboot and start over.
Script rts_start.sh
:
- Starts camera acquisition (can be achieved standalone with just
cam-iiwistart
) - Starts DM write (WARNING) on loopback (not real) hardware channel
- When ready, hop over to real DAC40:
bim188-hwint hw
(bim188-hwint lo
back to loopback) - Monitor loopback DAC40 packets on SHM
bim188_loopback
.
- When ready, hop over to real DAC40:
- Configures AO loops.
- Start RTS/OBCP net server.
Should be run only once after the rightafterboot.
A good idea if stuff starts going wrong is to patrol the various tmuxes and check stuff around the place is still running.
WARNING
Progressively porting 2021 scripts.
- Folder (on the PATH) for RTS scripts:
${HOME}/src/rts/bin
- Backup of 2021 scripts:
${HOME}/src/rts/bin_bak
Porting progressively:
-
tt_zero.py [all]
: reset TT command to 0V -
wtt_zero.py (0|5)
: set WTT to 5V (midrange, should always be there) or 0V (for power off only). -
bim_zero.py [all]
: set bimorph to 0V. If[all]
, zeroes all channels of DMcomb00. -
tt_flat.py
: loads latest ref in${HOME}/rts/conf/tt_flats/
and shows it on DM01 channels 00. -
bim_flat.py [sim]
: loads latest ref in${HOME}/rts/conf/bim_flats/
and shows it on DM00 or DM10 channels 00. -
tt_make_flat.py
: -
bim_make_flat.py [sim] [--noclear]
: Gets dm00disp or dm01disp (if[sim]
), saves to fits file, loads to dm0Xdisp00, clears the other channels (unless[--noclear]
).
See again: rts_start.md
1 DM unit = 10 V 1 TT unit = 1V 1 WTT unit = 1V
Best starting flat: -2 unit on all of BIM188.
Limits and safeties are:
- defined in
${HOME}/src/hardwaresecrets/interfaces/cw-nsl/dac40_safety.h
. - recompile
cd ${HOME}/src/hardwaresecrets/interfaces/cw-nsl; ./install.sh
- Re-run (tmux
fpdp_dm
). Dont forget to promote cset and RT priority.
DM viewer:
dm_displouf 00 --bim
Camera viewer:
apapane.py # Is thatapapa gonna work.
- Home
- Settings and common commands
- AO3K
- GLINT
- VAMPIRES
- PDI
- RTC
- Software
- Contributor