[Elphel-support] No images from sensor

Linden Mills-Connery lmillsc at gmail.com
Fri Oct 5 13:18:07 PDT 2012


Thanks, that fixed it. Find the bad XML attached.

Linden

On Fri, Oct 5, 2012 at 1:30 PM, Oleg <support-list at support.elphel.com>wrote:

> Linden,
>
> 1. Could you please send the current /etc/autocampars.xml?
> 2. Meanwhile, you can rename the current file and regenerate the dafault
> one:
>
>> php autocampars.php --init
>
> It should create a new /etc/autocampars.xml if it doesn't exist. You might
> need to reboot the camera afterwards for a cleaner effect.
> The same thing will happen if you just reboot w/o this file in place.
>
> On 5 October 2012 12:56, Linden Mills-Connery <lmillsc at gmail.com> wrote:
>
>> I am not sure what triggered the issue as I was not operating the camera.
>> But yes I change several parameters between getting the camera set-up and
>> putting it in line-scan (recording) mode. I am curious what would be
>> the recommended way of changing parameters with HTTP requests. Currently I
>> am emulating the HTTP request made by autocampars.php to change parameters.
>>
>> Output of that call:
>> [root at Elphel353 /usr/html]788# php autocampars.php --init
>> X-Powered-By: PHP/5.2.9
>> Content-type: text/html
>>
>> <br />
>>  <b>Warning</b>:  simplexml_load_file() [<a
>> href='function.simplexml-load-file'>f
>>                                     unction.simplexml-load-file</a>]:
>> /etc/autocampars.xml:74: parser error : Premat
>>                                               ure end of data in tag GAINR
>> line 74 in <b>/mnt/flash/html/autocampars.php</b> o
>>                                                   n line <b>954</b><br />
>> <br />
>> <b>Warning</b>:  simplexml_load_file() [<a
>> href='function.simplexml-load-file'>f
>>                                     unction.simplexml-load-file</a>]: ABLE
>> is enabled this overall gain is split bet
>>                                         ween the sensor analog gain and di
>> in <b>/mnt/flash/html/autocampars.php</b> on
>>                                              line <b>954</b><br />
>> <br />
>> <b>Warning</b>:  simplexml_load_file() [<a
>> href='function.simplexml-load-file'>f
>>                                     unction.simplexml-load-file</a>]:
>>
>>                                                                         ^
>> in <b>/mnt/flash/html/autocampars.php</b> on
>>                                              line <b>954</b><br />
>> <br />
>> <b>Warning</b>:  simplexml_load_file() [<a
>> href='function.simplexml-load-file'>f
>>                                     unction.simplexml-load-file</a>]:
>> /etc/autocampars.xml:74: parser error : Premat
>>                                               ure end of data in tag
>> descriptions line 11 in <b>/mnt/flash/html/autocampars.ph
>>                                                             p</b> on line
>> <b>954</b><br />
>> <br />
>> <b>Warning</b>:  simplexml_load_file() [<a
>> href='function.simplexml-load-file'>f
>>                                     unction.simplexml-load-file</a>]: ABLE
>> is enabled this overall gain is split bet
>>                                         ween the sensor analog gain and di
>> in <b>/mnt/flash/html/autocampars.php</b> on
>>                                              line <b>954</b><br />
>> <br />
>> <b>Warning</b>:  simplexml_load_file() [<a
>> href='function.simplexml-load-file'>f
>>                                     unction.simplexml-load-file</a>]:
>>
>>                                                                         ^
>> in <b>/mnt/flash/html/autocampars.php</b> on
>>                                              line <b>954</b><br />
>> <br />
>> <b>Warning</b>:  simplexml_load_file() [<a
>> href='function.simplexml-load-file'>f
>>                                     unction.simplexml-load-file</a>]:
>> /etc/autocampars.xml:74: parser error : Premat
>>                                               ure end of data in tag
>> autocampars line 3 in <b>/mnt/flash/html/autocampars.php<
>>                                                         /b> on line
>> <b>954</b><br />
>> <br />
>> <b>Warning</b>:  simplexml_load_file() [<a
>> href='function.simplexml-load-file'>f
>>                                     unction.simplexml-load-file</a>]: ABLE
>> is enabled this overall gain is split bet
>>                                         ween the sensor analog gain and di
>> in <b>/mnt/flash/html/autocampars.php</b> on
>>                                              line <b>954</b><br />
>> <br />
>> <b>Warning</b>:  simplexml_load_file() [<a
>> href='function.simplexml-load-file'>f
>>                                     unction.simplexml-load-file</a>]:
>>
>>                                                                         ^
>> in <b>/mnt/flash/html/autocampars.php</b> on
>>                                              line <b>954</b><br />
>> <br />
>> <b>Fatal error</b>:  Call to a member function children() on a non-object
>> in <b>
>>       /mnt/flash/html/autocampars.php</b> on line <b>958</b><br />
>>
>> Is this as simple as re-flashing the original  /etc/autocampars.xml file?
>>
>> Thanks,
>>
>> Linden
>>
>> On Fri, Oct 5, 2012 at 12:34 PM, support-list <
>> support-list at support.elphel.com> wrote:
>>
>>> **
>>> Hello Linden,
>>>
>>> How did camera stop working did you modify (and save any parameters)?
>>> It seems the camera could not finish initialization
>>> /usr/local/html/autocampars.php --init
>>> It may be caused by /etc/autocampars.xml parameters
>>> You may try "/usr/local/html/autocampars.php --init" manually and see
>>> what it will output.
>>>
>>> Andrey
>>>
>>> ---- On Fri, 05 Oct 2012 11:09:00 -0700 *Linden Mills-Connery <
>>> lmillsc at gmail.com>* wrote ----
>>>
>>> Having a problem with the camera sensor no longer recording any images.
>>> I can access the cameras web interface fine but any images are all the
>>> blank 1x1 frames.
>>>
>>> I have attached the system report hoping that this will shed some light
>>> on the issue.
>>>
>>> Thanks,
>>>
>>> Linden
>>> _______________________________________________
>>> Support-list mailing list
>>> Support-list at support.elphel.com
>>>
>>> http://support.elphel.com/mailman/listinfo/support-list_support.elphel.com
>>>
>>>
>>>
>>
>> _______________________________________________
>> Support-list mailing list
>> Support-list at support.elphel.com
>> http://support.elphel.com/mailman/listinfo/support-list_support.elphel.com
>>
>>
>
>
> --
> Best regards,
> Oleg Dzhimiev
> Electronics Engineer
> phone: +1 801 783 5555 x124
> Elphel, Inc.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://support.elphel.com/pipermail/support-list_support.elphel.com/attachments/20121005/380c993c/attachment-0002.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: autocampars.xml
Type: text/xml
Size: 8255 bytes
Desc: not available
URL: <http://support.elphel.com/pipermail/support-list_support.elphel.com/attachments/20121005/380c993c/attachment.xml>


More information about the Support-list mailing list