$xml->addChild('elphel_set_P_value',elphel_set_P_value($GLOBALS['sensor_port'],ELPHEL_SENSOR,0x00,0,ELPHEL_CONST_FRAMEPAIR_FORCE_NEWPROC));// / will start detection
elphel_set_P_value($GLOBALS['sensor_port'],ELPHEL_MAXAHEAD,2,0,8);// / When servicing interrupts, try programming up to 2 frames ahead of due time)
elphel_set_P_value($GLOBALS['sensor_port'],ELPHEL_FPGA_XTRA,1000,$frame+3,ELPHEL_CONST_FRAMEPAIR_FORCE_NEWPROC);// /compressor needs extra 1000 cycles to compress a frame (estimate)
elphel_set_P_value($GLOBALS['sensor_port'],ELPHEL_EXTERN_TIMESTAMP,1,$frame+3,ELPHEL_CONST_FRAMEPAIR_FORCE_NEWPROC);// / only used with async trigger
// / good (latency should be changed, but for now that will make a correct initialization - maybe obsolete)
$xml->addChild('elphel_set_P_value'.strval($sensor_port),elphel_set_P_value($sensor_port,ELPHEL_SENSOR,0x00,0,ELPHEL_CONST_FRAMEPAIR_FORCE_NEWPROC));// / will start detection
elphel_set_P_value($sensor_port,ELPHEL_MAXAHEAD,2,0,8);// / When servicing interrupts, try programming up to 2 frames ahead of due time)
elphel_set_P_value($sensor_port,ELPHEL_FPGA_XTRA,1000,$frame+3,ELPHEL_CONST_FRAMEPAIR_FORCE_NEWPROC);// /compressor needs extra 1000 cycles to compress a frame (estimate)
elphel_set_P_value($sensor_port,ELPHEL_EXTERN_TIMESTAMP,1,$frame+3,ELPHEL_CONST_FRAMEPAIR_FORCE_NEWPROC);// / only used with async trigger
// / good (latency should be changed, but for now that will make a correct initialization - maybe obsolete)
printf("<p><a href=\"%s/prev/prev/prev/prev/prev/prev/prev/prev/meta/next/meta/next/meta/next/meta/next/meta/next/meta/next/meta/next/meta/next/meta\">meta data for the last 9 frames</a></p>\n",$imgsrv);