// or number (T_NUM_STRING) in /www/pages/capture_range.php on line 143
echo<<<EOT
<pre>
This script supports initialization of the LWIR16 camera (16 LWIR 640x512 sensors and 4 2592x1936 color ones)
and capturing of short image sequences (100 frames fit into 64MB per-channel image buffer) for (relatively)
slow recording with camogm. Untill videocompression for 16-bit TIFFs is not implemented, recording is not fast
enough for continupous recording. This script should be launched in the 'master' subcamera only, it will
communidate with the other ones.
URL parameters:
<b>lwir16=init</b> - syncronize all 5 cameras, set acquisition parameters
<b>lwir16=capture</b> - wait specified time, synchronously turn on compressors in each channel of each subcamera,
acquire specified number of frames in each channel (reduced, and turn compressors off.
</pre>
EOT;
// Watch EOT w/o any spaces!
}
...
...
@@ -415,16 +453,18 @@ EOT;
}
// print_r($urls); print("<br/>");
// exit(0);
$trig_period=100000000/$GLOBALS[LWIR_FPS];
for($i=0;$i<count($lwir_ips);$i++){
$urls[$i].='&TRIG_DELAY='.$lwir_trig_dly.'&*TRIG_DELAY=15'.// apply to all ports
'&BITS=16&*BITS=15'.'&COLOR='.$COLOR_RAW.'&*COLOR=15'.'&WOI_HEIGHT='.($LWIR_HEIGHT+($LWIR_TELEMETRY?$LWIR_TELEMETRY_LINES:0)).'&*WOI_HEIGHT=15'.'&'.$REG_FFC_FRAMES.'='.$FFC_FRAMES.'&*'.$REG_FFC_FRAMES.'=15';// apply to all channels
'&TRIG_PERIOD='.$trig_period.'&*TRIG_PERIOD=15'.
'&BITS=16&*BITS=15'.'&COLOR='.$COLOR_RAW.'&*COLOR=15'.'&WOI_HEIGHT='.($LWIR_HEIGHT+($LWIR_TELEMETRY?$LWIR_TELEMETRY_LINES:0)).'&*WOI_HEIGHT=15'.'&'.$REG_FFC_FRAMES.'='.$FFC_FRAMES.'&*'.$REG_FFC_FRAMES.'=15';// apply to all channels