Parsedit.php

From ElphelWiki
Jump to: navigation, search

parsedit.php is designed to provide access to the camera acquisition related parameters through the web browser. It is easy to create customized parameter view/edit form with specially configured URL. Arguments included in the URL instruct parsedit.php:

  • optional page title
  • optional image preview and it size
  • optional "test" checkbox (and the default state of this checkbox). When enabled the camera compressor will start before the parameter change sequence and stop after the sequence is over so the acquired images will not be overwritten in the circular buffer and could be analyzed
  • optional "showseq" checkbox (and its state) that enables debug information output during application of the sequence to the camera and the sensor.
  • optional annotated image sequence (useful to see the latencies of the different parameter changes)
  • what parameters are to be included in the page and what to do with them:
    • show them in readonly mode
    • include the current parameter value as the default in the input field(s)
    • specify the new parameter value as the default in the input field(s)
    • specify when (to what frame number in the future) the parameter change should be applied. It is possible to schedule several changes to the same parameter.


  • title= - specify page title (parsing escaped special characters, "+" may be used instead of spaces)
  • shownumbers - if present, each parameter number is shown in addition to the symbolic name
  • embed, embed=0.1 - include preview image, with optional image size relative to page width
  • test (test=0, test=1) include check box for the test mode, set the default state to off (0) or on (1)
  • showseq (showseq=0, showseq=1) include check box for the debug (show sequence) mode, set the default state to off (0) or on (1)