SOI-MDI technical mail message # 1212 on Sat Dec 2 05:29:41 GMT 1995 Mail from: morrison@sxt3.space.lockheed.com Subject: 3rd Rev of Health Monitoring Original Date: Fri, 1 Dec 1995 21:25:59 -0800 --------------- Hello All, Third release of the how-to for looking at the housekeeping. There are some comments/recommendations for using the accounts on mdisas and mdicmd. I've also included a summary of the screen numbers. The unix command "shscreen" provides a similar list in a different format. Mons 1-Dec-95 (Ver 3.0) --------------------------------------------------------------- Accounts --------------------------------------------------------------- * Use "health" account or personal accounts when logging in remotely A new account with username "health" was created on mdisas and mdicmd with the same password as "mdi" (that will change shortly). The health account should be used when monitoring MDI from LPARL or Stanford. * You can also use your presonal accounts to do the monitoring. Accounts have been set up for the following people with the initial password set to the same as "mdi" (change your password when you log in please). Account names are: akin springer kelly mathur zfrank smorr mitchell edwards rehse levay tarbell wolfson --------------------------------------------------------------- Summary Of Useful EGSE Routines --------------------------------------------------------------- DOC_LIBRARY - This standard IDL routine allows you to see the header of IDL routines for sample calling sequences and documentation. To see the READ_MDI documentation, type: IDL> doc_library, 'read_mdi The routine DOC_LIBRARY2 shows the documenation and the source code. SET_PRINTER - This routine will allow you to redirect your output to a different printer or node. It requires that you have a .rhost file if printing remotely. MDI_DISPLAY - This routine displays high rate images in real time. It displays the Dynamics mode cropped images properly. Usage: IDL> mdi_display MON_SCI5K - This routine displays the science data segment headers, the DEP dumps, IP dumps and command echo of the real time telemetry stream. A copy of the results which come to the screen is also written to a file in $MDI_MON5K_DIR Usage: IDL> mon_sci5k REDO_MON_SCI5K - Has the same functionality as MON_SCI5K but runs from the SCI5K data file instead of running from the real time shared memory data stream Usage: IDL> redo_mon_sci5k, '24-nov-95', '24-nov-95 12:00' QUICK_HKPLOT - This routine plots a variety of the analog mnemonics available. There are many options and capabilities and it will be expanded as new needs/desires arise. There is a "style" code number to say what format to display. The details on the routine are shown below along with the documentation header. Usage: IDL> quick_hkplot IDL> quick_hkplot, '14-jun 6:30','14-jun 8:00',style=-10,/hc IDL> quick_hkplot, style=-1 IDL> quick_hkplot, style=0, mnem=['mipwa', 'mipwb'], yrange=[1, 1.2] IDL> quick_hkplot, sttim, entim, win=win, style=style, mnem=mnem IDL> quick_hkplot, style=10, /help XHKPLOT - This routine will allow the plotting of the housekeeping data. You can select mnemonics to plot, time ranges and plotting ranges by several methods. You can make a print file of the information for a given time. It is a widget procedure. Usage: IDL> xhkplot XDISP_TFR - This routine allows a user to select a telemetry (.tfr) file and which image to display Usage: IDL> xdisp_tfr XDISP_SCI5K - This routine allows a user to run the Stanford extract DPC program on a 5K data file and to create the FITS files for those data products. NOTE: Not available at EOF as of 22-Nov-95 Usage: IDL> xdisp_sci5k XREAD_HIST - This routine allows the user to call the egse program read_hist through IDL and to do filtering (like grep) and to print the info out. It is a widget procedure. Make sure the "EOF Format Files" button is selected. Usage: IDL> xread_hist NOTES: Be sure to hit after entering any text items in the widget window, and to select the "EOF Format" option and "Display All messages" options. XWRITE_HIST - This routine allows for the convenient widget interface for logging information into the EGSE history file. It also maintains a separate ASCII log of information which is logged. CAUTION: In one test, the process hung up and needed to be killed and restarted. I think the problem may have been in the command verification for "egse_cmd". Usage: IDL> xwrite_hist XCHECKIP - This routine allows you to run the IP checking software on a telemetry file. It will automatically check to see if any IP check datasets exist in the data file. Usage: IDL> xcheckip IPREG_VALS - This routine reads a database and reads a 160K IP register dump data product and produces a list of the values for the registers which have been assigned labels. You may need to run UP_IPREG_LIST first with a new IDL session. If no file name is passed, it uses the latest file in the sci160k directory. Usage: IDL> ipreg_vals IDL> ipreg_vals, '/md65/log/sci160k/950909_021552' IP_QUE_DMPVER - This routine would compare a .src queue upload file with a queue dump to make sure it was loaded properly. Usage: IDL> ip_que_dmpver, '12-Jun-95 18:24:32', 'dlimg.src' MK_MDI_IAP - Makes an MDI Instrument Activity Plan (IAP) Usage: IDL> mk_mdi_iap, '1-May-95' KPMAG2MDI - List the Kitt Peak magnetograms available, FTP the ones selected and make them look like MDI summary data products. MK_LIST_LOAD - Make a load file from a list (the contents of the list have to be modified to reflect the location where the list is placed. Usage: IDL> mk_list_load, '0800'x, 'loi3.src', $ infil='/mdisw/dbase/ops/lists/list_loi3.fits' --------------------------------------------------------------- Details about using X-Terminals and Screens --------------------------------------------------------------- A. Setting an x-terminal to use mdisas as the display manager 1. Press the "setup" button on the keyboard 2. Click on "Xserver Parameters" 3. Click on the address in "Display Manager Server" 4. Type in: 150.144.28.167 5. Double click on "Restart Session" If you have problems, you may have to do the following steps: 1. Press the "setup" button on the keyboard 2. Click on "Protocol Parameters" 3. Click on the address in "Default Gateway" 4. Type in: 192.68.162.1 B. If you telnet into mdisas, you can get the toolchest by: 1. Set up the DISPLAY environment variable. To see what it is set to, type: printenv DISPLAY A sample setting command is: setenv DISPLAY sxt3.space.lockheed.com:0 2. At the unix prompt, type: mdi_tchest This should result in a tool chest and the MDI_EGSE options C. If you want to use a dumb terminal to display the EGSE screens, you may be required to type: setenv TERM vt100 at the unix prompt. You can use a command of the following format (from the unix prompt) screen 11 -t where 11 is the screen number you want to see. The screen definitions are in the files in the /mdisw/egse_v4.1/screen_lib directory. The "-t" is to tell it to go to the terminal instead of creating a new X window. To exit, type C (do not type ANYTHING else or you may lock that terminal up). If you are running on an X-terminal but had telnet into mdisas, then you could simply type: screen 11 after you had set the DISPLAY properly. D. If you wish to use QUICK_HKPLOT or some of the other IDL routines to plot to a dumb terminal with a tektronics emulator, type the following after entering IDL. set_plot, 'tek' --------------------------------------------------------------- Screens --------------------------------------------------------------- 1 RAW_MDI_HK_1 2 RAW_MDI_HK_2 3 RAW_INTSIM_HK 4 POWER 5 MECHANISMS 6 THERMAL 7 SPACECRAFT_HK 8 LIMB_TRACKER 9 Sequence-DEP-Image_Processor__STATUS 10 MECHANISMS_II 11 TEMPERATURES 12 SVM_HK_2 13 RAW_SVM_HK_1 14 RAW_SVM_HK_2 15 RAW_SVM_HK_4 19 DEP 20 SPACECRAFT_CCS 21 RAW_EXP_HK 55 MECHANISMS 61 IP_Status_____DEP_Status 62 DEP_Sequence_Status_____Register_Status 66 Sequence-DEP-Image_Processor__STATUS 90 Sequence-DEP-Image_Processor__STATUS 91 Sequence-DEP-Image_Processor__STATUS 92 Sequence-DEP-Image_Processor__STATUS 98 DEP --------------------------------------------------------------- More Details about QUICK_HKPLOT --------------------------------------------------------------- ;NAME: ; quick_hkplot ;PURPOSE: ; To read a list of mnemonics and plot them ;METHOD: ; If no start/end date/times are passed in, then the current time is ; used and the default window is 6 hours. ;SAMPLE CALLING SEQUENCES: ; quick_hkplot, style=1 ; quick_hkplot, '14-jun 6:30','14-jun 8:00',style=-10,/hc ; quick_hkplot, style=-1 ; quick_hkplot, style=0, mnem=['mipwa', 'mipwb'], yrange=[1, 1.2] ; quick_hkplot, sttim, entim, win=win, style=style, mnem=mnem ; quick_hkplot, style=1, /contin ; quick_hkplot,'30-nov-95 20:12',style=1, /text ;INPUT: ; sttim - starting time ; entim - ending time ;OPTIONAL KEYWORD INPUT: ; win - the window of time to use when no start/end times are specified ; style - the style option (an integer value) ; mnem - the mnemonics to plot (manually defined) ; yrange - Force the plotting range for the y axis ; exp_pkt - Force it to use the emergency low rate experiment packets ; instead of the MDI packets (sc1,2,4 are still available) ; continous - Loop through continuously ; wait - How much time to wait between real time plotting. Default ; is 60 seconds. ; text - If set, then show the mnemonic values in ASCII form to the ; IDL terminal ; outfil - If /TEXT option is used, the results can also be saved to ; a file. ;DETAILS ; The following style options are available ; 1 - ALL temperatures ; 2 = optics temperatures ; 3 = oven temperatures ; 4 = camera temperatures ; 5 = structural temperatures ; 6 = outside MLI and front window temps ; 7 = electronics ; -1 = 6 panel plots with styles 2,3,4,5,6 ; ; 10 = ALL voltages ; 11 = +5 voltages ; 12 = +15 voltages ; 13 = -15 voltages ; 14 = +30 and +75 volts ; -10 = 4 panel plot with styles 11,12,13,14 ; ; 20 = All Currents ;HISTORY: ; Written 21-Nov-95 by M.Morrison ; 29-Nov-95 (MDM) - Added /EXP_PKT keyword option and /QDEBUG ; 30-Nov-95 (MDM) - Added /continuous switch and WAIT option ; - Modified to purge out mnemonics which are not ; available when /EXP_PKT option is used ; - Added currents style option ; - Added /TEXT and OUTFIL options ;- ---------------------------------------------------------------------- IDL> quick_hkplot,'14-jun-95 7:00',style=10,/text Reading: m+5ae m+15ae m+75lt m+15htr m+15mtr m+5ip m+5cm m+15cm m+30cm m+5pc1n m+5pc1r m+15pc1n m+15pc1r m+5pc2n m+5pc2r m+15pc2n m+15pc2r m-15ae m-15cm m-15pc1n m-15pc1r m-15pc2n m-15pc2r Time range: 14-JUN-95 07:00:00 to 14-JUN-95 07:00:15 % Compiled module: MS_187082906013. % Compiled module: MS_187082907014. HKPLOT_INFO Print Option Ver 1.0 Program Run: 1-Dec-1995 02:28:27.00 ------- HK Values for 14-JUN-95 06:59:48-------------------- 0 0 0 M+5AE == App. Elec +5 volts; Cnv2 5.2770588 0 1 1 M+15AE == App. Elec +15 volts; Cnv2 14.567200 0 2 2 M+75LT == Limb Tracker +75 volts; Cnv2 74.588235 0 3 3 M+15HTR == Heater +15 volts; Cnv2 17.067600 0 4 4 M+15MTR == Motor +15 volts; Cnv2 17.424800 0 5 5 M+5IP == IP AND TLM +5 volts; Cnv1 4.8854000 0 6 6 M+5CM == CCD Camera +5 volts; Cnv1 5.3551000 0 7 7 M+15CM == CCD Camera +15 volts; Cnv1 15.273500 0 8 8 M+30CM == CCD Camera +30 volts;Cnv1 33.124615 0 9 9 M-15AE == App. Elec -15 volts; Cnv2 -14.539133 0 10 10 M-15CM == CCD Camera -15 volts; Cnv1 -15.143571 ................. for 14-JUN-95 07:00:00.................... 1 0 11 M+5PC1N == Converter 1 +5 Volts 5.3611111 1 1 12 M+5PC1R == Converter 1 +5 Volts 5.3611111 1 2 13 M+15PC1N == Converter 1 +15 Volts 15.240000 1 3 14 M+15PC1R == Converter 1 +15 Volts 15.240000 1 4 15 M+5PC2N == Converter 2 +5 Volts 5.3333333 1 5 16 M+5PC2R == Converter 2 +5 Volts 5.3333333 1 6 17 M+15PC2N == Converter 2 +15 Volts 14.400000 1 7 18 M+15PC2R == Converter 2 +15 Volts 14.400000 1 8 19 M-15PC1N == Converter 1 -15 Volts -14.971429 1 9 20 M-15PC1R == Converter 1 -15 Volts -14.971429 1 10 21 M-15PC2N == Converter 2 -15 Volts -14.529412 1 11 22 M-15PC2R == Converter 2 -15 Volts -14.529412 ------- HK Values for 14-JUN-95 07:00:03-------------------- 0 0 0 M+5AE == App. Elec +5 volts; Cnv2 5.2527059 0 1 1 M+15AE == App. Elec +15 volts; Cnv2 14.567200 0 2 2 M+75LT == Limb Tracker +75 volts; Cnv2 74.588235 0 3 3 M+15HTR == Heater +15 volts; Cnv2 17.246200 0 4 4 M+15MTR == Motor +15 volts; Cnv2 17.424800 0 5 5 M+5IP == IP AND TLM +5 volts; Cnv1 4.8427000 0 6 6 M+5CM == CCD Camera +5 volts; Cnv1 5.3551000 0 7 7 M+15CM == CCD Camera +15 volts; Cnv1 15.273500 0 8 8 M+30CM == CCD Camera +30 volts;Cnv1 32.959231 0 9 9 M-15AE == App. Elec -15 volts; Cnv2 -14.539133 0 10 10 M-15CM == CCD Camera -15 volts; Cnv1 -15.143571 ................. for 14-JUN-95 07:00:00.................... 1 0 11 M+5PC1N == Converter 1 +5 Volts 5.3611111 1 1 12 M+5PC1R == Converter 1 +5 Volts 5.3611111 1 2 13 M+15PC1N == Converter 1 +15 Volts 15.240000 1 3 14 M+15PC1R == Converter 1 +15 Volts 15.240000 1 4 15 M+5PC2N == Converter 2 +5 Volts 5.3333333 1 5 16 M+5PC2R == Converter 2 +5 Volts 5.3333333 1 6 17 M+15PC2N == Converter 2 +15 Volts 14.400000 1 7 18 M+15PC2R == Converter 2 +15 Volts 14.400000 1 8 19 M-15PC1N == Converter 1 -15 Volts -14.971429 1 9 20 M-15PC1R == Converter 1 -15 Volts -14.971429 1 10 21 M-15PC2N == Converter 2 -15 Volts -14.529412 1 11 22 M-15PC2R == Converter 2 -15 Volts -14.529412 ---------------------------------------------------------------------- IDL> for i=2,7 do quick_hkplot,style=i,/help Mnemonics to be plotted for STYLE = 2 mtopts1 A Front Window Mounting Ring MDI 22/ff 8 mtopts2 A Primary Lens MDI 23/ff 8 mtopts3 A Secondary Lens MDI 24/ff 8 qtopts1n A OP Radiator SC2 69/ff 8 qtopts2n A OP Structure SC4 145/ff 8 Mnemonics to be plotted for STYLE = 3 mtopts4 A Filter Oven MDI 25/ff 8 mtopts5 A Filter Oven MDI 26/ff 8 mtsqopt4 A Oven Temperature MDI 271/ff 8 mtsqopt5 A Oven Temperature MDI 272/ff 8 qtopts3n A Filter Oven SC2 102/ff 8 Mnemonics to be plotted for STYLE = 4 mtopts6 A CCD Strap/Header (P) MDI 27/ff 8 mtopts8 A OP Lid Near CCD Radiator (P) MDI 29/ff 8 mtsqopt6 A CCD Temp MDI 273/ff 8 qtopts4n A CCD Radiator SC4 106/ff 8 Mnemonics to be plotted for STYLE = 5 mtopts7 A CCD Electronics MDI 28/ff 8 mtopts9 A Rear Leg/Struct Interface MDI 30/ff 8 mtopts10 A PA Calib Wheel MDI 31/ff 8 mtopts12 A Wire Harness/OP Struct MDI 33/ff 8 mtopts13 A OP Struct Inside Top MDI 34/ff 8 mtopts14 A OP Struct Oven Ctrl MDI 35/ff 8 mtopts15 A OP Struct Inside Front MDI 36/ff 8 mtopts16 A Beam Dist. Housing MDI 37/ff 8 mtepts1 A Outside Structure MDI 38/ff 8 mtepts2 A Redundant Converter 2 MDI 39/ff 8 mtepts3 A Primary Converter 2 MDI 40/ff 8 mtepts4 A Outside Side Radiator MDI 41/ff 8 Mnemonics to be plotted for STYLE = 6 mtopts11 A Outside MLI MDI 32/ff 8 mtsqopt1 A Front Window Temp MDI 270/ff 8 Mnemonics to be plotted for STYLE = 7 mtopts7 A CCD Electronics MDI 28/ff 8 IDL> for i=11,14 do quick_hkplot,style=i,/help Mnemonics to be plotted for STYLE = 11 m+5ae A App. Elec +5 volts; Cnv2 MDI 2/ff 8 m+5ip A IP AND TLM +5 volts; Cnv1 MDI 8/ff 8 m+5cm A CCD Camera +5 volts; Cnv1 MDI 9/ff 8 m+5pc1n A Converter 1 +5 Volts SC2 14/ff 8 m+5pc1r A Converter 1 +5 Volts SC2 4/ff 8 m+5pc2n A Converter 2 +5 Volts SC2 17/ff 8 m+5pc2r A Converter 2 +5 Volts SC2 7/ff 8 Mnemonics to be plotted for STYLE = 12 m+15ae A App. Elec +15 volts; Cnv2 MDI 3/ff 8 m+15htr A Heater +15 volts; Cnv2 MDI 6/ff 8 m+15mtr A Motor +15 volts; Cnv2 MDI 7/ff 8 m+15cm A CCD Camera +15 volts; Cnv1 MDI 10/ff 8 m+15pc1n A Converter 1 +15 Volts SC2 15/ff 8 m+15pc1r A Converter 1 +15 Volts SC2 5/ff 8 m+15pc2n A Converter 2 +15 Volts SC2 18/ff 8 m+15pc2r A Converter 2 +15 Volts SC2 8/ff 8 Mnemonics to be plotted for STYLE = 13 m-15ae A App. Elec -15 volts; Cnv2 MDI 4/ff 8 m-15cm A CCD Camera -15 volts; Cnv1 MDI 11/ff 8 m-15pc1n A Converter 1 -15 Volts SC2 16/ff 8 m-15pc1r A Converter 1 -15 Volts SC2 6/ff 8 m-15pc2n A Converter 2 -15 Volts SC2 19/ff 8 m-15pc2r A Converter 2 -15 Volts SC2 9/ff 8 Mnemonics to be plotted for STYLE = 14 m+75lt A Limb Tracker +75 volts; Cnv2 MDI 5/ff 8 m+30cm A CCD Camera +30 volts;Cnv1 MDI 12/ff 8 IDL> quick_hkplot,style=20,/help Mnemonics to be plotted for STYLE = 20 miaemtr A Motor Current Monitor MDI 47/ff 8 10MinSum mipwa A S/C Bus A Current SC1 148/ff 8 TBD ????? mipwb A S/C Bus B Current SC1 106/ff 8 TBD ????? qim3 A S/C MDI Sub Htr3 Current SC1 123/ff 8 TBD ?????