[Elphel-support] No images from sensor

Linden Mills-Connery lmillsc at gmail.com
Fri Oct 5 15:59:47 PDT 2012


Yup, I'm on an old parsedit. See attached. Will try out the new one later
today/tomorrow.

Should I be worried that my firmware is only partly up to date? Perhaps I
should run an update again? What are your thoughts?

Thanks for the help?

Linden

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

> Yes, I'm on 8.2.13, yours is 8.0.9.2. But the "immediate"-key was added
> long time ago.
> Here's the current listing of parsedit.php<http://elphel.cvs.sourceforge.net/viewvc/elphel/elphel353-8.0/packages/web/353/php_top/parsedit.php>. Check
> if your file is complete - would be interesting to look at it.
>
> Also, you could try to back up you old file and use the new one.
>
> It doesn't actually change the parameters.
>
> It's ok.
>
> Oleg
>
>
> On 5 October 2012 16:34, Linden Mills-Connery <lmillsc at gmail.com> wrote:
>
>> Very odd, do we have different firmware?
>>
>> Without immediate I get the GUI for changing elements, see attached. It
>> doesn't actually change the parameters.
>>
>> Linden
>>
>>
>> On Fri, Oct 5, 2012 at 4:27 PM, Oleg <support-list at support.elphel.com>wrote:
>>
>>> I tried your request and it worked.
>>>
>>> What do you get without "immediate"?
>>>>
>>>>
>>>> http://10.23.33.10/parsedit.php?AUTOEXP_ON=1&WB_EN=1&PF_HEIGHT=0&WOI_TOP=0&WOI_HEIGHT=1936
>>>
>>>
>>> Oleg
>>>
>>> On 5 October 2012 16:21, Linden Mills-Connery <lmillsc at gmail.com> wrote:
>>>
>>>> I have tried this HTTP request in a browser at get an error in the
>>>> returned XML:
>>>>
>>>> http://10.23.33.10/parsedit.php?immediate&AUTOEXP_ON=1&WB_EN=1&PF_HEIGHT=0&WOI_TOP=0&WOI_HEIGHT=1936
>>>>
>>>> Error: "Wrong address==0, probably misspelled constant: 'immediate'"
>>>>
>>>> I get the same error even if I call:
>>>> http://10.23.33.10/parsedit.php?immediate
>>>>
>>>> Not sure what I am missing?
>>>>
>>>> Linden
>>>>
>>>>
>>>> On Fri, Oct 5, 2012 at 2:36 PM, Oleg <support-list at support.elphel.com>wrote:
>>>>
>>>>> There's a part of the file missing.
>>>>>
>>>>> Most likely it is caused by not syncing the camera file system after
>>>>> editing that file and rebooting the camera.
>>>>>
>>>>> The safest way to sync this file is to save it through
>>>>>
>>>>>> 192.168.0.9 -> Parameter Editor
>>>>>
>>>>>
>>>>> Or (in case of editing other files) this can be done from the telnet
>>>>> session with a command "sync".
>>>>>
>>>>> Also, you can change parameters with a http request in the following
>>>>> way:
>>>>>
>>>>>>
>>>>>> http://192.168.0.9/parsedit.php?immediate&PARAMETER1=VALUE1&PARAMETER2=VALUE2.
>>>>>> ..
>>>>>
>>>>>
>>>>> Best regards,
>>>>> Oleg Dzhimiev
>>>>> Electronics Engineer
>>>>> phone: +1 801 783 5555 x124
>>>>> Elphel, Inc.
>>>>>
>>>>> On 5 October 2012 14:18, Linden Mills-Connery <lmillsc at gmail.com>wrote:
>>>>>
>>>>>> 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.
>>>>>>>
>>>>>>
>>>>>>
>>>>>> _______________________________________________
>>>>>> 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
>>>>
>>>
>>
>> _______________________________________________
>> 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/266b4cb7/attachment-0002.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: parsedit.php
Type: application/x-httpd-php
Size: 63739 bytes
Desc: not available
URL: <http://support.elphel.com/pipermail/support-list_support.elphel.com/attachments/20121005/266b4cb7/attachment.php>


More information about the Support-list mailing list