autorestart: 1.9.0.2 keyword substitution: kv total revisions: 121; selected revisions: 121 description: ---------------------------- revision 1.62 date: 2012-08-01 12:25:31 +1000; author: phi196; state: Exp; lines: +44 -7; commitid: 8CsijDYfLoUlSMew; Added 10bit support ---------------------------- revision 1.61 date: 2012-03-09 15:31:59 +1100; author: phi196; state: Exp; lines: +4 -1; commitid: YaE8u3oGhedIeaWv; Work with large files and remote recording ---------------------------- revision 1.60 date: 2012-03-05 09:53:56 +1100; author: phi196; state: Exp; lines: +30 -2; commitid: 7dqWXV2vszUHuCVv; Simulate 1PPS missing ---------------------------- revision 1.59 date: 2012-02-28 14:00:43 +1100; author: phi196; state: Exp; lines: +37 -19; commitid: GuEevWnKTNxk3SUv; Large file tweaks ---------------------------- revision 1.58 date: 2012-01-20 11:36:26 +1100; author: phi196; state: Exp; lines: +8 -1; commitid: DNd99rlYzYsyvQPv; Added large file support ---------------------------- revision 1.57 date: 2011-10-28 14:29:49 +1100; author: phi196; state: Exp; lines: +55 -15; Add initial 32bit/16 channel support for sampler stats ---------------------------- revision 1.56 date: 2011-06-08 09:33:49 +1000; author: phi196; state: Exp; lines: +59 -3; Invert option ---------------------------- revision 1.55 date: 2010-04-01 14:13:45 +1100; author: phi196; state: Exp; lines: +10 -1; Minor memory leak on exit ---------------------------- revision 1.54 date: 2009-10-21 09:50:45 +1100; author: phi196; state: Exp; lines: +4 -1; Minor bug with 64 MHz sampler stats ---------------------------- revision 1.53 date: 2009-05-28 14:30:52 +1000; author: phi196; state: Exp; lines: +202 -4; Merge with curtin branch ---------------------------- revision 1.52 date: 2009-03-26 15:02:00 +1100; author: phi196; state: Exp; lines: +10 -10; Updated ipd handling ---------------------------- revision 1.51 date: 2009-01-14 21:54:58 +1100; author: phi196; state: Exp; lines: +13 -6; branches: 1.51.2; Actually add ipd option ---------------------------- revision 1.50 date: 2008-12-18 23:47:53 +1100; author: phi196; state: Exp; lines: +9 -3; Fix CRC problem(?) ---------------------------- revision 1.49 date: 2008-12-15 21:53:56 +1100; author: phi196; state: Exp; lines: +41 -1; Added ipd option and startup sleep ---------------------------- revision 1.48 date: 2008-10-24 11:24:49 +1100; author: phi196; state: Exp; lines: +5 -3; Change default port ---------------------------- revision 1.47 date: 2008-07-04 16:06:45 +1000; author: phi196; state: Exp; lines: +5 -2; branches: 1.47.2; 1.47.4; Fix potential error in UDP mtu check ---------------------------- revision 1.46 date: 2008-05-19 12:26:45 +1000; author: phi196; state: Exp; lines: +16 -12; Was not updating MJD for mark5b modes ---------------------------- revision 1.45 date: 2008-05-13 14:48:02 +1000; author: phi196; state: Exp; lines: +9 -6; fixed xxooooxx and ooxxxxoo modes ---------------------------- revision 1.44 date: 2008-05-09 10:11:54 +1000; author: phi196; state: Exp; lines: +25 -8; Generalise split data a little for 256 Mbps modes ---------------------------- revision 1.43 date: 2008-04-18 16:23:30 +1000; author: phi196; state: Exp; lines: +26 -20; Fix UDP bug. Allow TCP windowto not be set ---------------------------- revision 1.42 date: 2008-03-28 19:17:56 +1100; author: phi196; state: Exp; lines: +21 -3; BUG with PPS skip fixed for net2 case. Added port2 option ---------------------------- revision 1.41 date: 2008-03-25 11:36:09 +1100; author: phi196; state: Exp; lines: +930 -403; Merged from UDP branch ---------------------------- revision 1.40 date: 2007-09-11 06:43:12 +1000; author: phi196; state: Exp; lines: +7 -3; Allow non-integer bandwidth ---------------------------- revision 1.39 date: 2007-05-03 11:12:42 +1000; author: phi196; state: Exp; lines: +37 -22; branches: 1.39.4; 1.39.6; Cleaned up 1sec offset ---------------------------- revision 1.38 date: 2007-05-01 16:10:11 +1000; author: phi196; state: Exp; lines: +19 -2; 1 sec offset debugging ---------------------------- revision 1.37 date: 2007-02-28 10:36:03 +1100; author: phi196; state: Exp; lines: +9 -1; Fixed options ---------------------------- revision 1.36 date: 2007-01-02 15:58:06 +1100; author: phi196; state: Exp; lines: +27 -3; Added long options ---------------------------- revision 1.35 date: 2007-01-02 15:19:35 +1100; author: phi196; state: Exp; lines: +167 -27; Print the accumulated stats ---------------------------- revision 1.34 date: 2006-12-21 11:04:30 +1100; author: phi196; state: Exp; lines: +19 -13; Couple of minor bugs ---------------------------- revision 1.33 date: 2006-12-13 15:03:51 +1100; author: phi196; state: Exp; lines: +334 -225; Add check of bigbuffer usage and time offset to force restart and initial stats calculation ---------------------------- revision 1.32 date: 2006-12-07 15:20:17 +1100; author: phi196; state: Exp; lines: +83 -86; Dead reckon time from initial start. Use time_t as start epoch rather than struct tm. Force gmt as time standard rather than odd mix of local and UT ---------------------------- revision 1.31 date: 2006-12-05 17:00:45 +1100; author: phi196; state: Exp; lines: +4 -1; Bug in figuring out how longto wait for round starttime ---------------------------- revision 1.30 date: 2006-12-05 16:43:05 +1100; author: phi196; state: Exp; lines: +69 -23; Add option to force start in integration boundary. Clean up usage of waituntil call to avoid possible race conditions ---------------------------- revision 1.29 date: 2006-12-05 14:35:50 +1100; author: phi196; state: Exp; lines: +65 -11; Added more compress modes ---------------------------- revision 1.28 date: 2006-12-05 14:19:18 +1100; author: phi196; state: Exp; lines: +336 -110; Merged from net branch. Added evlbi option ---------------------------- revision 1.27 date: 2006-08-21 11:56:29 +1000; author: phi196; state: Exp; lines: +4 -1; Update version number ---------------------------- revision 1.26 date: 2006-08-21 11:49:51 +1000; author: phi196; state: Exp; lines: +14 -1; Add channel 2+4 compression ---------------------------- revision 1.25 date: 2006-08-21 11:44:23 +1000; author: phi196; state: Exp; lines: +6 -0; Add sequence number ---------------------------- revision 1.24 date: 2006-08-01 21:25:58 +1000; author: phi196; state: Exp; lines: +4 -1; Minor update for vheader change ---------------------------- revision 1.23 date: 2006-07-11 14:24:39 +1000; author: phi196; state: Exp; lines: +4 -1; Added string access to time header ---------------------------- revision 1.22 date: 2006-05-30 17:23:34 +1000; author: phi196; state: Exp; lines: +35 -0; Added xo and ox compress mode ---------------------------- revision 1.21 date: 2006-03-09 13:48:14 +1100; author: phi196; state: Exp; lines: +8 -0; Fixed 64 MHz mode ---------------------------- revision 1.20 date: 2006-03-09 00:31:44 +1100; author: phi196; state: Exp; lines: +8 -0; Change number of channels based on mode ---------------------------- revision 1.19 date: 2006-03-06 23:35:38 +1100; author: phi196; state: Exp; lines: +13 -9; Problem setting time header ---------------------------- revision 1.18 date: 2006-02-10 21:16:41 +1100; author: phi196; state: Exp; lines: +46 -18; New header support ---------------------------- revision 1.17 date: 2005-12-23 11:21:33 +1100; author: phi196; state: Exp; lines: +52 -76; branches: 1.17.2; Minor bug with narrow bands. Check 1 PPS every second. Remove non-used header stuff. Save filenmes to shared memory. Minor clean ups ---------------------------- revision 1.16 date: 2005-10-27 14:21:52 +1000; author: phi196; state: Exp; lines: +33 -3; Check all bits for PPS marker for 16 and 32 bit modes ---------------------------- revision 1.15 date: 2005-09-29 11:35:49 +1000; author: phi196; state: Exp; lines: +4 -1; Pointer bug ---------------------------- revision 1.14 date: 2005-09-22 16:14:29 +1000; author: phi196; state: Exp; lines: +13 -2; Time interval cna be float and added (compile time) mode to turn off PSS check ---------------------------- revision 1.13 date: 2005-09-20 10:11:20 +1000; author: phi196; state: Exp; lines: +77 -72; Changed stderr to stdout and force stdout to line buffering (for disko) ---------------------------- revision 1.12 date: 2005-09-12 15:39:16 +1000; author: phi196; state: Exp; lines: +14 -0; Convert Zero's to Ohs and 1s to x ---------------------------- revision 1.11 date: 2005-05-09 16:53:22 +1000; author: phi196; state: Exp; lines: +3 -9; Clean up some debugging info ---------------------------- revision 1.10 date: 2005-04-14 14:47:47 +1000; author: phi196; state: Exp; lines: +175 -68; Added starttime option and autorestart ---------------------------- revision 1.9 date: 2005-03-29 10:22:45 +1000; author: phi196; state: Exp; lines: +72 -7; Added starttime option ---------------------------- revision 1.8 date: 2005-03-24 16:30:13 +1100; author: phi196; state: Exp; lines: +64 -84; Put compression code in own subroutine ---------------------------- revision 1.7 date: 2005-03-22 15:33:25 +1100; author: phi196; state: Exp; lines: +73 -45; Cleaned up code a little ready for auto-restart on 1PP slip ---------------------------- revision 1.6 date: 2005-03-15 16:42:32 +1100; author: phi196; state: Exp; lines: +14 -5; Added hours to -t option ---------------------------- revision 1.5 date: 2005-03-01 20:24:41 +1100; author: phi196; state: Exp; lines: +61 -93; Added autofile name(time), default vsib device and bigbuf usage ---------------------------- revision 1.4 date: 2005-02-24 10:29:46 +1100; author: wes128; state: Exp; lines: +30 -16; Added <16Mhz support for recording - changed variable rate to clockrate ---------------------------- revision 1.3 date: 2005-01-10 15:15:25 +1100; author: phi196; state: Exp; lines: +10 -6; Fixed 1PPS missing bug ---------------------------- revision 1.2 date: 2004-11-10 17:44:03 +1100; author: phi196; state: Exp; lines: +6 -2; Forced to write mode ---------------------------- revision 1.1 date: 2004-11-10 14:44:39 +1100; author: phi196; state: Exp; Changed name ---------------------------- revision 1.17.2.10 date: 2006-07-11 14:28:16 +1000; author: phi196; state: Exp; lines: +13 -12; Wait until next scan boundary if late starting timed start ---------------------------- revision 1.17.2.9 date: 2006-05-30 19:55:21 +1000; author: phi196; state: Exp; lines: +7 -2; Forgot about header size ---------------------------- revision 1.17.2.8 date: 2006-05-30 19:51:43 +1000; author: phi196; state: Exp; lines: +19 -15; Adjust filesize for compression modes ---------------------------- revision 1.17.2.7 date: 2006-05-30 19:20:48 +1000; author: phi196; state: Exp; lines: +15 -0; Added filename and filesize to network stream ---------------------------- revision 1.17.2.6 date: 2006-03-16 19:01:48 +1100; author: phi196; state: Exp; lines: +13 -4; Allow window size to be set ---------------------------- revision 1.17.2.5 date: 2006-03-14 21:54:36 +1100; author: phi196; state: Exp; lines: +8 -4; Set header time in net mode ---------------------------- revision 1.17.2.4 date: 2006-03-14 18:59:42 +1100; author: phi196; state: Exp; lines: +101 -34; Added header support ---------------------------- revision 1.17.2.3 date: 2006-03-13 00:05:38 +1100; author: phi196; state: Exp; lines: +4 -1; Larger window ---------------------------- revision 1.17.2.2 date: 2006-02-09 15:46:22 +1100; author: phi196; state: Exp; lines: +14 -1; Read remote hostname from command line ---------------------------- revision 1.17.2.1 date: 2006-02-09 09:38:09 +1100; author: phi196; state: Exp; lines: +216 -83; Initial TCP networking ---------------------------- revision 1.39.6.2 date: 2007-06-22 15:41:58 +1000; author: phi196; state: Exp; lines: +10 -3; Logic buf ---------------------------- revision 1.39.6.1 date: 2007-06-20 11:23:03 +1000; author: phi196; state: Exp; lines: +20 -5; Skip files when behind ---------------------------- revision 1.39.4.10 date: 2007-10-04 00:18:09 +1000; author: phi196; state: Exp; lines: +9 -1; Added dummy UDP optiion ---------------------------- revision 1.39.4.9 date: 2007-08-07 22:06:26 +1000; author: phi196; state: Exp; lines: +5 -2; branches: 1.39.4.9.2; Did not account for compression ---------------------------- revision 1.39.4.8 date: 2007-07-27 14:54:16 +1000; author: phi196; state: Exp; lines: +4 -1; Don't force mark5b ---------------------------- revision 1.39.4.7 date: 2007-07-26 23:37:08 +1000; author: phi196; state: Exp; lines: +10 -6; mjd fix ---------------------------- revision 1.39.4.6 date: 2007-07-26 23:21:53 +1000; author: phi196; state: Exp; lines: +6 -0; mjd debug ---------------------------- revision 1.39.4.5 date: 2007-07-26 21:35:48 +1000; author: phi196; state: Exp; lines: +6 -2; Major frame count error ---------------------------- revision 1.39.4.4 date: 2007-06-23 19:22:22 +1000; author: phi196; state: Exp; lines: +18 -4; Fixed dumy data send ---------------------------- revision 1.39.4.3 date: 2007-06-22 16:27:06 +1000; author: phi196; state: Exp; lines: +40 -7; Cope with 1PPS drops and drop data when buffer too full ---------------------------- revision 1.39.4.2 date: 2007-06-21 21:55:33 +1000; author: phi196; state: Exp; lines: +8 -3; updates ---------------------------- revision 1.39.4.1 date: 2007-06-13 11:55:11 +1000; author: phi196; state: Exp; lines: +225 -22; Initial mark5b mods ---------------------------- revision 1.39.4.9.2.8 date: 2008-03-19 22:42:23 +1100; author: phi196; state: Exp; lines: +95 -58; Added xx0000xx and 00xxxx00 compress modes ---------------------------- revision 1.39.4.9.2.7 date: 2008-01-10 13:26:31 +1100; author: phi196; state: Exp; lines: +1547 -1509; Functionalised stats mark5b headers. Potential fix for bigbuffer overflow ---------------------------- revision 1.39.4.9.2.6 date: 2007-11-11 17:02:42 +1100; author: phi196; state: Exp; lines: +80 -6; Added split mode evlbi ---------------------------- revision 1.39.4.9.2.5 date: 2007-09-07 22:58:04 +1000; author: phi196; state: Exp; lines: +5 -2; Fixed sequence # ---------------------------- revision 1.39.4.9.2.4 date: 2007-09-07 18:11:51 +1000; author: phi196; state: Exp; lines: +15 -0; Assummed passed udp size is MTU not data size ---------------------------- revision 1.39.4.9.2.3 date: 2007-09-07 17:04:31 +1000; author: phi196; state: Exp; lines: +9 -5; dd ---------------------------- revision 1.39.4.9.2.2 date: 2007-09-06 19:48:38 +1000; author: phi196; state: Exp; lines: +55 -59; Modified approach to udp send ---------------------------- revision 1.39.4.9.2.1 date: 2007-09-06 17:40:50 +1000; author: phi196; state: Exp; lines: +1611 -1529; Initial UDP changes ---------------------------- revision 1.47.4.24 date: 2012-11-10 08:50:49 +1100; author: phi196; state: Exp; lines: +24 -28; commitid: NLEll5aXWLfP6Krw; Non-conection oriented UDP plus VDIF UDP bug ---------------------------- revision 1.47.4.23 date: 2012-03-10 12:13:10 +1100; author: phi196; state: Exp; lines: +9 -4; commitid: aHYgPOaABaIv6hWv; Merge some large file changes from trunk ---------------------------- revision 1.47.4.22 date: 2010-11-23 16:14:37 +1100; author: phi196; state: Exp; lines: +22 -0; Force proper VDIF frame size ---------------------------- revision 1.47.4.21 date: 2010-03-09 17:21:15 +1100; author: phi196; state: Exp; lines: +18 -2; Set TCP window properly, and report it ---------------------------- revision 1.47.4.20 date: 2010-03-09 16:49:51 +1100; author: phi196; state: Exp; lines: +4 -1; Changed default port ---------------------------- revision 1.47.4.19 date: 2009-12-11 21:22:45 +1100; author: phi196; state: Exp; lines: +16 -13; Set nchan properly ---------------------------- revision 1.47.4.18 date: 2009-12-11 15:34:35 +1100; author: phi196; state: Exp; lines: +5 -1; Fix sampler stats problem with 64 MHz ---------------------------- revision 1.47.4.17 date: 2009-09-15 16:11:12 +1000; author: phi196; state: Exp; lines: +6 -3; Use new vdif library ---------------------------- revision 1.47.4.16 date: 2009-09-07 08:40:33 +1000; author: phi196; state: Exp; lines: +4 -3; Units for daa rate wrong ---------------------------- revision 1.47.4.15 date: 2009-09-03 12:09:57 +1000; author: phi196; state: Exp; lines: +9 -9; Datarate calculated too late ---------------------------- revision 1.47.4.14 date: 2009-09-03 06:46:26 +1000; author: phi196; state: Exp; lines: +180 -315; Lots of changes ---------------------------- revision 1.47.4.13 date: 2009-06-04 14:29:13 +1000; author: phi196; state: Exp; lines: +7 -2; Propogate rate to threads, if extra compression ---------------------------- revision 1.47.4.12 date: 2009-06-04 13:45:14 +1000; author: phi196; state: Exp; lines: +42 -9; Add ipd option ---------------------------- revision 1.47.4.11 date: 2009-06-04 11:07:28 +1000; author: phi196; state: Exp; lines: +359 -196; Added thread options from command line ---------------------------- revision 1.47.4.10 date: 2008-10-23 10:01:15 +1100; author: phi196; state: Exp; lines: +43 -15; Use bugbuffer to allow thread time to finish ---------------------------- revision 1.47.4.9 date: 2008-10-21 20:25:51 +1100; author: phi196; state: Exp; lines: +12 -9; Compile cleanup ---------------------------- revision 1.47.4.8 date: 2008-10-21 15:10:13 +1100; author: phi196; state: Exp; lines: +18 -5; Report internal buffer usage ---------------------------- revision 1.47.4.7 date: 2008-10-21 11:44:09 +1100; author: phi196; state: Exp; lines: +6 -2; Cope better with slow write thread ---------------------------- revision 1.47.4.6 date: 2008-10-21 11:36:02 +1100; author: phi196; state: Exp; lines: +199 -93; Added VDIF ---------------------------- revision 1.47.4.5 date: 2008-10-16 15:28:27 +1100; author: phi196; state: Exp; lines: +49 -12; Skip active buffers. Allow network thread to terminate ---------------------------- revision 1.47.4.4 date: 2008-10-16 14:41:10 +1100; author: phi196; state: Exp; lines: +248 -161; Change to single buffer ---------------------------- revision 1.47.4.3 date: 2008-10-14 13:49:42 +1100; author: phi196; state: Exp; lines: +11 -4; Fixed sampler stats ---------------------------- revision 1.47.4.2 date: 2008-10-13 15:54:00 +1100; author: phi196; state: Exp; lines: +149 -99; Fix a few bugs ---------------------------- revision 1.47.4.1 date: 2008-10-10 09:29:33 +1100; author: phi196; state: Exp; lines: +681 -582; Initial changes to multi thread ---------------------------- revision 1.47.2.1 date: 2008-09-30 12:19:23 +1000; author: phi196; state: Exp; lines: +72 -35; Enable mwa modes ---------------------------- revision 1.51.2.4 date: 2009-02-24 15:40:36 +1100; author: phi196; state: Exp; lines: +5 -2; Fix at-vlba conversion ---------------------------- revision 1.51.2.3 date: 2009-02-19 20:39:47 +1100; author: phi196; state: Exp; lines: +69 -13; Convert AT to VLBA encoding for 64 MHz... ---------------------------- revision 1.51.2.2 date: 2009-02-18 09:46:34 +1100; author: phi196; state: Exp; lines: +10 -3; Trival bugs with 1bit conversion ---------------------------- revision 1.51.2.1 date: 2009-02-17 15:56:59 +1100; author: phi196; state: Exp; lines: +132 -4; Initial shuffle/1bit version =============================================================================