Menu

#37 ieq45

1.2.X
closed
nobody
None
1
2016-02-11
2013-01-09
No

Hi,
I'm trying the iOptron ieq45.
This summer, the first one I had works fine (with pad 8406, can not remember the firmware version, IIRC).
Now I own a new one with pad 8407 and the latest release of the firmware, but it not works.

I get the same result both locally and remotely, but with Windows and ASCOM drivers work properly

This is what I get from the logs when i try to connect


2013-01-09T11:11:01: Client 0: read newSwitchVector IEQ45 CONNECTION 
    CONNECT='On'
2013-01-09T11:11:01: Driver indi_ieq45: queuing responsible for <newSwitchVector device='IEQ45' name='CONNECTION'>
2013-01-09T11:11:01: Driver indi_ieq45: sending msg copy 1 nq 1:
<newSwitchVector device="IEQ45" name="CONNECTION">
    <oneSwitch name="CONNECT">
On
    </oneSwitch>
</newSwitchVector>

2013-01-09T11:11:01: Driver indi_ieq45: Testing telescope's connection using FirmwareDate command...
2013-01-09T11:11:11: Driver indi_ieq45: read setSwitchVector IEQ45 CONNECTION Idle 'Error connecting to Telescope. Telescope is offline.'
    CONNECT='Off'
 DISCONNECT='On'
2013-01-09T11:11:11: Client 0: queuing <setSwitchVector device='IEQ45' name='CONNECTION'>
2013-01-09T11:11:11: Client 0: sending msg copy 1 nq 1:
<setSwitchVector device="IEQ45" name="CONNECTION" state="Idle" timeout="60" timestamp="2013-01-09T11:11:11" message="Error connecting to Telescope. Telescope is offline.">
    <oneSwitch name="CONNECT">
Off
    </oneSwitch>
    <oneSwitch name="DISCONNECT">
On
    </oneSwitch>
</setSwitchVector>

There 's something I can check?

Discussion

  • nacho

    nacho - 2013-02-05

    Supposing your port setting is OK Its looks like your new version does not respond to the firmwareDate command used to check the connection.

    I have the older one thus I need your help to fix the problem.

    You can try:

    .- Connect through a serial (hyperterminal, minicom or similar). Send the command :FirmWareDate# and see if respond anything.
    .- Try indi_lx200basic driver and tell me the result.

    Nacho Mas

     

    Last edit: nacho 2013-02-05
  • Stefano Morandi

    Stefano Morandi - 2013-02-05

    How i can do in minicom?
    I tried with 38400 8N1/9660 8N1 without any response

    2013-02-05T21:18:37: Client 0: read newTextVector LX200 Basic DEVICE_PORT 
           PORT='/dev/ttyUSB0'
    2013-02-05T21:18:37: Driver indi_lx200basic: queuing responsible for <newTextVector device='LX200 Basic' name='DEVICE_PORT'>
    2013-02-05T21:18:37: Driver indi_lx200basic: sending msg copy 1 nq 1:
    <newTextVector device="LX200 Basic" name="DEVICE_PORT">
        <oneText name="PORT">
    /dev/ttyUSB0
        </oneText>
    </newTextVector>
    
    2013-02-05T21:18:37: Driver indi_lx200basic: read setTextVector LX200 Basic DEVICE_PORT Ok
           PORT='/dev/ttyUSB0'
    2013-02-05T21:18:37: Client 0: queuing <setTextVector device='LX200 Basic' name='DEVICE_PORT'>
    2013-02-05T21:18:37: Client 0: sending msg copy 1 nq 1:
    <setTextVector device="LX200 Basic" name="DEVICE_PORT" state="Ok" timeout="0" timestamp="2013-02-05T21:18:37">
        <oneText name="PORT">
    /dev/ttyUSB0
        </oneText>
    </setTextVector>
    
    2013-02-05T21:18:40: Client 0: read newSwitchVector LX200 Basic CONNECTION 
        CONNECT='On'
    2013-02-05T21:18:40: Driver indi_lx200basic: queuing responsible for <newSwitchVector device='LX200 Basic' name='CONNECTION'>
    2013-02-05T21:18:40: Driver indi_lx200basic: sending msg copy 1 nq 1:
    <newSwitchVector device="LX200 Basic" name="CONNECTION">
        <oneSwitch name="CONNECT">
    On
        </oneSwitch>
    </newSwitchVector>
    
    2013-02-05T21:18:40: Driver indi_lx200basic: Testing telescope's connection using ACK...
    2013-02-05T21:18:50: Driver indi_lx200basic: read setSwitchVector LX200 Basic CONNECTION Idle 'Error connecting to Telescope. Telescope is offline.'
        CONNECT='Off'
     DISCONNECT='On'
    2013-02-05T21:18:50: Client 0: queuing <setSwitchVector device='LX200 Basic' name='CONNECTION'>
    2013-02-05T21:18:50: Client 0: sending msg copy 1 nq 1:
    <setSwitchVector device="LX200 Basic" name="CONNECTION" state="Idle" timeout="60" timestamp="2013-02-05T21:18:50" message="Error connecting to Telescope. Telescope is offline.">
        <oneSwitch name="CONNECT">
    Off
        </oneSwitch>
        <oneSwitch name="DISCONNECT">
    On
        </oneSwitch>
    </setSwitchVector>
    

    But I think is my fault: with stellarium and lx2000 driver it works fine

    All test on Ubuntu 12.04 64bit (indi from launchpad)

     
  • nacho

    nacho - 2013-02-05

    As I understand you have not connect with ieq45 driver neither lx200basic

    IEQ45 has a subset of LX200 commands. Also has no standard msg that make it not fully compatible. I will go deeper asking Ioptron people and looking at stellarium driver. Meanwhile sorry for the inconvinience.

    Regards

     
  • nacho

    nacho - 2013-02-05

    I checked and IOptron people have changed the command set. Find enclosed a file with a possible solution.

    Replace the file indi-code/libindi/drivers/telescope/ieq45driver.c in your disk source code tree for this one and compile/install again as usual.

    I hope it works. I can't test without a real 8407 mount.

    Regards

     
  • Stefano Morandi

    Stefano Morandi - 2013-02-06

    Thanks for your support!

    Yes, now I can connect, but nothing more :-(

    ~~~~~~~~~~~~~~
    2013-02-06T11:08:10: Client 0: read newSwitchVector IEQ45 CONNECTION
    CONNECT='On'
    2013-02-06T11:08:10: Driver indi_ieq45: queuing responsible for <newswitchvector device="IEQ45" name="CONNECTION">
    2013-02-06T11:08:10: Driver indi_ieq45: sending msg copy 1 nq 1:
    <newswitchvector device="IEQ45" name="CONNECTION">
    <oneswitch name="CONNECT">
    On
    </oneswitch>
    </newswitchvector></newswitchvector>

    2013-02-06T11:08:10: Driver indi_ieq45: Telescope is offline.Testing telescope's connection using :V# command...
    2013-02-06T11:08:10: Driver indi_ieq45: read setSwitchVector IEQ45 CONNECTION Ok 'Telescope is online. Retrieving basic data...'
    CONNECT='On'
    DISCONNECT='Off'
    2013-02-06T11:08:10: Client 0: queuing <setswitchvector device="IEQ45" name="CONNECTION">
    2013-02-06T11:08:10: Client 0: sending msg copy 1 nq 1:
    <setswitchvector device="IEQ45" name="CONNECTION" state="Ok" timeout="60" timestamp="2013-02-06T11:08:10" message="Telescope is online. Retrieving basic data...">
    <oneswitch name="CONNECT">
    On
    </oneswitch>
    <oneswitch name="DISCONNECT">
    Off
    </oneswitch>
    </setswitchvector></setswitchvector>

    2013-02-06T11:08:10: Driver indi_ieq45: read setNumberVector IEQ45 EQUATORIAL_EOD_COORD Alert
    RA='3.0713888888888889461'
    DEC='3.0713888888888889461'
    2013-02-06T11:08:10: Client 0: queuing <setnumbervector device="IEQ45" name="EQUATORIAL_EOD_COORD">
    2013-02-06T11:08:10: Client 0: sending msg copy 1 nq 1:
    <setnumbervector device="IEQ45" name="EQUATORIAL_EOD_COORD" state="Alert" timeout="0" timestamp="2013-02-06T11:08:10">
    <onenumber name="RA">
    3.0713888888888889461
    </onenumber>
    <onenumber name="DEC">
    3.0713888888888889461
    </onenumber>
    </setnumbervector>
    ~~~~~~~~~~~~~~~~~</setnumbervector>

    On Slew command

    ~~~~~~~~~~~~~~~~
    013-02-06T11:08:38: Client 0: read newSwitchVector IEQ45 ON_COORD_SET
    SLEW='On'
    2013-02-06T11:08:38: Driver indi_ieq45: queuing responsible for <newswitchvector device="IEQ45" name="ON_COORD_SET">
    2013-02-06T11:08:38: Driver indi_ieq45: sending msg copy 1 nq 1:
    <newswitchvector device="IEQ45" name="ON_COORD_SET">
    <oneswitch name="SLEW">
    On
    </oneswitch>
    </newswitchvector></newswitchvector>

    2013-02-06T11:08:38: Driver indi_ieq45: read setSwitchVector IEQ45 ON_COORD_SET Ok
    SLEW='On'
    SYNC='Off'
    2013-02-06T11:08:38: Client 0: queuing <setswitchvector device="IEQ45" name="ON_COORD_SET">
    2013-02-06T11:08:38: Client 0: sending msg copy 1 nq 1:
    <setswitchvector device="IEQ45" name="ON_COORD_SET" state="Ok" timeout="0" timestamp="2013-02-06T11:08:38">
    <oneswitch name="SLEW">
    On
    </oneswitch>
    <oneswitch name="SYNC">
    Off
    </oneswitch>
    </setswitchvector></setswitchvector>

    2013-02-06T11:08:38: Client 0: read newNumberVector IEQ45 EQUATORIAL_EOD_COORD
    RA='17,4622'
    DEC='86,5724'
    2013-02-06T11:08:38: Driver indi_ieq45: queuing responsible for <newnumbervector device="IEQ45" name="EQUATORIAL_EOD_COORD">
    2013-02-06T11:08:38: Driver indi_ieq45: sending msg copy 1 nq 1:
    <newnumbervector device="IEQ45" name="EQUATORIAL_EOD_COORD">
    <onenumber name="RA">
    17,4622
    </onenumber>
    <onenumber name="DEC">
    86,5724
    </onenumber>
    </newnumbervector></newnumbervector>

    2013-02-06T11:08:38: Driver indi_ieq45: read setNumberVector IEQ45 EQUATORIAL_EOD_COORD Alert 'RA or Dec missing or invalid'
    RA='3.0713888888888889461'
    DEC='3.0713888888888889461'
    2013-02-06T11:08:38: Client 0: queuing <setnumbervector device="IEQ45" name="EQUATORIAL_EOD_COORD">
    2013-02-06T11:08:38: Client 0: sending msg copy 1 nq 1:
    <setnumbervector device="IEQ45" name="EQUATORIAL_EOD_COORD" state="Alert" timeout="0" timestamp="2013-02-06T11:08:38" message="RA or Dec missing or invalid">
    <onenumber name="RA">
    3.0713888888888889461
    </onenumber>
    <onenumber name="DEC">
    3.0713888888888889461
    </onenumber>
    </setnumbervector>
    ~~~~~~~~~~~~~~~~~~~~~</setnumbervector>

    Regards

     
  • nacho

    nacho - 2013-02-06

    OK. Little a improvement. All go well but mount does not respond.

    I am not sure but looks that 8407 version wants a “:MountInfo#” command at the very beginning.

    Try this other (attached).

    Regars

     
  • Stefano Morandi

    Stefano Morandi - 2013-02-07

    No luck :(

    When i move the mount with the pad, i can see the crosshair moving (i'm using kstars), but when i try the slew command i get this:

    ~~~~~~~~~~~~~~~~
    2013-02-07T09:29:46: Client 0: read newSwitchVector IEQ45 ON_COORD_SET
    SLEW='On'
    2013-02-07T09:29:46: Driver indi_ieq45: queuing responsible for <newswitchvector device="IEQ45" name="ON_COORD_SET">
    2013-02-07T09:29:46: Driver indi_ieq45: sending msg copy 1 nq 1:
    <newswitchvector device="IEQ45" name="ON_COORD_SET">
    <oneswitch name="SLEW">
    On
    </oneswitch>
    </newswitchvector></newswitchvector>

    2013-02-07T09:29:46: Driver indi_ieq45: read setSwitchVector IEQ45 ON_COORD_SET Ok
    SLEW='On'
    SYNC='Off'
    2013-02-07T09:29:46: Client 0: queuing <setswitchvector device="IEQ45" name="ON_COORD_SET">
    2013-02-07T09:29:46: Client 0: sending msg copy 1 nq 1:
    <setswitchvector device="IEQ45" name="ON_COORD_SET" state="Ok" timeout="0" timestamp="2013-02-07T09:29:46">
    <oneswitch name="SLEW">
    On
    </oneswitch>
    <oneswitch name="SYNC">
    Off
    </oneswitch>
    </setswitchvector></setswitchvector>

    2013-02-07T09:29:46: Client 0: read newNumberVector IEQ45 EQUATORIAL_EOD_COORD
    RA='12,2683'
    DEC='56,954'
    2013-02-07T09:29:46: Driver indi_ieq45: queuing responsible for <newnumbervector device="IEQ45" name="EQUATORIAL_EOD_COORD">
    2013-02-07T09:29:46: Driver indi_ieq45: sending msg copy 1 nq 1:
    <newnumbervector device="IEQ45" name="EQUATORIAL_EOD_COORD">
    <onenumber name="RA">
    12,2683
    </onenumber>
    <onenumber name="DEC">
    56,954
    </onenumber>
    </newnumbervector></newnumbervector>

    2013-02-07T09:29:46: Driver indi_ieq45: read setNumberVector IEQ45 EQUATORIAL_EOD_COORD Alert 'RA or Dec missing or invalid'
    RA='13.016944444444444429'
    DEC='42.641944444444440876'
    2013-02-07T09:29:46: Client 0: queuing <setnumbervector device="IEQ45" name="EQUATORIAL_EOD_COORD">
    2013-02-07T09:29:46: Client 0: sending msg copy 1 nq 1:
    <setnumbervector device="IEQ45" name="EQUATORIAL_EOD_COORD" state="Alert" timeout="0" timestamp="2013-02-07T09:29:46" message="RA or Dec missing or invalid">
    <onenumber name="RA">
    13.016944444444444429
    </onenumber>
    <onenumber name="DEC">
    42.641944444444440876
    </onenumber>
    </setnumbervector></setnumbervector>

    ~~~~~~~~~~~~~~~

     
  • nacho

    nacho - 2013-02-07

    Hi Stefano,

    Take my attention that sometimes (depending of communication direction) a point is use as decimal separator and sometimes is a coma. May be relate to your locale settings.

    To test if this is the problem try:

    export LC_ALL="C";indiserver ieq45

    export LC_ALL="C";kstars

    Also send me the connection part (not only the slew response) to see if my fix is working.

    If does not work next step:Its complicate to fix without have a real mount.... Do you have enough skills to do a serial port forwarding through Internet? Do you know socat command?

    http://www.lowlevel.cz/log/cats/english/Socat%20and%20serial%20port%20over%20TCP-IP.html

    Good luck!
    Nacho Mas

     
  • Stefano Morandi

    Stefano Morandi - 2013-02-08

    I sent you an email :)

     
  • nacho

    nacho - 2013-02-10

    Close,

    IOptron people changes the command set on the IEQ45 new version (8407 handheld). New driver created. indi_ieq45_8407. The old one was renamed indi_ieq45_8406.

    Great Thanks to Stefano for help to fix.

    Changes upload to SVN.

     
  • Jasem Mutlaq

    Jasem Mutlaq - 2013-05-05
    • status: open --> closed
     

Log in to post a comment.

MongoDB Logo MongoDB