Imaging solutions with Free Software & Open Hardware

Who's online

There are currently 0 users online.

Autocampars 393

Wiki Recent Changes - 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

12/20/16 [imagej-elphel][master] by AndreyFilippov: implemented and tested 2-d lapped dct back and forth

Elphel GIT logs - Tue, 12/20/2016 - 00:41
AndreyFilippov committed changes to the Elphel git project :
implemented and tested 2-d lapped dct back and forth

12/20/16 [imagej-elphel][master] by AndreyFilippov: implemented and tested 2-d lapped dct back and forth

Elphel GIT logs - Tue, 12/20/2016 - 00:41
AndreyFilippov committed changes to the Elphel git project :
implemented and tested 2-d lapped dct back and forth

Tmp manual

Wiki Recent Changes - 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

Wiki Recent Changes - 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

Tmp manual

Wiki Recent Changes - Mon, 12/19/2016 - 17:10

Tmp manual

Wiki Recent Changes - 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

Wiki Recent Changes - 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

Wiki Recent Changes - 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

Wiki Recent Changes - 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

12/19/16 [linux-elphel][master] by Mikhail Karpenko: Fix incorrect updates of write pointer in disk driver

Elphel GIT logs - Mon, 12/19/2016 - 10:53
Mikhail Karpenko committed changes to the Elphel git project :
Fix incorrect updates of write pointer in disk driver

12/19/16 [linux-elphel][] by Mikhail Karpenko: Fix incorrect updates of write pointer in disk driver

Elphel GIT logs - Mon, 12/19/2016 - 10:53
Mikhail Karpenko committed changes to the Elphel git project :
Fix incorrect updates of write pointer in disk driver

12/18/16 [imagej-elphel][dct] by AndreyFilippov: implementng mdct/imdct

Elphel GIT logs - Sun, 12/18/2016 - 22:09
AndreyFilippov committed changes to the Elphel git project :
implementng mdct/imdct

12/18/16 [imagej-elphel][master] by AndreyFilippov: implementng mdct/imdct

Elphel GIT logs - Sun, 12/18/2016 - 22:09
AndreyFilippov committed changes to the Elphel git project :
implementng mdct/imdct

12/18/16 [imagej-elphel][master] by AndreyFilippov: debugging DCT library

Elphel GIT logs - Sun, 12/18/2016 - 02:12
AndreyFilippov committed changes to the Elphel git project :
debugging DCT library

12/18/16 [imagej-elphel][master] by AndreyFilippov: debugging DCT library

Elphel GIT logs - Sun, 12/18/2016 - 02:12
AndreyFilippov committed changes to the Elphel git project :
debugging DCT library

Tmp manual

Wiki Recent Changes - 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

Tmp manual

Wiki Recent Changes - Sat, 12/17/2016 - 17:44

Record:

← Older revision Revision as of 00:44, 18 December 2016 (6 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 boot from NAND flash - "shutdown -r now" will sync changes or copy /etc/elphel393/*.xml to /tmp/rootfs.ro/etc/elphel393/) -** 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

Subscribe to www3.elphel.com aggregator