Parsedit.php

From ElphelWiki

Jump to: navigation, search

Contents

Description

parsedit.php provides access to read/change the camera/sensor acquisition related parameters. The list of the parameters to be accessed is defined and can be edited in the URL. Operation modes:

10393 has 4 sensor ports - parameters for each port are individual and read separately but can be applied at the same time using a broadcast mask.

Details

It is easy to create customized parameter view/edit form with specially configured URL. Arguments included in the URL instruct parsedit.php:

Parameters are specified in the URL, starting with the "?" before the first parameter, separated by "&". Each parameter may be just a name or a name=value pair. When the page opens, it includes multiple input fields and several control buttons, pressing button "apply" submits the form to the same parsedit.php in POST mode - this is when the new parameter values are applied to the camera. Most controls and parameter names have "tooltips" - short help messages that open when you hold mouse pointer over those page elements.

When you open the parsedit.php with no parameters it shows some usage examples - you may view them why hovering mouse pointer over the links or copy those links and edit them to match your particular application.

All URL parameters belong to one of the two groups - special directives and the actual camera parameters. Here are the directives:

The rest of the parsedit.php URL parameters deal with the actual camera parameters.

Examples

Fig.1 autocampars.php web interface
Fig.2 parsedit.php form

Parameter groups in autocampars.php

0x1 - port 0 bit
0x2 - port 1 bit
0x4 - port 2 bit
0x8 - port 3 bit

Parameters in parsedit.php links

HTTP GET request

read
http://192.168.0.9/parsedit.php?immediate&sensor_port=0&COLOR&AUTOEXP_ON
Fig.3 HTTP GET response
change
http://192.168.0.9/parsedit.php?immediate&sensor_port=0&COLOR=5&AUTOEXP_ON
change multiple ports
http://192.168.0.9/parsedit.php?immediate&sensor_port=0&COLOR=5&*COLOR=0x5
http://192.168.0.9/parsedit.php?immediate&sensor_port=0&COLOR=5&*COLOR=0xf

Program FPS

Read Trigger 393

Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox