// or number (T_NUM_STRING) in /www/pages/capture_range.php on line 143
echo<<<EOT
echo<<<EOT
<pre>
<pre>
This script supports initialization of the LWIR16 camera (16 LWIR 640x512 sensors and 4 2592x1936 color ones)
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)
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
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
enough for continupous recording. This script should be launched in the 'master' subcamera only, it will
communidate with the other ones.
communidate with the other ones.
URL parameters:
URL parameters:
<b>lwir16=init</b> - syncronize all 5 cameras, set acquisition 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,
<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.
acquire specified number of frames in each channel (reduced, and turn compressors off.
</pre>
</pre>
EOT;
EOT;
// Watch EOT w/o any spaces!
// Watch EOT w/o any spaces!
}
}
...
@@ -415,8 +453,10 @@ EOT;
...
@@ -415,8 +453,10 @@ EOT;
}
}
// print_r($urls); print("<br/>");
// print_r($urls); print("<br/>");
// exit(0);
// exit(0);
$trig_period=100000000/$GLOBALS[LWIR_FPS];
for($i=0;$i<count($lwir_ips);$i++){
for($i=0;$i<count($lwir_ips);$i++){
$urls[$i].='&TRIG_DELAY='.$lwir_trig_dly.'&*TRIG_DELAY=15'.// apply to all ports
$urls[$i].='&TRIG_DELAY='.$lwir_trig_dly.'&*TRIG_DELAY=15'.// apply to all ports
'&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
'&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