Imaging solutions with Free Software & Open Hardware

Who's online

There are currently 0 users online.

Tmp manual

Wiki Recent Changes - Fri, 01/06/2017 - 13:44

browser:

← Older revision Revision as of 20:44, 6 January 2017 Line 150: Line 150: * http://192.168.0.9/camogmgui.php * http://192.168.0.9/camogmgui.php </font> </font>  +Follow [[Camogmgui|this link]] for GUI description. ====command line==== ====command line==== Mikhail

Camogmgui

Wiki Recent Changes - Fri, 01/06/2017 - 13:40

← Older revision Revision as of 20:40, 6 January 2017 Line 1: Line 1: -==Webbased '''G'''raphical '''U'''ser '''I'''nterface for camogm called '''camogmgui'''==+==Web-based Graphical User Interface for camogm== -This interface enables to directly record video to internal/external camera HDD or CF card using just the browser.+The web interface for ''camogm'' is intended for recording of video or images to internal or external storage just from your browser. Elphel393 series cameras support recording in two modes: normal recording to a file system and fast recording to a raw disk or disk partition without any file system on it. ==Prerequisites== ==Prerequisites== -To record video to a brand new HDD it has to be partitioned and formatted first.+Disk should be prepared before it can be used in either of the two modes of recording. Normal recording assumes there is at least one partition with a file system. Follow [[HDD_Format | this guide]] from step 1 to step 4 to prepare a partition for normal recording if your disk is not partitioned yet. Fast recording mode requires at least one partition without file system. Follow [[HDD_Format | this guide]] from step 1 to step 3 to prepare such partition. As alternative, the whole disk can be used as a fast recording buffer and no actions with disk required in this case given that the disk in not partitioned. -To do so follow [[HDD_Format | this guide]] from Steps 1 - 4.+==Interface==  +===Main window===  +Open the following link in your browser to start ''camogmgui''  + http://192.168.0.9/camogmgui.php  +[[File:Camogmgui main.png|center|alt=Main window]]  +The main window of the program consists of several areas (marked in red on the image) and two of them, preview (1) and buffers usage (2), are folded by default. The third area displays a list of files recorded in normal mode to some directory on the mounted disk. This list is empty right after start and you need to press ''Reload'' button to refresh the list. ''Create folder'' button makes new subdirectory in the current directory and ''Set Target Folder'' sets selected directory as a location for recorded files. The group of tabs on the right side contains status information and controls for recording. The first tab of the group, ''Status'', shows status of all ports and some recording statistics. Some fields on this tab are empty right after start but they will be updated as soon as recording has started. By default, the update period during recording is one second. -Camogmgui will takes care of the remaining step 5 and 6 (mounting the HDD) itself.+===Preview===  +[[File:Camogmgui preview.png|center|alt=Preview panel]]  +The ''Live-Preview'' link opens a thumbnail of a captured image and some controls for preview capturing. Preview image can be updated manually each time the ''Update'' button is pressed or automatically within a predefined period of time if ''Auto Update'' check box is checked. The ''Size'' buttons allows you to adjust the image size. Preview is displayed for a single channel selected by ''Port'' radio buttons.  +   +===Buffers usage===  +[[File:Camogmgui buffers.png|center|alt=Buffers usage]]  +The ''Show Buffers'' link opens several bars indicating the usage of in-camera memory buffers. Each bar corresponds to a single sensor port and shows free space left in buffer and the space occupied by images which have not been recorded yet. The status of these bars is updated along with the content of the ''Status'' tab. Click on any bar to fold these indicators back to link. The ''HELP'' link below bars leads to this page.  +   +===File names tab===  +[[File:Camogmgui filenames.png|right|alt=File names tab]]  +The ''Filenames'' tab controls file naming scheme for recorded files. There are three schemes available:  +* Unix time stamps. The name of a file is created from image time stamp and channel number extracted from Exif. The example of such naming scheme is shown on the screenshot of main window. This is a default scheme.  +* Prompt user for file name after recording  +* Advanced naming scheme. This scheme assembles file names using several predefined fields.  +The settings on this tab are ineffective in fast recording mode.  +<br style="clear:both" />  +   +===Format tab===  +[[File:Camogmgui format norm.png|right|alt=Normal recording mode]]  +[[File:Camogmgui format fast.png|right|alt=Fast recording mode]]  +The ''Format'' tab controls recording mode and path for resulting files. The group of radio buttons named ''Format'' selects resulting file format. ''Use fast recording'' check box switches ''camogm'' to fast recording mode and disables ''Format'' and ''Directory'' settings because they are ineffective in this mode. The ''Directory'' text field sets full path to a directory where files are saved. Note, that this is a path in camera system, not on your PC. The ''Devices'' panel shows a list of disks or partitions available for recording. The contents of this panel depends on the mode of operation: in normal recording mode, the list of mountable partitions is shown, and in fast recording mode the list of partitions or disks without file system is presented. The group of controls below devices list allows you to enable or disable ''camogm'' debug output, save this output to a file and adjust its level of verbosity. Do not forget to press ''OK'' button before recording to apply the settings.  +<br style="clear:both" />  +   +===Advanced tab===  +[[File:Camogmgui advanced.png|right|alt=Advanced tab]]  +The ''Advanced'' tab controls how video files are recorded. The settings on this tab allows you to limit the size and duration of single video file. When either limit is reached, ''camogm'' starts recording to a new file. The settings on this tab are ineffective in fast recording mode.  +<br style="clear:both" /> ==Plans for Future Releases== ==Plans for Future Releases== Mikhail

File:Camogmgui advanced.png

Wiki Recent Changes - Fri, 01/06/2017 - 13:11

uploaded "[[File:Camogmgui advanced.png]]"

Mikhail

File:Camogmgui format fast.png

Wiki Recent Changes - Fri, 01/06/2017 - 12:08

uploaded "[[File:Camogmgui format fast.png]]"

Mikhail

File:Camogmgui filenames.png

Wiki Recent Changes - Fri, 01/06/2017 - 11:48

uploaded "[[File:Camogmgui filenames.png]]"

Mikhail

Using camogm with Elphel393 camera

Wiki Recent Changes - Fri, 01/06/2017 - 10:40

← Older revision Revision as of 17:40, 6 January 2017 (One intermediate revision not shown)Line 1: Line 1: -Elphel 393 series cameras can be equipped with m.2 SSD drive used for images and video recording. The camera equipped with a drive should be configured in a way that the drive can be accessible from Linux operating system. This is normally done with a configuration script which is executed during system boot. The script is usually located in the root directory on microSD card or in the /etc directory and called ''init_elphel393.sh''. These is a set of parameters in the beginning of the script and one of them is responsible for SATA controller configuration and driver loading:+===Introduction===  +Elphel 393 series cameras can be equipped with m.2 SSD drive used for images and video recording. The camera equipped with a drive should be configured in a way that the drive can be accessible from Linux operating system. This is normally done with a configuration script which is executed during system boot. The script is located in the /etc/elphel393 directory and called ''init_elphel393.py''. There is a set of parameters which this script receives from init script /etc/ini.d/init_elphel393 and one of them is responsible for SATA controller configuration and driver loading: -  SATA_EN=1+  \"sata\"            :1, Make sure this parameter is set to 1 if your camera is equipped with SSD drive. You should see the following messages in system log after successful initialization and auto-mounting: Make sure this parameter is set to 1 if your camera is equipped with SSD drive. You should see the following messages in system log after successful initialization and auto-mounting: Line 17: Line 18:   [  30.646115] sd 0:0:0:0: [sda] Attached SCSI disk   [  30.646115] sd 0:0:0:0: [sda] Attached SCSI disk -The disk model and the number of partitions(sda1 and sda2) in the example above correspond to a test platform and they may not be the same in your camera. <code>/dev/sda2</code> in this example is not partitioned and not mounted:+The disk model and the number of partitions (sda1 and sda2) in the example above correspond to a test platform and they may not be the same in your camera. <code>/dev/sda2</code> in this example is not partitioned and not mounted:   ~# mount   ~# mount Line 31: Line 32:   /dev/sda1 on /mnt/sda1 type ext2 (rw,relatime,errors=continue)   /dev/sda1 on /mnt/sda1 type ext2 (rw,relatime,errors=continue) -The program for video/images recording is called ''camogm''. Its full description for previous series of Elphel cameras is available on [[Camogm]] wiki page. Current version of the program supports four sensor channels and has the same command set as the previous version, but commands can be sent to each channel separately. The program can be started the same way as described in [[Camogm#Starting_camogm|Starting camogm]] section, but now it will create four command pipes instead of one and each pipe will have channel number appended to the name provided on command line:+The program for video/images recording is called ''camogm''. Its full description for previous series of Elphel cameras is available on [[Camogm]] wiki page. Current version of the program supports four sensor channels and has the same command set as the previous version. The program can be started the same way as described in [[Camogm#Starting_camogm|Starting camogm]] section and it will create command pipe called ''camogm_cmd'' in the following directory:   root@elphel393:~# ls -l /var/volatile/state/   root@elphel393:~# ls -l /var/volatile/state/ Line 42: Line 43: Note, that ''camogm'' is under development and not all features of the previous version have been ported to new camera. As for now, geo tagging and exif specific commands are not implemented. Watch for updates on our [https://github.com/Elphel github page]. Note, that ''camogm'' is under development and not all features of the previous version have been ported to new camera. As for now, geo tagging and exif specific commands are not implemented. Watch for updates on our [https://github.com/Elphel github page].  +You can start ''camogm'' as a standalone command-line application or use web GUI interface in a browser to control the program. The examples of using ''camogm'' in both ways are shown below. ===Example=== ===Example=== ====1. WebGUI==== ====1. WebGUI==== * http://192.168.0.9/camogmgui.php * http://192.168.0.9/camogmgui.php -* In the '''Format''' tab checkthe settings then press OK button+* In the '''Format''' tab check the settings then press OK button {| {| | valign='top'|[[File:Camogmgui format tab.png|thumb|400px|Fig.1 Camogmgui - change recording formats]] | valign='top'|[[File:Camogmgui format tab.png|thumb|400px|Fig.1 Camogmgui - change recording formats]] Line 51: Line 53: |} |} =====Fast recording===== =====Fast recording=====  +''camogm'' can write data to disk or partition in a special fast recording mode. This mode supports higher sequential write speeds than those that can be achieved during regular file recording to a file system but additional step to extract data from disk is needed. Use [https://github.com/Elphel/elphel-tools-x393 these scripts] to extract raw data from disk and split it into separate images. * Keep '''Use fast recording''' checkbox selected - press OK then RECORD * Keep '''Use fast recording''' checkbox selected - press OK then RECORD ** An image sequence will be written to a raw partition. ** An image sequence will be written to a raw partition. Line 56: Line 59: =====Normal recording===== =====Normal recording=====  +In this mode ''camogm'' saves data to regular files on a file system. * Deselect '''Use fast recording''' * Deselect '''Use fast recording''' * Choose '''Format''' (Ogg Media Stream is not tested) * Choose '''Format''' (Ogg Media Stream is not tested) Mikhail

File:Camogmgui main.png

Wiki Recent Changes - Fri, 01/06/2017 - 09:47

uploaded "[[File:Camogmgui main.png]]"

Mikhail

Tmp manual

Wiki Recent Changes - Fri, 01/06/2017 - 06:44

Serial console access:

← Older revision Revision as of 13:44, 6 January 2017 Line 82: 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 - +Refer to the following article for more details on using '''minicom''': [http://wiki.elphel.com/index.php?title=Using_minicom_to_connect_to_Elphel393_camera Using minicom to connect to Elphel393 camera] - + ==<font color="blue">Web user interface (camvc)</font>== ==<font color="blue">Web user interface (camvc)</font>== Mikhail

Boot options 393

Wiki Recent Changes - Fri, 01/06/2017 - 06:18

← Older revision Revision as of 13:18, 6 January 2017 (One intermediate revision not shown)Line 17: Line 17: ==<font color="blue">Boot instructions</font>== ==<font color="blue">Boot instructions</font>== ===Internal NAND flash (default)=== ===Internal NAND flash (default)=== -* Make sure the recovery card is not inserted (recovery card can stay in)+* Make sure the recovery card is not inserted (regular card can stay in) * Power on * Power on Line 79: Line 79: * '''To build a custom device tree''', see [http://wiki.elphel.com/index.php?title=Poky_2.0_manual SDK manual]''' * '''To build a custom device tree''', see [http://wiki.elphel.com/index.php?title=Poky_2.0_manual SDK manual]'''  +The cp210x_gpio.py script controls GPIO pins for CP210X USB to UART Bridges and it comes with the patch for the cp210x driver. ==<font color="blue">cp210x_gpio.py -h</font>== ==<font color="blue">cp210x_gpio.py -h</font>==   $./cp210x_gpio.py -h   $./cp210x_gpio.py -h Mikhail

Using camogm with Elphel393 camera

Wiki Recent Changes - Thu, 01/05/2017 - 20:25

← Older revision Revision as of 03:25, 6 January 2017 Line 1: Line 1: -Elphel 393 series cameras can be equipped with m.2 SSD drive used for images and video recording. The camera equipped with a drive should be configured in a way that the drive can be accessible from Linux operating system. This is normally done with a configuration script which is executed during system boot. The script is usually located in the root directory on microSD card or in the /etc directory and called ''init_elphel393.sh''. These is a set of parameters in the beginning of the script and one of them is responsible for SATA controller configuration and driver loading:+===Introduction===  +Elphel 393 series cameras can be equipped with m.2 SSD drive used for images and video recording. The camera equipped with a drive should be configured in a way that the drive can be accessible from Linux operating system. This is normally done with a configuration script which is executed during system boot. The script is located in the /etc/elphel393 directory and called ''init_elphel393.py''. There is a set of parameters which this script receives from init script /etc/ini.d/init_elphel393 and one of them is responsible for SATA controller configuration and driver loading: -  SATA_EN=1+  \"sata\"            :1, Make sure this parameter is set to 1 if your camera is equipped with SSD drive. You should see the following messages in system log after successful initialization and auto-mounting: Make sure this parameter is set to 1 if your camera is equipped with SSD drive. You should see the following messages in system log after successful initialization and auto-mounting: Line 17: Line 18:   [  30.646115] sd 0:0:0:0: [sda] Attached SCSI disk   [  30.646115] sd 0:0:0:0: [sda] Attached SCSI disk -The disk model and the number of partitions(sda1 and sda2) in the example above correspond to a test platform and they may not be the same in your camera. <code>/dev/sda2</code> in this example is not partitioned and not mounted:+The disk model and the number of partitions (sda1 and sda2) in the example above correspond to a test platform and they may not be the same in your camera. <code>/dev/sda2</code> in this example is not partitioned and not mounted:   ~# mount   ~# mount Line 31: Line 32:   /dev/sda1 on /mnt/sda1 type ext2 (rw,relatime,errors=continue)   /dev/sda1 on /mnt/sda1 type ext2 (rw,relatime,errors=continue) -The program for video/images recording is called ''camogm''. Its full description for previous series of Elphel cameras is available on [[Camogm]] wiki page. Current version of the program supports four sensor channels and has the same command set as the previous version, but commands can be sent to each channel separately. The program can be started the same way as described in [[Camogm#Starting_camogm|Starting camogm]] section, but now it will create four command pipes instead of one and each pipe will have channel number appended to the name provided on command line:+The program for video/images recording is called ''camogm''. Its full description for previous series of Elphel cameras is available on [[Camogm]] wiki page. Current version of the program supports four sensor channels and has the same command set as the previous version. The program can be started the same way as described in [[Camogm#Starting_camogm|Starting camogm]] section and it will create command pipe called ''camogm_cmd'' in the following directory:   root@elphel393:~# ls -l /var/volatile/state/   root@elphel393:~# ls -l /var/volatile/state/ Line 42: Line 43: Note, that ''camogm'' is under development and not all features of the previous version have been ported to new camera. As for now, geo tagging and exif specific commands are not implemented. Watch for updates on our [https://github.com/Elphel github page]. Note, that ''camogm'' is under development and not all features of the previous version have been ported to new camera. As for now, geo tagging and exif specific commands are not implemented. Watch for updates on our [https://github.com/Elphel github page].  +You can start ''camogm'' as a stand-along command-line application or use web GUI interface in a browser to control the program. The examples of using ''camogm'' in both ways are shown below. ===Example=== ===Example=== ====1. WebGUI==== ====1. WebGUI==== * http://192.168.0.9/camogmgui.php * http://192.168.0.9/camogmgui.php -* In the '''Format''' tab checkthe settings then press OK button+* In the '''Format''' tab check the settings then press OK button {| {| | valign='top'|[[File:Camogmgui format tab.png|thumb|400px|Fig.1 Camogmgui - change recording formats]] | valign='top'|[[File:Camogmgui format tab.png|thumb|400px|Fig.1 Camogmgui - change recording formats]] Line 51: Line 53: |} |} =====Fast recording===== =====Fast recording=====  +''camogm'' can write data to disk or partition in a special fast recording mode. This mode supports higher sequential write speeds than those that can be achieved during regular file recording to a file system but additional step to extract data from disk is needed. Use [https://github.com/Elphel/elphel-tools-x393 these scripts] to extract raw data from disk and split it into separate images. * Keep '''Use fast recording''' checkbox selected - press OK then RECORD * Keep '''Use fast recording''' checkbox selected - press OK then RECORD ** An image sequence will be written to a raw partition. ** An image sequence will be written to a raw partition. Line 56: Line 59: =====Normal recording===== =====Normal recording=====  +In this mode ''camogm'' saves data to regular files on a file system. * Deselect '''Use fast recording''' * Deselect '''Use fast recording''' * Choose '''Format''' (Ogg Media Stream is not tested) * Choose '''Format''' (Ogg Media Stream is not tested) Mikhail

01/05/17 [imagej-elphel][master] by AndreyFilippov: Merge remote-tracking branch 'origin/dct'

Elphel GIT logs - Thu, 01/05/2017 - 20:23
AndreyFilippov committed changes to the Elphel git project :
Merge remote-tracking branch 'origin/dct'

01/05/17 [imagej-elphel][] by AndreyFilippov: Merge remote-tracking branch 'origin/dct'

Elphel GIT logs - Thu, 01/05/2017 - 20:23
AndreyFilippov committed changes to the Elphel git project :
Merge remote-tracking branch 'origin/dct'

01/05/17 [imagej-elphel][dct] by AndreyFilippov: trying with pure anti-periodic kernels

Elphel GIT logs - Thu, 01/05/2017 - 20:15
AndreyFilippov committed changes to the Elphel git project :
trying with pure anti-periodic kernels

01/05/17 [imagej-elphel][] by AndreyFilippov: trying with pure anti-periodic kernels

Elphel GIT logs - Thu, 01/05/2017 - 20:15
AndreyFilippov committed changes to the Elphel git project :
trying with pure anti-periodic kernels

10393

Wiki Recent Changes - Thu, 01/05/2017 - 20:14

Mechanical properties:

← Older revision Revision as of 03:14, 6 January 2017 (3 intermediate revisions not shown)Line 21: Line 21: ====Interfaces==== ====Interfaces==== -[[File:Nc393 4sensors.jpeg|thumb|220px|10393 + 4 sensors]]+[[File:Nc393-dev-sm.jpeg|thumb|220px|10393 + 4 sensors]] * Gigabit ethernet * Gigabit ethernet * micro USB - system console (serial port), reboot, select boot device * micro USB - system console (serial port), reboot, select boot device Line 42: Line 42: ====Power==== ====Power==== * 3.3VDC * 3.3VDC -====Mechanical properties====+====Physical properties==== * Dimensions: 96x38x20.5 mm (with all connectors installed). Height can be reduced by removing the network connector. * Dimensions: 96x38x20.5 mm (with all connectors installed). Height can be reduced by removing the network connector. * Weight: 31 g * Weight: 31 g Line 58: Line 58: * Sources: * Sources: ** [https://github.com/Elphel GitHub/Elphel] ** [https://github.com/Elphel GitHub/Elphel]  +* SDK installation docs  +** [[Poky_2.0_manual|Set up development environment]]  +  +====User Manual====  +* [[Tmp_manual|User guide]] ====License==== ====License==== Oleg

10393

Wiki Recent Changes - Thu, 01/05/2017 - 17:46

SDK:

← Older revision Revision as of 00:46, 6 January 2017 (One intermediate revision not shown)Line 58: Line 58: * Sources: * Sources: ** [https://github.com/Elphel GitHub/Elphel] ** [https://github.com/Elphel GitHub/Elphel]  +* SDK installation docs  +** [[Poky_2.0_manual|Set up development environment]]  +  +====User Manual====  +* [[Tmp_manual|User guide]] ====License==== ====License==== Oleg

01/05/17 [elphel-apps-camogm][master] by Mikhail Karpenko: Add camogm_test binary to .gitignore

Elphel GIT logs - Thu, 01/05/2017 - 15:53
Mikhail Karpenko committed changes to the Elphel git project :
Add camogm_test binary to .gitignore

01/05/17 [elphel-apps-camogm][] by Mikhail Karpenko: Add camogm_test binary to .gitignore

Elphel GIT logs - Thu, 01/05/2017 - 15:53
Mikhail Karpenko committed changes to the Elphel git project :
Add camogm_test binary to .gitignore

01/05/17 [elphel-apps-camogm][master] by Mikhail Karpenko: Do not restart file in raw mode when frame limit is reached

Elphel GIT logs - Thu, 01/05/2017 - 15:50
Mikhail Karpenko committed changes to the Elphel git project :
Do not restart file in raw mode when frame limit is reached

01/05/17 [elphel-apps-camogm][] by Mikhail Karpenko: Do not restart file in raw mode when frame limit is reached

Elphel GIT logs - Thu, 01/05/2017 - 15:50
Mikhail Karpenko committed changes to the Elphel git project :
Do not restart file in raw mode when frame limit is reached

Pages

Subscribe to www3.elphel.com aggregator