[Elphel-support] No images from sensor

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


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
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://support.elphel.com/pipermail/support-list_support.elphel.com/attachments/20121005/0a2d0fad/attachment-0002.html>


More information about the Support-list mailing list