This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
|
development:dynamicobserving:mondump [2016/04/08 06:27] Jim Lovell |
development:dynamicobserving:mondump [2016/04/11 00:27] (current) Jim Lovell |
||
|---|---|---|---|
| Line 22: | Line 22: | ||
| - This directory contains the code and Makefile you need | - This directory contains the code and Makefile you need | ||
| - By default, the software is configured to send monitoring data to fourier.phys.utas.edu.au on a TCP socket connection on port 63000. If you want to change the destination or port number, edit the code in ''mdumpout.c'' and change the definition of ''portno'' and/or the server address on line 344 | - By default, the software is configured to send monitoring data to fourier.phys.utas.edu.au on a TCP socket connection on port 63000. If you want to change the destination or port number, edit the code in ''mdumpout.c'' and change the definition of ''portno'' and/or the server address on line 344 | ||
| + | - //You need to do this!:// The two-letter antenna ID is currently hard-wired in and is ''hb'' (Hobart 12m) by default. Edit ''mdumpout.c'' and change the line <code>strcat(outbuff, "info hb ");</code> Replace ''hb'' with your antenna's two-letter code. | ||
| - Now compile the software to create a binary called ''mondump'': | - Now compile the software to create a binary called ''mondump'': | ||
| - ''make'' | - ''make'' | ||
| Line 38: | Line 39: | ||
| - This directory contains the code and Makefile you need | - This directory contains the code and Makefile you need | ||
| - By default, the software is configured to send monitoring data to fourier.phys.utas.edu.au on a TCP socket connection on port 63000. If you want to change the destination or port number, edit the code in ''mdumpout.c'' and change the definition of ''portno'' and/or the server address on line 344 | - By default, the software is configured to send monitoring data to fourier.phys.utas.edu.au on a TCP socket connection on port 63000. If you want to change the destination or port number, edit the code in ''mdumpout.c'' and change the definition of ''portno'' and/or the server address on line 344 | ||
| + | - //You need to do this!:// The two-letter antenna ID is currently hard-wired in and is ''hb'' (Hobart 12m) by default. Edit ''mdumpout.c'' and change the line <code>strcat(outbuff, "info hb ");</code> Replace ''hb'' with your antenna's two-letter code. | ||
| + | |||
| - Now compile the software to create a binary called ''mondump'': | - Now compile the software to create a binary called ''mondump'': | ||
| - ''make'' | - ''make'' | ||
| Line 44: | Line 47: | ||
| <code>/usr2/st/mondump_nost/mondump</code> | <code>/usr2/st/mondump_nost/mondump</code> | ||
| - | |||