Imaging solutions with Free Software & Open Hardware

Who's online

There are currently 0 users online.

Subscribe to Wiki Recent Changes feed
Track the most recent changes to the wiki in this feed. MediaWiki 1.28.0
Updated: 53 min 39 sec ago

File:Parsedit screenshot 3.png

Tue, 12/20/2016 - 18:12

uploaded "[[File:Parsedit screenshot 3.png]]"

Oleg

Tmp manual

Tue, 12/20/2016 - 17:37

← Older revision Revision as of 00:37, 21 December 2016 (3 intermediate revisions not shown)Line 164: Line 164: -==<font color="blue">Record the Event Logger data (GPS, IMU, IMG & EXT)</font>==+==<font color="blue">Event Logger (GPS, IMU, IMG & EXT)</font>==  +* [[Event_logger|'''More information''']]  +===Record===  +====web==== * Start:   * Start:   http://192.168.0.9/logger_launcher.php?cmd=start&file=/mnt/sda1/test.log&index=1&n=10000000 http://192.168.0.9/logger_launcher.php?cmd=start&file=/mnt/sda1/test.log&index=1&n=10000000 Line 171: Line 174: * Help: * Help: http://192.168.0.9/logger_launcher.php http://192.168.0.9/logger_launcher.php  +  +====command line====  +* start:  + root@elphel393:~# cat /dev/imu > /path/filename.log  +* stop - CTRL-C or kill the process  +  +===Read===  +* http://192.168.0.9/read_imu_log.php (will display help)  +** on the first access creates /www/pages/logs/ (http://192.168.0.9/logs/)  +** link the recorded logs to /www/pages/logs/  +** refresh http://192.168.0.9/read_imu_log.php Line 199: Line 213: ** if opened w/o sensor_port specified the page will show links to available ports ** if opened w/o sensor_port specified the page will show links to available ports ** '''sensor_port=x''', where x=0..3 - in the address string - for a single sensor camera it is normally 0 ** '''sensor_port=x''', where x=0..3 - in the address string - for a single sensor camera it is normally 0  +  + ==<font color="blue">Temperature monitor</font>== ==<font color="blue">Temperature monitor</font>== Line 229: Line 245: ==<font color="blue">Firmware images</font>== ==<font color="blue">Firmware images</font>== TBA TBA  +  + ==<font color="blue">Known problems</font>== ==<font color="blue">Known problems</font>== Oleg

Sata multiplexer 10389

Tue, 12/20/2016 - 17:22

Description:

← Older revision Revision as of 00:22, 21 December 2016 (4 intermediate revisions not shown)Line 1: Line 1: ==<font color="blue">Description</font>== ==<font color="blue">Description</font>== -[[10389]] extension board has a VSC3304 - a 8.5 Gbps 4×4 Crosspoint SATA Switch. It makes possible the following connections:+[[10389]] extension board has a has a Microsemi's (former Vitesse) VSC3304 - a 8.5 Gbps 4×4 Crosspoint SATA Switch. It makes possible the following connections: * camera <=> internal SSD (default) * camera <=> internal SSD (default) * camera <=> external drive * camera <=> external drive Line 8: Line 8: ==<font color="blue">Switching connections</font>== ==<font color="blue">Switching connections</font>== ===web=== ===web===  +[[File:X393 vsc330x screenshot.png|thumb|500px|Fig.1 http://192.168.0.9/x393_vsc330x.php?state]] ====x393_vsc330x.php==== ====x393_vsc330x.php==== * help: * help:   http://192.168.0.9/x393_vsc330x.php   http://192.168.0.9/x393_vsc330x.php -* connection state:+* connection state (see Fig.1):   http://192.168.0.9/x393_vsc330x.php?state   http://192.168.0.9/x393_vsc330x.php?state * connect camera to internal SSD: * connect camera to internal SSD: Line 20: Line 21:   http://192.168.0.9/x393_vsc330x.php?c:SSD=ESATA   http://192.168.0.9/x393_vsc330x.php?c:SSD=ESATA -Note: crossover switching is supported in the '''command line''' script+'''Note 1:''' Crossover switching is supported in the '''command line''' script  +   +'''Note 2:''' When the connection is good the state row shows '''active''' for the connected ports, '''LOS''' otherwise - see Fig.1 ===command line=== ===command line=== Oleg

File:X393 vsc330x screenshot.png

Tue, 12/20/2016 - 17:17

uploaded "[[File:X393 vsc330x screenshot.png]]"

Oleg

Tmp manual

Tue, 12/20/2016 - 17:14

Firmware images:

← Older revision Revision as of 00:14, 21 December 2016 (3 intermediate revisions not shown)Line 206: Line 206: |[[File:10393_hwmon.jpeg|thumb|200px]] |[[File:10393_hwmon.jpeg|thumb|200px]] |} |}  +  +  +  +==<font color="blue">eSATA port switching</font>==  +* requres [[10389]]  +* available connections:  +** camera <=> internal SSD (default)  +** camera <=> external drive (external drive will need a separate power source)  +** PC <=> internal SSD  +* [[Sata_multiplexer_10389|'''More information''']] Line 215: Line 225:   http://192.168.0.9/autocampars.php?reboot   http://192.168.0.9/autocampars.php?reboot -==<font color="blue">Firmware images</font>==   +==<font color="blue">Firmware images</font>==  +TBA ==<font color="blue">Known problems</font>== ==<font color="blue">Known problems</font>== Oleg

Sata multiplexer 10389

Tue, 12/20/2016 - 17:05

New page

==<font color="blue">Description</font>==
[[10389]] extension board has a VSC3304 - a 8.5 Gbps 4×4 Crosspoint SATA Switch. It makes possible the following connections:
* camera <=> internal SSD (default)
* camera <=> external drive
* camera <=> external drive (crossover mode)
* PC <=> internal SSD

==<font color="blue">Switching connections</font>==
===web===
====x393_vsc330x.php====
* help:
http://192.168.0.9/x393_vsc330x.php
* connection state:
http://192.168.0.9/x393_vsc330x.php?state
* connect camera to internal SSD:
http://192.168.0.9/x393_vsc330x.php?c:ZYNQ=SSD
* connect camera to external drive:
http://192.168.0.9/x393_vsc330x.php?c:ZYNQ=ESATA
* connect internal SSD to PC:
http://192.168.0.9/x393_vsc330x.php?c:SSD=ESATA

Note: crossover switching is supported in the '''command line''' script

===command line===
* display help:
root@elphel393:~# /usr/local/bin/x393sata_control.py
output:
x393_vsc3304: Running on NEW system
x393sata: Running on NEW system
BUFFER_ADDRESS = 0x0ad00000
BUFFER_LEN = 0x12c00000
BUFFER_ADDRESS_H2D = 0x2dc00000
BUFFER_LEN_H2D = 0x00400000
BUFFER_ADDRESS_D2H = 0x2d800000
BUFFER_LEN_D2H = 0x00400000
BUFFER_ADDRESS_BIDIR = 0x2cc00000
BUFFER_LEN_BIDIR = 0x00400000
COMMAND_ADDRESS = 0x2dc00010
DATAIN_ADDRESS = 0x2d810000
DATAOUT_ADDRESS = 0x2dc20000
Usage:
* camera <-> internal SSD : x393sata_control.py set_zynq_ssd
* camera <-> external disk : x393sata_control.py set_zynq_esata
* camera <-> external disk (crossover): x393sata_control.py set_zynq_ssata
* PC <-> internal SSD) : x393sata_control.py set_esata_ssd





[[Category:393]] Oleg

Tmp manual

Tue, 12/20/2016 - 16:26

Change parameters:

← Older revision Revision as of 23:26, 20 December 2016 (6 intermediate revisions not shown)Line 2: Line 2: * As of 2016/12/15, the software ported from 10353 supports only 5MPix sensors, for 14MPix, please see: * As of 2016/12/15, the software ported from 10353 supports only 5MPix sensors, for 14MPix, please see: **[http://wiki.elphel.com/index.php?title=Tmp_manual&oldid=14676 older version of this manual with links to older software images] **[http://wiki.elphel.com/index.php?title=Tmp_manual&oldid=14676 older version of this manual with links to older software images]  +  + ==<font color="blue">In the package</font>== ==<font color="blue">In the package</font>== Line 12: Line 14: * &mu;USB-to-USB cable * &mu;USB-to-USB cable * Recovery &mu;SD card * Recovery &mu;SD card  +  + ==<font color="blue">Interfaces</font>== ==<font color="blue">Interfaces</font>== Line 35: Line 39: | sync multiple cameras or other devices - input/output trigger signal through a 4-conductor 2.5mm audio plug (example: [http://www.digikey.com/products/en?keywords=839-1029-ND digikey]) | sync multiple cameras or other devices - input/output trigger signal through a 4-conductor 2.5mm audio plug (example: [http://www.digikey.com/products/en?keywords=839-1029-ND digikey]) |} |}  +  + ==<font color="blue">Power on</font>== ==<font color="blue">Power on</font>== Line 43: Line 49: * Boot time: ~30s * Boot time: ~30s * The default boot is from the on-board NAND flash. [[Boot_options_393|More information]] on available boot options and recovery boot. * The default boot is from the on-board NAND flash. [[Boot_options_393|More information]] on available boot options and recovery boot.  +  + ==<font color="blue">Defaults</font>== ==<font color="blue">Defaults</font>== Line 58: Line 66: * The default IP address is set in the ''/etc/elphel393/init_elphel393.py''. * The default IP address is set in the ''/etc/elphel393/init_elphel393.py''.  +  + ==<font color="blue">Command line access</font>== ==<font color="blue">Command line access</font>== * ssh from PC terminal: * ssh from PC terminal:   $ ssh root@192.168.0.9   $ ssh root@192.168.0.9  +  + ==<font color="blue">Serial console access</font>== ==<font color="blue">Serial console access</font>== Line 70: Line 82: Most likely the device will be <b>/dev/ttyUSB0</b>. Settings: Most likely the device will be <b>/dev/ttyUSB0</b>. Settings: * <b>115200 8N1, no</b> for hardware/software flow control * <b>115200 8N1, no</b> for hardware/software flow control  +  + ==<font color="blue">Web user interface (camvc)</font>== ==<font color="blue">Web user interface (camvc)</font>== Line 82: Line 96: |[[File:Controls with blank.jpeg|300px|thumb|Fig.3 camvc controls]] |[[File:Controls with blank.jpeg|300px|thumb|Fig.3 camvc controls]] |} |}  +  + ==<font color="blue">Download live images</font>== ==<font color="blue">Download live images</font>== Line 101: Line 117:   wget http://192.168.0.9:2325/img -O filename.jpeg   wget http://192.168.0.9:2325/img -O filename.jpeg   wget http://192.168.0.9:2326/img -O filename.jpeg   wget http://192.168.0.9:2326/img -O filename.jpeg  +  + ==<font color="blue">Video</font>== ==<font color="blue">Video</font>== Line 143: Line 161:   sync   sync </font> </font>  +  + ==<font color="blue">Record the Event Logger data (GPS, IMU, IMG & EXT)</font>== ==<font color="blue">Record the Event Logger data (GPS, IMU, IMG & EXT)</font>== Line 151: Line 171: * Help: * Help: http://192.168.0.9/logger_launcher.php http://192.168.0.9/logger_launcher.php  +  + ==<font color="blue">Change parameters</font>== ==<font color="blue">Change parameters</font>== * http://192.168.0.9/autocampars.php - save/restore/initialize camera/sensor parameters * http://192.168.0.9/autocampars.php - save/restore/initialize camera/sensor parameters -[[Autocampars 393|More information]]+[[Autocampars 393|'''More information''']] -* parsedit.php+* http://192.168.0.9/parsedit.php - read/write parameters:  +** POST request  + Read:  http://192.168.0.9/parsedit.php?sensor_port=0&PAR1&PAR2  + Change: http://192.168.0.9/parsedit.php?sensor_port=0&PAR1&PAR2 - update values - submit form  +** GET request - XML response  + Read:  http://192.168.0.9/parsedit.php?immediate&sensor_port=0&PAR1&PAR2  + Change: http://192.168.0.9/parsedit.php?immediate&sensor_port=0&PAR1=VAL1&PAR2=VAL2 -Single call - XML response:+Note 1: if the parameter's value is specified in URL it will be applied. The call can have mixed specified and unspecified parameters. -Read:+Note 2: The new value is read on the next call. - http://192.168.0.9/parsedit.php?immediate&sensor_port=0&PAR1&PAR2+ -Change:+ -* single call: http://192.168.0.9/parsedit.php?immediate&sensor_port=0&PAR1=VAL1&PAR2=VAL2+ -Note 1: It's just if the parameter value is specified it will be applied. The call can have mixed specified and unspecified parameters.+[[Parsedit.php|'''More information''']] -Note 2: The new value is read on the next call.  ===Notes=== ===Notes=== Line 182: Line 206: |[[File:10393_hwmon.jpeg|thumb|200px]] |[[File:10393_hwmon.jpeg|thumb|200px]] |} |}  +  + ==<font color="blue">Proper shutdown</font>== ==<font color="blue">Proper shutdown</font>== * if not properly shutdown - &mu;SD might get corrupted (run '''sync''' at least) * if not properly shutdown - &mu;SD might get corrupted (run '''sync''' at least)   shutdown -hP now   shutdown -hP now -The same can be achieved by calling:+Same effect:   http://192.168.0.9/autocampars.php?reboot   http://192.168.0.9/autocampars.php?reboot ==<font color="blue">Firmware images</font>== ==<font color="blue">Firmware images</font>==  +  + ==<font color="blue">Known problems</font>== ==<font color="blue">Known problems</font>== Oleg

Parsedit.php

Tue, 12/20/2016 - 16:10

← Older revision Revision as of 23:10, 20 December 2016 (One intermediate revision not shown)Line 1: Line 1: -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:+==<font color="blue">Description</font>==  +'''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:  +* through a web interface (HTTP POST requests) - group access to parameters through a form, debug of the parameter application, view check image sequences  +* HTTP GET request - access parameters with a single request that returns XML.  +   +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.  +   +==<font color="blue">Details</font>==  +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 page title -* optional image preview and it size+* optional image preview and its 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 "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 "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) * 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: * what parameters are to be included in the page and what to do with them: -** show them in readonly mode+** show them in read only mode ** include the current parameter value as the default in the input field(s) ** 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 the new parameter value as the default in the input field(s) Line 14: Line 23: 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. 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: All URL parameters belong to one of the two groups - special directives and the actual camera parameters. Here are the directives: Line 20: Line 28: * '''title='''''some+page+title'' - specify page title (parsing escaped special characters, "+" may be used instead of spaces) * '''title='''''some+page+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 * '''shownumbers''' - if present, each parameter number is shown in addition to the symbolic name -* '''embed'''or '''embed=0.1''' - include preview image, with optional image size relative to page width (10% in the example)+* '''embed''' or '''embed=0.1''' - include preview image, with optional image size relative to page width (10% in the example) * '''test''' ('''test=0''' or  '''test=1''') include check box for the test mode, set the default state to off (0) or on (1) * '''test''' ('''test=0''' or  '''test=1''') include check box for the test mode, set the default state to off (0) or on (1) * '''showseq''' ('''showseq=0''' or  '''showseq=1''') include check box for the debug (show sequence) mode, set the default state to off (0) or on (1) * '''showseq''' ('''showseq=0''' or  '''showseq=1''') include check box for the debug (show sequence) mode, set the default state to off (0) or on (1) * '''images''' ('''images='''''numer_of_images:number_per_row:image_scale'') - normally this directive is used from inside the generated page, but it is possible to provide it manually also. In that case it will open the page with the table with the last acquired images and annotate them using the Exif data. * '''images''' ('''images='''''numer_of_images:number_per_row:image_scale'') - normally this directive is used from inside the generated page, but it is possible to provide it manually also. In that case it will open the page with the table with the last acquired images and annotate them using the Exif data.  +* '''sensor_port=''' - 0..3 - access parameters of an individual camera port.  +  +The rest of the parsedit.php URL parameters deal with the actual camera parameters.  +  +==<font color="blue">Examples</font>==  +[[File:Autocampars screenshot.png|thumb|600px|Fig.1 autocampars.php web interface]]  +[[File:Parsedit screenshot 1.png|thumb|600px|Fig.2 parsedit.php form]]  +====Parameter groups in autocampars.php====  +* http://192.168.0.9/autocampars.php. [[Autocampars_393|More info]] about autocampars.php  +* The top table (Fig.1) lists groups of parameters - select the ones of interest then follow ''View/Edit current'' link which jumps to the parsedit.php interface.  +* Edit the URL address.  +* Parameters form table columns (Fig.2):  +** mouse over row for a tooltip  +** '''current value'''  +** '''new value''' can be changed in dec or hex  +** '''Program ahead''' - the parameter will be set in '''n''' frames from the current frame.  +** '''Broadcast mask''':  + 0x1 - port 0 bit  + 0x2 - port 1 bit  + 0x4 - port 2 bit  + 0x8 - port 3 bit  +  +====Parameters in parsedit.php links====  +* http://192.168.0.9/parsedit.php  +* Follow the [http://192.168.0.9/parsedit.php?sensor_port=0&embed=0.1&title=Autoexposure+controls&COMPRESSOR_RUN=2&DAEMON_EN=1&AUTOEXP_ON=1&AEXP_FRACPIX=0xff80&AEXP_LEVEL=0xf800&AE_PERIOD=4&AE_THRESH=500&THIS_FRAME=@&NEXT_AE_FRAME=@&VEXPOS&EXPOS&HIST_DIM_01=0x0a000a00&HIST_DIM_23=0x0a000a00&EXP_AHEAD=3&HISTWND_RWIDTH&HISTWND_RHEIGHT&HISTWND_RLEFT&HISTWND_RTOP&HISTWND_WIDTH=@&HISTWND_HEIGHT=@&HISTWND_LEFT=@&HISTWND_TOP=@&AE_INTEGERR=@ Controls related to autoexposure] link (Fig.2)  +* Edit the URL address  +  +====HTTP GET request====  +=====read=====  +* read image format parameters (COLOR & AUTOEXP_ON):  + http://192.168.0.9/parsedit.php?immediate&sensor_port=0&COLOR&AUTOEXP_ON  +{|  +| [[File:Parsedit screenshot 2.png|thumb|Fig.3 HTTP GET response]]  +|}  +=====change=====  +* change image format (COLOR) to JP4, read AUTOEXP_ON  + http://192.168.0.9/parsedit.php?immediate&sensor_port=0&COLOR=5&AUTOEXP_ON  +* the response will have an old value of the parameter - read again  +  +=====change multiple ports=====  +* change image format (COLOR) to JP4 for ports 0 & 2:  + http://192.168.0.9/parsedit.php?immediate&sensor_port=0&COLOR=5&*COLOR=0x5  +* change image format (COLOR) to JP4 for all ports:  + http://192.168.0.9/parsedit.php?immediate&sensor_port=0&COLOR=5&*COLOR=0xf -The rest of the parsedit.php url parameters deal with the actual camera parameters.+[[Category:353]] -<hr/>+[[Category:393]] -1234[[Main_Page&1234| ]]+ Oleg

Parsedit.php

Tue, 12/20/2016 - 12:34

← Older revision Revision as of 19:34, 20 December 2016 Line 1: Line 1: -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:+==<font color="blue">Description</font>==  +'''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:  +* through a web interface (HTTP POST requests) - group access to parameters through a form, debug of the parameter application, view check image sequences  +* HTTP GET request - access parameters with a single request that returns XML.  +   +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.  +   +==<font color="blue">Details</font>==  +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 page title -* optional image preview and it size+* optional image preview and its 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 "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 "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) * 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: * what parameters are to be included in the page and what to do with them: -** show them in readonly mode+** show them in read only mode ** include the current parameter value as the default in the input field(s) ** 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 the new parameter value as the default in the input field(s) Line 14: Line 23: 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. 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: All URL parameters belong to one of the two groups - special directives and the actual camera parameters. Here are the directives: Line 20: Line 28: * '''title='''''some+page+title'' - specify page title (parsing escaped special characters, "+" may be used instead of spaces) * '''title='''''some+page+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 * '''shownumbers''' - if present, each parameter number is shown in addition to the symbolic name -* '''embed'''or '''embed=0.1''' - include preview image, with optional image size relative to page width (10% in the example)+* '''embed''' or '''embed=0.1''' - include preview image, with optional image size relative to page width (10% in the example) * '''test''' ('''test=0''' or  '''test=1''') include check box for the test mode, set the default state to off (0) or on (1) * '''test''' ('''test=0''' or  '''test=1''') include check box for the test mode, set the default state to off (0) or on (1) * '''showseq''' ('''showseq=0''' or  '''showseq=1''') include check box for the debug (show sequence) mode, set the default state to off (0) or on (1) * '''showseq''' ('''showseq=0''' or  '''showseq=1''') include check box for the debug (show sequence) mode, set the default state to off (0) or on (1) * '''images''' ('''images='''''numer_of_images:number_per_row:image_scale'') - normally this directive is used from inside the generated page, but it is possible to provide it manually also. In that case it will open the page with the table with the last acquired images and annotate them using the Exif data. * '''images''' ('''images='''''numer_of_images:number_per_row:image_scale'') - normally this directive is used from inside the generated page, but it is possible to provide it manually also. In that case it will open the page with the table with the last acquired images and annotate them using the Exif data.  +* '''sensor_port=''' - 0..3 - access parameters of an individual camera port.  +  +The rest of the parsedit.php URL parameters deal with the actual camera parameters.  +  +==<font color="blue">Examples</font>==  +[[File:Autocampars screenshot.png|thumb|600px|Fig.1 autocampars.php web interface]]  +[[File:Parsedit screenshot 1.png|thumb|600px|Fig.2 parsedit.php form]]  +====Parameter groups in autocampars.php====  +* http://192.168.0.9/autocampars.php. [[Autocampars_393|More info]] about autocampars.php  +* The top table (Fig.1) lists groups of parameters - select the ones of interest then follow ''View/Edit current'' link which jumps to the parsedit.php interface.  +* Edit the URL address.  +* Parameters form table columns (Fig.2):  +** mouse over row for a tooltip  +** '''current value'''  +** '''new value''' can be changed in dec or hex  +** '''Program ahead''' - the parameter will be set in '''n''' frames from the current frame.  +** '''Broadcast mask''':  + 0x1 - port 0 bit  + 0x2 - port 1 bit  + 0x4 - port 2 bit  + 0x8 - port 3 bit  +  +====Parameters in parsedit.php links====  +* http://192.168.0.9/parsedit.php  +* Follow the [http://192.168.0.9/parsedit.php?sensor_port=0&embed=0.1&title=Autoexposure+controls&COMPRESSOR_RUN=2&DAEMON_EN=1&AUTOEXP_ON=1&AEXP_FRACPIX=0xff80&AEXP_LEVEL=0xf800&AE_PERIOD=4&AE_THRESH=500&THIS_FRAME=@&NEXT_AE_FRAME=@&VEXPOS&EXPOS&HIST_DIM_01=0x0a000a00&HIST_DIM_23=0x0a000a00&EXP_AHEAD=3&HISTWND_RWIDTH&HISTWND_RHEIGHT&HISTWND_RLEFT&HISTWND_RTOP&HISTWND_WIDTH=@&HISTWND_HEIGHT=@&HISTWND_LEFT=@&HISTWND_TOP=@&AE_INTEGERR=@ Controls related to autoexposure] link (Fig.2)  +* Edit the URL address  +  +====HTTP GET request====  +=====read=====  +* read image format parameters (COLOR & AUTOEXP_ON):  + http://192.168.0.9/parsedit.php?immediate&sensor_port=0&COLOR&AUTOEXP_ON  +{|  +| [[File:Parsedit screenshot 2.png|thumb|Fig.3 HTTP GET response]]  +|}  +=====change=====  +* change image format (COLOR) to JP4, read AUTOEXP_ON  + http://192.168.0.9/parsedit.php?immediate&sensor_port=0&COLOR=5&AUTOEXP_ON  +* the response will have an old value of the parameter - read again -The rest of the parsedit.php url parameters deal with the actual camera parameters.+[[Category:353]] -<hr/>+[[Category:393]] -1234[[Main_Page&1234| ]]+ Oleg

File:Parsedit screenshot 2.png

Tue, 12/20/2016 - 11:51

uploaded "[[File:Parsedit screenshot 2.png]]"

Oleg

Autocampars 393

Tue, 12/20/2016 - 11:17

← Older revision Revision as of 18:17, 20 December 2016 (4 intermediate revisions not shown)Line 21: Line 21: ====web==== ====web==== * http://192.168.0.9/autocampars.php (Fig.1) * http://192.168.0.9/autocampars.php (Fig.1) -** the top table gives access to change the camera/sensor parameters through parsedit.php interface. The parameters are split into groups.+** the top table gives access to change the camera/sensor parameters through parsedit.php interface. The parameters are split into groups. Select groups of interest then follow ''View/Edit current'' link.   -** the bottom table allows to save/restore the configuration of all parameters. If boot from NAND flash the changed configs must be synced to survive reboot - use either '''reboot''' button or '''shutdown -r now''' ('reboot -f' will not sync overlayfs layers)+** the bottom table allows to save/restore the configuration of all parameters. If boot from NAND flash the changed configs must be synced to survive reboot - use either '''REBOOT''' button or '''shutdown -r now''' ('reboot -f' will not sync overlayfs layers) ====command line==== ====command line====  +* only to (re)create new config Terminal: Terminal:   $ ssh root@192.168.0.9   $ ssh root@192.168.0.9 Line 31: Line 32:   Usage: ''/usr/bin/autocampars.php [--init] [--new] [--ignore-revision]''   Usage: ''/usr/bin/autocampars.php [--init] [--new] [--ignore-revision]''   Initialize camera using saved parameters (usually at boot)   Initialize camera using saved parameters (usually at boot) -  -==<font color="blue">Examples</font>==  ==<font color="blue">Source</font>== ==<font color="blue">Source</font>== -* [https://github.com/Elphel/elphel-apps-autocampars elphel-apps-autocampars] is integrated and built using the [https://github.com/Elphel/elphel393 elphel393] project that sets up everything.+* [https://github.com/Elphel/elphel-apps-autocampars elphel-apps-autocampars] is integrated and built using the [https://github.com/Elphel/elphel393 elphel393] project that sets up the build environment and pulls all projects.  +   +[[Category:393]] Oleg

Tmp manual

Mon, 12/19/2016 - 19:55

Change parameters:

← Older revision Revision as of 02:55, 20 December 2016 Line 153: Line 153: ==<font color="blue">Change parameters</font>== ==<font color="blue">Change parameters</font>== -* http://192.168.0.9/autocampars.php - read & change parameters (through parsedit.php), save configuration (if booted from NAND flash - "shutdown -r now" will sync changes or copy /etc/elphel393/*.xml to /tmp/rootfs.ro/etc/elphel393/ (lower layer of overlayfs), if booted from mmc - no need to reboot, just '''sync''')+* http://192.168.0.9/autocampars.php - save/restore/initialize camera/sensor parameters  +[[Autocampars 393|More information]]  +  * parsedit.php * parsedit.php  + Single call - XML response: Single call - XML response: Oleg

Autocampars 393

Mon, 12/19/2016 - 19:52

command line:

New page

==<font color="blue">Description</font>==
* Save / restore / initialize NC393 based camera systems parameters.

==<font color="blue">Notes</font>==
* The project was ported from NC353 camera series with minor changes related to:
** reading the extension board information
** having 4 sensor ports instead of a single one
* The camera system type is stored in the EEPROM of the 10389 extension board and is not reset by software updates
* Depending on the initialized ports the configuration files are stored in '''/etc/elphel393/''':
/etc/elphel393/autocampars0.xml
/etc/elphel393/autocampars1.xml
/etc/elphel393/autocampars2.xml
/etc/elphel393/autocampars3.xml
* If the configuration for a port not found on boot but it was initialized - a new default configuration is created
* If accessed from a browser supports:
** reboot - works for single cameras, for multi camera systems works for the master camera that is supposed to reboot others.
** cancel sync - if the camera was booted from NAND flash - cancels syncing of the overlayfs layers if not needed - as any changes to the configuration files through the web interface raise a sync 'flag' (/tmp/overlay_sync)

==<font color="blue">Usage</font>==
[[File:Autocampars screenshot.png|thumb|600px|Fig.1 autocampars.php web interface]]
====web====
* http://192.168.0.9/autocampars.php (Fig.1)
** the top table gives access to change the camera/sensor parameters through parsedit.php interface. The parameters are split into groups.
** the bottom table allows to save/restore the configuration of all parameters. If boot from NAND flash the changed configs must be synced to survive reboot - use either '''reboot''' button or '''shutdown -r now''' ('reboot -f' will not sync overlayfs layers)

====command line====
Terminal:
$ ssh root@192.168.0.9
root@elphel393:~# /usr/bin/autocampars.php
Output:
Usage: ''/usr/bin/autocampars.php [--init] [--new] [--ignore-revision]''
Initialize camera using saved parameters (usually at boot)

==<font color="blue">Examples</font>==

==<font color="blue">Source</font>==
* [https://github.com/Elphel/elphel-apps-autocampars elphel-apps-autocampars] is integrated and built using the [https://github.com/Elphel/elphel393 elphel393] project that sets up everything. Oleg

File:Autocampars screenshot.png

Mon, 12/19/2016 - 19:09

uploaded "[[File:Autocampars screenshot.png]]"

Oleg

Tmp manual

Mon, 12/19/2016 - 17:10

Tmp manual

Mon, 12/19/2016 - 16:20

Video:

← Older revision Revision as of 23:20, 19 December 2016 (21 intermediate revisions not shown)Line 6: Line 6: * 10393 camera system * 10393 camera system {| {| -|[[File:NC393-CS marked ports.jpeg|thumb|200px]]+|[[File:NC393-CS marked ports.jpeg|thumb|200px|Fig.1 10393 interfaces]] |} |} * Power supply wall adapter (default: 18-75V, [[10393_power|more information]]) * Power supply wall adapter (default: 18-75V, [[10393_power|more information]]) Line 18: Line 18: ====Notes==== ====Notes==== -* Boot time: ~40s+* Boot time: ~30s * The default boot is from the on-board NAND flash. [[Boot_options_393|More information]] on available boot options and recovery boot. * The default boot is from the on-board NAND flash. [[Boot_options_393|More information]] on available boot options and recovery boot. -  -==<font color="blue">Connections</font>==  -* Connect [[FPC_cables|sensors to system board]] - FPC cables are not symmetrical  -* Ports:  -{|  -|[[File:NC393-CS marked ports.jpeg|thumb|200px]]  -|}  -* [[10393_power|Power supply]]  ==<font color="blue">Defaults</font>== ==<font color="blue">Defaults</font>== Line 43: Line 35: |} |} -* The IP address is set in the ''/etc/elphel393/init_elphel393.py'' in the currenly mounted rootfs ("/").+* The default IP address is set in the ''/etc/elphel393/init_elphel393.py''. - + -==<font color="blue">init_elphel393.py</font>==+ -* /etc/elphel393/init_elphel393.py+ - + - + ==<font color="blue">Command line access</font>== ==<font color="blue">Command line access</font>== -ssh root@192.168.0.9+* ssh from PC terminal:  + $ ssh root@192.168.0.9 ==<font color="blue">Serial console access</font>== ==<font color="blue">Serial console access</font>== -* Use a ''microUSB-USB cable'' to connect to PC - the cable's end should be thin enough otherwise interferes with the micro SD card.+* Use a ''microUSB-USB cable'' to connect '''console &mu;USB port''' (see Fig.1) to PC - the cable's end should be thin enough otherwise interferes with an inserted mmc ('''m'''ulti '''m'''edia '''c'''ard = &mu;SD card). -* Linux: '''minicom -c on'''+* In Linux the '''minicom''' program can be used -** likely device: <b>/dev/ttyUSB0</b>+ $ minicom -c on -** settings: <b>115200 8N1, no</b> for hardware/software flow control+Most likely the device will be <b>/dev/ttyUSB0</b>. Settings:  +* <b>115200 8N1, no</b> for hardware/software flow control -==<font color="blue">web interface (camvc)</font>==+==<font color="blue">Web user interface (camvc)</font>== -http://192.168.0.9/closeme.html (will get changed soon)+http://192.168.0.9/closeme.html (will be changed soon):  +* The page contains links to camvc user interface for each individual camera port.  +* camvc was ported from the 10353 camera series:  +** many parameters like image format ,resolution, auto exposure, auto white balance can be changed from camvc.  +** pause compressor and search within buffered images  +** help tips available - see Fig.2 - select then mouse over a control element of interest  +{|  +| valign='top'|[[image:Help tips.jpeg|250px|thumb|Fig.2 camvc help]]  +|[[File:Controls with blank.jpeg|300px|thumb|Fig.3 camvc controls]]  +|} -==<font color="blue">Get images</font>==+==<font color="blue">Download live images</font>== -channel 1: http://192.168.0.9:2323/img+====camvc====  +* For a currently opened port:  +{|  +|[[image:Camvc image capture.jpeg|250px|thumb|Fig.3 Acquire an image from the Camera Control Interface]]  +|} -channel 2: http://192.168.0.9:2324/img+====browser====  + channel 1: http://192.168.0.9:2323/img  + channel 2: http://192.168.0.9:2324/img  + channel 3: http://192.168.0.9:2325/img  + channel 4: http://192.168.0.9:2326/img -channel 3: http://192.168.0.9:2325/img+====command line==== - + wget http://192.168.0.9:2323/bimg -O filename.jpeg -channel 4: http://192.168.0.9:2326/img+ wget http://192.168.0.9:2324/bimg -O filename.jpeg  + wget http://192.168.0.9:2325/bimg -O filename.jpeg  + wget http://192.168.0.9:2326/bimg -O filename.jpeg ==<font color="blue">Video</font>== ==<font color="blue">Video</font>== Line 87: Line 95: * More examples at [[Using_gstreamer#Display|Using GStreamer]] * More examples at [[Using_gstreamer#Display|Using GStreamer]] -===Record===+===Record (to internal storage)===  +* Recording to internal storage is performed by the '''camogm''' program  +* <font color='red'>important:</font> Event logger (GPS, IMU, IMG, EXT) recording is started/stopped separately.  +* For SATA devices camogm supports:  +** recording to a partition with a file system - up to 80MB/s  +** faster recording to a partition without a file system avoiding OS calls - up to 220MB/s  +* Can record to an mmc partiton as well. * <b><font size='3' color='red'>[[Using_camogm_with_Elphel393_camera|More info]]</font></b> * <b><font size='3' color='red'>[[Using_camogm_with_Elphel393_camera|More info]]</font></b> -* If the ''prefix'' parameter, which is ''absolute path + prefix'', for a channel is not set the file will be written somewhere to rootfs (likely '''/usr/local/verilog/''')+* If the ''prefix'' parameter, which is ''absolute path + prefix'', for a channel is not set the file will be written somewhere to rootfs ====browser==== ====browser==== -Example 1: (provide a correct media mount point)+Example 1: (provide a correct media mount point - /mnt/sda1/) <font size='2'> <font size='2'> * http://192.168.0.9/camogmgui.php * http://192.168.0.9/camogmgui.php Line 107: Line 121:   sync   sync </font> </font>  +  +==<font color="blue">Record the Event Logger data (GPS,IMU,IMG & EXT)</font>==  +* Start:  +http://192.168.0.9/logger_launcher.php?cmd=start&file=/mnt/sda1/test.log&index=1&n=10000000  +* Stop:  +http://192.168.0.9/logger_launcher.php?cmd=stop ==<font color="blue">Change parameters</font>== ==<font color="blue">Change parameters</font>== Oleg

Tmp manual

Mon, 12/19/2016 - 15:20

Serial console access:

← Older revision Revision as of 22:20, 19 December 2016 (6 intermediate revisions not shown)Line 6: Line 6: * 10393 camera system * 10393 camera system {| {| -|[[File:NC393-CS marked ports.jpeg|thumb|200px]]+|[[File:NC393-CS marked ports.jpeg|thumb|200px|Fig.1 10393 interfaces]] |} |} * Power supply wall adapter (default: 18-75V, [[10393_power|more information]]) * Power supply wall adapter (default: 18-75V, [[10393_power|more information]]) Line 18: Line 18: ====Notes==== ====Notes==== -* Boot time: ~40s+* Boot time: ~30s * The default boot is from the on-board NAND flash. [[Boot_options_393|More information]] on available boot options and recovery boot. * The default boot is from the on-board NAND flash. [[Boot_options_393|More information]] on available boot options and recovery boot. -  -==<font color="blue">Connections</font>==  -* Connect [[FPC_cables|sensors to system board]] - FPC cables are not symmetrical  -* Ports:  -{|  -|[[File:NC393-CS marked ports.jpeg|thumb|200px]]  -|}  -* [[10393_power|Power supply]]  ==<font color="blue">Defaults</font>== ==<font color="blue">Defaults</font>== Line 43: Line 35: |} |} -* The IP address is set in the ''/etc/elphel393/init_elphel393.py'' in the currenly mounted rootfs ("/").+* The default IP address is set in the ''/etc/elphel393/init_elphel393.py''. - + -==<font color="blue">init_elphel393.py</font>==+ -* /etc/elphel393/init_elphel393.py+ - + - + ==<font color="blue">Command line access</font>== ==<font color="blue">Command line access</font>== -ssh root@192.168.0.9+* ssh from PC terminal:  + $ ssh root@192.168.0.9 ==<font color="blue">Serial console access</font>== ==<font color="blue">Serial console access</font>== -* Use a ''microUSB-USB cable'' to connect to PC - the cable's end should be thin enough otherwise interferes with the micro SD card.+* Use a ''microUSB-USB cable'' to connect '''console &mu;USB port''' (see Fig.1) to PC - the cable's end should be thin enough otherwise interferes with an inserted mmc ('''m'''ulti '''m'''edia '''c'''ard = &mu;SD card). * Linux: '''minicom -c on''' * Linux: '''minicom -c on''' Oleg

10393

Mon, 12/19/2016 - 14:29

← Older revision Revision as of 21:29, 19 December 2016 Line 85: Line 85: ** Inter-camera module synchronization with a 4-conductor flex cables. ** Inter-camera module synchronization with a 4-conductor flex cables. ** Two of the 10-conductor flex cable ports that carry 3.3VDC, 5.0VDC, USB, i2c and GPIO, compatible with existing [[103695|103695 IMU adapter]] and [[103696|103696 GPS adapter]] boards. ** Two of the 10-conductor flex cable ports that carry 3.3VDC, 5.0VDC, USB, i2c and GPIO, compatible with existing [[103695|103695 IMU adapter]] and [[103696|103696 GPS adapter]] boards.  +  +==Modifications==  +* [http://community.elphel.com/pictures/10393/FIX_boot_from_flash/ Fix boot from flash/mmc] [[Category:393]] [[Category:393]] Oleg

Tmp manual

Mon, 12/19/2016 - 11:39

Important Notes:

← Older revision Revision as of 18:39, 19 December 2016 (8 intermediate revisions not shown)Line 1: Line 1: ==<font color="blue">Important Notes</font>== ==<font color="blue">Important Notes</font>== -* As of 2016/12/15, the software supports only 5MPix sensors, for 14MPix, please see:+* As of 2016/12/15, the software ported from 10353 supports only 5MPix sensors, for 14MPix, please see: **[http://wiki.elphel.com/index.php?title=Tmp_manual&oldid=14676 older version of this manual with links to older software images] **[http://wiki.elphel.com/index.php?title=Tmp_manual&oldid=14676 older version of this manual with links to older software images] Line 59: Line 59: ** likely device: <b>/dev/ttyUSB0</b> ** likely device: <b>/dev/ttyUSB0</b> ** settings: <b>115200 8N1, no</b> for hardware/software flow control ** settings: <b>115200 8N1, no</b> for hardware/software flow control  +  +==<font color="blue">web interface (camvc)</font>==  +http://192.168.0.9/closeme.html (will get changed soon) ==<font color="blue">Get images</font>== ==<font color="blue">Get images</font>== Line 91: Line 94: Example 1: (provide a correct media mount point) Example 1: (provide a correct media mount point) <font size='2'> <font size='2'> -* http://192.168.0.9/camogm.html+* http://192.168.0.9/camogmgui.php -</font>+ - + -Example 2:+ -<font size='2'>+ -* channel '''0''', '''/dev/sda1''', w/o a file name prefix+ -** setup:+ - http://192.168.0.9/camogm.php?chn=0&cmd=prefix=/mnt/sda1/;+ -** start:+ - http://192.168.0.9/camogm.php?chn=0&cmd=start;+ -** stop:+ - http://192.168.0.9/camogm.php?chn=0&cmd=stop;+ </font> </font> Line 110: Line 102: * channel '''2''', '''/home/root''', file prefix='''test_''', '''1GB''' or '''10min''' files whichever occurs first * channel '''2''', '''/home/root''', file prefix='''test_''', '''1GB''' or '''10min''' files whichever occurs first ** setup and start (in one line): ** setup and start (in one line): -  echo "format=mov;status=/var/tmp/camogm2.status;prefix=/home/root/test_;duration=600;length=1073741824;start" > /var/volatile/camogm_cmd2+  echo "format=mov;status=/var/tmp/camogm.status;prefix=/home/root/test_;duration=600;length=1073741824;start" > /var/volatile/camogm_cmd ** stop recording: ** stop recording: -  echo "stop" > /var/volatile/camogm_cmd2+  echo "stop" > /var/volatile/camogm_cmd   sync   sync </font> </font> ==<font color="blue">Change parameters</font>== ==<font color="blue">Change parameters</font>== -* http://192.168.0.9/controls.html - previews and basic parameters:+* http://192.168.0.9/autocampars.php - read & write parameters (through parsedit.php), save configuration (if booted from NAND flash - "shutdown -r now" will sync changes or copy /etc/elphel393/*.xml to /tmp/rootfs.ro/etc/elphel393/ (lower layer of overlayfs), if booted from mmc - no need to reboot, just '''sync''') -** Exposure - the values are in the sensor lines. Currently conversion to seconds is not correct.+* parsedit.php -** WB - r,g,b gains+The response is in XML form: -** Quality - compression quality - individual for compressor but common for the buffer driver - it's better to have the same value for all channels.+ -* For 5MPix the startup settings are defined int the ''/usr/local/verilog/startup5'' on the micro SD card, FAT32 partition:+Read: -  ...+ http://192.168.0.9/parsedit.php?immediate&sensor_port=0&PAR1&PAR2 - -c write_sensor_i2c  all 1 0 0x9009001e (exposure)+Change: - -c write_sensor_i2c  all 1 0 0x9035000a (set all gains to 0xa)+  http://192.168.0.9/parsedit.php?immediate&sensor_port=0&PAR1=VAL1&PAR2=VAL2 - -c write_sensor_i2c  all 1 0 0x902c000e (blue gain to 0xe)+  - -c write_sensor_i2c  all 1 0 0x9009001d (red gain to 0xd)+Note 1: It's just if the parameter value is specified it will be applied. The call can have mixed specified and unspecified parameters. - ...+  -{|+Note 2: The new value is read on the next call. -|[[File:10393_controls.jpeg|thumb|200px]]+  -|}+===Notes===  +* parsedit.php and autocampars.php were ported from 353 camera series. There are a few changes from the originals related to 4x sensor ports:  +** parameters are individual for each sensor port - writing parameters to multiple port at once is controlled with a (bit-)'''mask''' input box  +** if opened w/o sensor_port specified the page will show links to available ports  +** '''sensor_port=x''', where x=0..3 - in the address string - for a single sensor camera it is normally 0 ==<font color="blue">Temperature monitor</font>== ==<font color="blue">Temperature monitor</font>== Oleg

Tmp manual

Sat, 12/17/2016 - 18:10

Change parameters:

← Older revision Revision as of 01:10, 18 December 2016 (7 intermediate revisions not shown)Line 59: Line 59: ** likely device: <b>/dev/ttyUSB0</b> ** likely device: <b>/dev/ttyUSB0</b> ** settings: <b>115200 8N1, no</b> for hardware/software flow control ** settings: <b>115200 8N1, no</b> for hardware/software flow control  +  +==<font color="blue">web interface (camvc)</font>==  +http://192.168.0.9/closeme.html (will get changed soon) ==<font color="blue">Get images</font>== ==<font color="blue">Get images</font>== Line 91: Line 94: Example 1: (provide a correct media mount point) Example 1: (provide a correct media mount point) <font size='2'> <font size='2'> -* http://192.168.0.9/camogm.html+* http://192.168.0.9/camogmgui.php -</font>+ - + -Example 2:+ -<font size='2'>+ -* channel '''0''', '''/dev/sda1''', w/o a file name prefix+ -** setup:+ - http://192.168.0.9/camogm.php?chn=0&cmd=prefix=/mnt/sda1/;+ -** start:+ - http://192.168.0.9/camogm.php?chn=0&cmd=start;+ -** stop:+ - http://192.168.0.9/camogm.php?chn=0&cmd=stop;+ </font> </font> Line 110: Line 102: * channel '''2''', '''/home/root''', file prefix='''test_''', '''1GB''' or '''10min''' files whichever occurs first * channel '''2''', '''/home/root''', file prefix='''test_''', '''1GB''' or '''10min''' files whichever occurs first ** setup and start (in one line): ** setup and start (in one line): -  echo "format=mov;status=/var/tmp/camogm2.status;prefix=/home/root/test_;duration=600;length=1073741824;start" > /var/volatile/camogm_cmd2+  echo "format=mov;status=/var/tmp/camogm.status;prefix=/home/root/test_;duration=600;length=1073741824;start" > /var/volatile/camogm_cmd ** stop recording: ** stop recording: -  echo "stop" > /var/volatile/camogm_cmd2+  echo "stop" > /var/volatile/camogm_cmd   sync   sync </font> </font> ==<font color="blue">Change parameters</font>== ==<font color="blue">Change parameters</font>== -* http://192.168.0.9/controls.html - previews and basic parameters:+* http://192.168.0.9/autocampars.php - read & write parameters (through parsedit.php), save configuration (if booted from NAND flash - "shutdown -r now" will sync changes or copy /etc/elphel393/*.xml to /tmp/rootfs.ro/etc/elphel393/ (lower layer of overlayfs), if booted from mmc - no need to reboot, just '''sync''') -** Exposure - the values are in the sensor lines. Currently conversion to seconds is not correct.+* parsedit.php -** WB - r,g,b gains+The response is in XML form: -** Quality - compression quality - individual for compressor but common for the buffer driver - it's better to have the same value for all channels.+   +Read:  + http://192.168.0.9/parsedit.php?immediate&sensor_port=0&PAR1&PAR2  +Change:  + http://192.168.0.9/parsedit.php?immediate&sensor_port=0&PAR1=VAL1&PAR2=VAL2  +   +Note 1: It's just if the parameter value is specified it will be applied. The call can have mixed specified and unspecified parameters.  +   +Note 2: The new value is read on the next call. -* For 5MPix the startup settings are defined int the ''/usr/local/verilog/startup5'' on the micro SD card, FAT32 partition:+===Notes=== - ...+* parsedit.php and autocampars.php were ported from 353 camera series. There are a few changes from the originals related to 4x sensor ports: - -c write_sensor_i2c  all 1 0 0x9009001e (exposure)+** parameters are individual for each sensor port - writing parameters to multiple port at once is controlled with a (bit-)'''mask''' input box - -c write_sensor_i2c  all 1 0 0x9035000a (set all gains to 0xa)+** if opened w/o sensor_port specified the page will show links to available ports - -c write_sensor_i2c  all 1 0 0x902c000e (blue gain to 0xe)+** '''sensor_port=x''', where x=0..3 - in the address string - for a single sensor camera it is normally 0 - -c write_sensor_i2c  all 1 0 0x9009001d (red gain to 0xd)+ - ...+ -{|+ -|[[File:10393_controls.jpeg|thumb|200px]]+ -|}+ ==<font color="blue">Temperature monitor</font>== ==<font color="blue">Temperature monitor</font>== Oleg

Pages