CRaTER EGSE Software

CRaTER GSE Software

Basic Programs

CArchive
Acquires (full) data stream and writes an LRO-standard archive file
CCmd
Opens an instrument command window
CComment Reads ASCII text in from STDIN or UDP socket and generates CRaTER-std telemetry packets
CData
Acquires a data stream and pipes same to STDOUT in ASCII-taged format
CHouse
Opens an instrument analog housekeeping window
CStatistics Calculates means, maxima, minima, and rms noise values on primary science data
CPlot
Plot engineering values as a function of time
CPrint Prints a single page of data
CQuery
Displays current data flow connections to the EGSE
CReview
Opens a set of windows to review archived data
CWeb
Generates web pages displaying Housekeeping and Secondary Science data
SData
Retrieve data from the SOC Level 2 Archive
SPlot
Plot engineering values as function of time from data generated by SData
Verify
General script for exhaustive verification of SSR files
bcmd
Takes ASCII commands from STDIN and generates CCSDS command packets on socket
browse
Opens a set of data files for browsing
calcurve
Converts housekeeping values in rtlm -a format to engineering units
command.tcl
Instument command window
house.tcl
Displays analog housekeeping
rtlm
Receives CCSDS telemetry packets on socket and decodes them into ASCII on STDOUT


 

Functional Test Support -- these require X-Windows support

ar_cobalt
A wrapper to analyze an archived Co-60 test  (SSR data)
ar_coinc
Check the resulets of an archived  coincidence mask test  (SSR data)
ar_limits
Check the red/yellow limits of an archived data set  (SSR data)
ar_singles
Check the singles rates from an archived data set  (SSR data)
ar_zero
A wrapper to analyze an archived zero offset test from SSR data
emi_noise
A small filter to screen internal cal signals for excess rms noise
lf_cobalt A wrapper to run a Co-60 test and plot the results -- part of Long Form Functional
lf_ecal Gathers data from internal calibration source sweep -- part of Long Form Functional
lf_mask

Tests coincidence mask and detector processing select matrix -- part of Long Form Functional

lf_zero Calculates zero offset of each detector processing chain -- part of Long Form Functional
sf_facility A wrapper to display facility data logger output -- invokes CComment | rtlm
sf_log A wrapper to run a data archive process -- invokes CArchive -- part of Short Form Functional
sf_noise A wrapper to display primary science statistics -- invokes CStatistics -- part of Short Form Functional

 

Utility Programs

house-packet
primary-packet
ss-packet
Three names for the same program; using STDIN generate pseudo-telemetry packets for testing purposes
c_graph Graphs data from the c_hist program
c_grep Extracts event data matching coincidence mask and amplitude discriminator settings
c_hist Generates six histograms of event data, one per detector
c_monitor
Generates an HTML page based on rtlm|calcurve data
c_plot
Plots mnemonic value versus time
c_zip Concatenates and compresses multiple archive files
craterCheck
A specialized packet checking program for validating data from the instrument in test mode
facility Takes input tag,value pairs and reformats
find_omnibox Searches the local network for the OmniBusBox (aka EGSE) and reports the IP address of same
Limits
A simple HTML file with red/yellow limits for housekeeping parameters
o_acquire
Collects engineering data from a pdist pipe into the RRD data files
o_display
Generate plots of data contained in the RRD data files
o_setup
Setup an set of RRD data files for tracking engineering data
pdist
Takes CCSDS packet stream on single input socket and distributes to multiple hosts, filtering by Application ID.  Use "tincan" to set it up
rtlm-x
A fast version of rtlm for doing a hex dump of the data packets
statistics
Receives primary science telemetry packets on socket and generate noise statistics
tincan
Talks to pdist to retrieve a packet stream containing selected App Ids.
tsv
Generate list of tab-separated-values from rtlm output
verify
A general purpose CCSDS packet verification and consistency checker

 

Incantations

For the following examples, we assume the programs have been downloaded to a single, common directory.  We require Perl 5 and Tcl/Tk 8 to execute these scripts.  The C* commands handle all the details of connecting to the EGSE, setting up the pipelines, etc.  In the Windows world one has to start with tincan to allocate a data stream for each application and move on from there.

Solaris
Mac OS X
CCmd &
CHouse &
Windows
Commands:
rtlm.pl -p 12410 -a -c -t | calcurve.pl | wish command.tcl -- -s | bcmd.pl -m egse_machine_name
Housekeeping:
rtlm.pl -p 12402 -a -t | calcurve.pl | wish house.tcl



Executable Programs -- all in Perl except those with .c or .tcl suffix

[ICO]NameLast modifiedSizeDescription

[   ]Parent Directory   -  
[DIR]MANPAGE/ 2009-07-22 14:58 -  
[DIR]etc/ 2010-08-11 14:41 -  
[DIR]omnibusbox/ 2007-03-27 12:41 -  
[   ]CArchive 2008-12-11 14:56 18K 
[   ]CCmd 2008-12-11 14:56 18K 
[   ]CCmd.100 2008-12-11 14:56 18K 
[   ]CCmd.plain 2008-12-12 09:24 18K 
[   ]CComment 2007-08-29 09:11 15K 
[   ]CData 2008-12-11 14:56 18K 
[   ]CHouse 2008-12-11 14:56 18K 
[   ]CPlot 2009-04-22 09:02 5.1K 
[   ]CPrint 2008-12-11 14:56 18K 
[   ]CQuery 2008-12-11 14:56 18K 
[   ]CReview 2008-10-24 09:26 6.7K 
[   ]CStatistics 2008-12-11 14:56 18K 
[   ]CWeb 2008-12-11 14:56 18K 
[TXT]Limits-prior.htm 2009-06-20 07:14 13K 
[TXT]Limits.htm 2009-06-22 10:21 13K 
[   ]SData 2010-06-10 15:13 22K 
[TXT]SOC_Data_Writer.html 2010-06-15 08:45 18K 
[   ]SPlot 2009-04-22 09:02 5.1K 
[   ]Verify 2008-11-24 13:43 3.7K 
[   ]Verify.pod 2008-09-12 08:54 2.1K 
[   ]ar_coinc_check 2008-09-12 15:45 12K 
[   ]ar_limits_check 2008-12-13 09:16 13K 
[   ]ar_singles_check 2008-09-30 10:37 6.7K 
[   ]ar_trend_graph 2008-09-12 15:54 11K 
[   ]ar_zero 2008-06-27 09:20 9.7K 
[   ]bcmd 2009-02-23 08:53 28K 
[   ]browse 2009-03-27 09:32 36K 
[   ]c_graph 2008-11-04 11:06 14K 
[   ]c_grep 2007-04-27 15:30 6.0K 
[   ]c_hist 2007-05-04 09:47 6.9K 
[   ]c_monitor 2011-01-14 13:05 16K 
[   ]c_plot 2008-11-04 11:06 14K 
[   ]c_zip 2008-10-02 13:42 6.0K 
[   ]calcurve 2008-10-22 09:51 20K 
[   ]command-gmt.tcl 2008-08-29 16:22 119K 
[   ]command.pod 2007-04-17 11:03 2.1K 
[   ]command.tcl 2008-09-15 14:13 119K 
[   ]crater-gse.tcl 2006-08-23 16:13 28K 
[   ]craterCheck 2007-06-24 20:38 17K 
[TXT]craterCheck.c 2007-06-25 19:17 14K 
[   ]craterCheck.mac 2007-06-25 09:43 47K 
[   ]craterCtl 2006-08-23 16:13 1.5K 
[   ]emi_noise_filter 2008-11-06 13:45 3.9K 
[   ]facility 2007-08-30 09:24 3.0K 
[   ]find_omnibox 2009-04-03 13:08 3.4K 
[   ]house-packet.pl 2006-09-12 14:53 19K 
[   ]house.pod 2007-04-17 11:03 1.7K 
[   ]house.tcl 2008-07-28 15:17 93K 
[   ]lf_cobalt 2008-09-12 15:43 8.5K 
[   ]lf_ecal 2007-09-13 10:52 3.2K 
[   ]lf_graph 2007-05-04 08:50 13K 
[   ]lf_hist 2007-04-26 15:54 6.9K 
[   ]lf_mask 2007-11-15 16:51 5.9K 
[   ]lf_revs 2007-09-17 16:54 455  
[   ]lf_zero 2008-04-09 14:55 4.0K 
[TXT]monitor-soc.html 2012-03-01 10:21 6.3K 
[TXT]monitor.html 2008-08-21 15:56 6.3K 
[   ]o_L2_display 2009-05-12 14:01 13K 
[   ]o_L2_setup 2009-06-22 15:30 7.7K 
[   ]o_acquire 2009-07-22 15:00 15K 
[   ]o_display 2009-07-22 16:07 14K 
[   ]o_setup 2009-06-23 10:59 7.8K 
[   ]pdist 2008-06-26 11:34 31K 
[   ]pdist-rt 2007-12-08 15:31 30K 
[TXT]plots.html 2009-08-28 11:18 2.3K 
[TXT]plots_L2.html 2009-09-06 14:04 1.7K 
[   ]primary-packet.pl 2006-09-12 14:53 19K 
[   ]requestlm 2007-05-30 11:51 1.3K 
[   ]rrdtool 2007-07-10 09:52 5.9K 
[IMG]rrdtool-logo.png 2009-08-28 11:17 1.4K 
[   ]rtlm 2009-04-22 09:32 42K 
[   ]rtlm-x 2007-06-24 19:57 7.5K 
[TXT]rtlm-x.c 2007-06-25 19:18 2.4K 
[   ]rtlm-x.mac 2007-06-25 16:02 34K 
[   ]sf_facility 2010-03-30 09:06 4.4K 
[   ]sf_log 2010-03-30 09:06 4.4K 
[   ]sf_noise 2010-03-30 09:06 4.4K 
[   ]socreport.cgi 2009-05-11 09:26 9.3K 
[   ]ss-packet.pl 2006-09-12 14:53 19K 
[   ]startGse 2006-12-14 16:48 1.5K 
[   ]startGse.tcl 2006-12-14 16:25 32K 
[   ]statistics 2008-09-12 15:38 15K 
[   ]tincan 2007-08-17 09:32 4.7K 
[   ]tsv 2008-11-24 13:49 15K 
[   ]verify 2008-09-12 13:36 18K 
[   ]version_page 2007-09-24 11:34 432  
[   ]w_monitor 2008-04-18 16:04 12K