Long Jon replied to the topic 'Driver for Ioptron Ieq45 with 8406 Hand Controler' in the forum. 2 months ago

Hi Nacho,

Thank You for your work. I have compiled the driver. The weather is poor. I will try to test the driver over the weekend.

Robert

Read More...

Long Jon replied to the topic 'Driver for Ioptron Ieq45 with 8406 Hand Controler' in the forum. 2 months ago

I did not talk about it with Ioptron. I know this from deleted Yahoo group "Ioptron telescope etc.." and yahoo group about Skysafari.

I have succesfuly calibrated mount. I have made first guided exposeure with Ekos. Code from previous post works.

Problem is with isSlewComplete method. I can't make exposures after goto. Have to disconnect, make calibration again (internal guider don't save calibration), make photo.
First I will try this code if (currentRA==targetRA and currentDEC==targetDEC) return true; for isSlewing method.

Commnad :CM# is ignored if telescope is slewing and return "Cordinates matched ... etc" if telescope is not slewing. Command reference say about do :CM# after goto and :CMR# in other Sync case etc. If simple solution with compare current and target RA/DEC fail, I will try merge it with Sync command :CM#.

Obsolte driver has many functions. I vote on 4. new driver on base on LX200GotoNova and implement functionality from Your driver.

Thank you

Robert

Read More...

Long Jon replied to the topic 'Driver for Ioptron Ieq45 with 8406 Hand Controler' in the forum. 2 months ago

Thank you for the attached documents. Document "iOptron iEQ45 RS-232 COMMAND LANGUAGE November 22, 2010" is correct for Ieq45 with 8406HC.
It confirms that the appropriate commands for the pulse guide are like "Me999#" .

I do not have much programming skills but I will try to improve the driver.

Comands Me# and Mw# dosen't works corect. There is bug in the firmware. Ioptron will never fix it. I think about workaround. Maxim Dl uses small goto for move by arrows.

Could You check commands :SE?# and :SE# ?. My mount does not respond to them.

Read More...

Long Jon replied to the topic '2 x Meade DSI-Unable to find DSI. Has the firmware been loaded?' in the forum. 2 months ago

bgilsrud wrote: Nice work!
..
I'm glad to hear that your DSI III is working with the INDI driver...I think you're the first one to confirm this.

..


I run two instances of driver.
I think only few people use two DSIs with Indi. My DSI III has additional 4-stage peltier cooling. My code modification is sufficient for me.

Your driver is better than the original ASCOM. The driver allows to turn off the amplifier. Thank you for excelent work.

The ccd sensor in Meade DSI III Color is ICX285AQ
please add this code:

else if (ccd == "ICX285AQ")
{
DEBUG (INDI :: Logger :: DBG_SESSION, "Found a DSI Color III!");
}

I have to manualy enter RGGB filter in order to debayer in fits preview.

Read More...

Long Jon replied to the topic '2 x Meade DSI-Unable to find DSI. Has the firmware been loaded?' in the forum. 2 months ago

I can connect two camera with this modification. Ekos see it as "Meade Deep Sky Guide" and "Meade Deep Sky Guide 2".
Whichever camera I choose, preview is from the same camera. Have I change some name etc?
The properties of each camera in the Indi control panel are correct (image size .... etc).

handle = NULL;
    for (i = 0; i < cnt; ++i)
    {
        if (!libusb_get_device_descriptor(list[i], &desc))
        {
            if ((desc.idVendor == 0x156c) && (desc.idProduct = 0x0101))
            {
                dev = list[i];
                if (libusb_open(dev, &handle))
                {
                    dev = NULL; 
                }
                else // device opened - check is already claimed
				   if  (!libusb_claim_interface (handle,0)) 
				   {
				    libusb_release_interface (handle,0); // first dsi found not claimed - end loop
				    break;
				   }
            }
        }
    }


Read More...

Long Jon replied to the topic '2 x Meade DSI-Unable to find DSI. Has the firmware been loaded?' in the forum. 2 months ago

This code dosen't work. How to chceck is device already opened by another instance of driver?

Lsusb shows that firmware is loaded for both dsi. I can connect only to one.

Read More...

Long Jon replied to the topic 'Driver for Ioptron Ieq45 with 8406 Hand Controler' in the forum. 2 months ago

knro wrote:

silver wrote: GotoNova driver: isSlewComplete give timeout error.
Yes, it should just be const char *cmd = "SE?#"


I tried commands :SE?# and SE# from serial terminal and Ieq45 with 8406 HC controler give no answer. Probably this command is not supported.
Is another way to check is slew completed? For example target position mached with current position etc ?. I think maxim DL does it this way with this mount.



Read More...

Long Jon replied to the topic 'Driver for Ioptron Ieq45 with 8406 Hand Controler' in the forum. 2 months ago

knro wrote: that looks fine, submit it on Github as Pull-Request.


I don't know how to do this (Pull-request), but I will learn.

I need more testing. I have sniffed Ascom Driver 2.11 (phd - manual guide and other windows program).
If pulse length is less than 999 Ascom driver write for example 750ms:
:Me750#:
If pulse guide is 1000ms or more Windows Ascom driver give multiple commands, for example 2200ms:
:Me999# :Me999# :Me202#
(999+999+202=2200)

I think correct format is :Me%3d#. I will test this code:
int LX200GotoNova::SendPulseCmd(int direction, int duration_msec)
{
    int nbytes_write = 0;
    char cmd[10];
	int duration_time_msec=duration_msec;
	while (duration_time_msec>0)
	{
	if (duration_time_msec>999) duration_msec=999;
	else duration_msec=duration_time_msec;	
	switch (direction)
		{
			case LX200_NORTH:
				sprintf(cmd, ":Mn%03d#", duration_msec); 
				break;
			case LX200_SOUTH:
				sprintf(cmd, ":Ms%03d#", duration_msec);
				break;
			case LX200_EAST:
				sprintf(cmd, ":Me%03d#", duration_msec);
				break;
			case LX200_WEST:
				sprintf(cmd, ":Mw%03d#", duration_msec);
				break;
			default:
				return 1;
		}
	duration_time_msec = duration_time_msec - duration_msec;
	DEBUGF(INDI::Logger::DBG_DEBUG, "CMD (%s)", cmd);
    tty_write_string(PortFD, cmd, &nbytes_write);
	}
    tcflush(PortFD, TCIFLUSH);
    return 0;
}


Read More...

Long Jon replied to the topic '2 x Meade DSI-Unable to find DSI. Has the firmware been loaded?' in the forum. 2 months ago

I will try change DsiDevice.cpp.

    handle = NULL;
    for (i = 0; i < cnt; ++i)
    {
        if (!libusb_get_device_descriptor(list[i], &desc))
        {
            if ((desc.idVendor == 0x156c) && (desc.idProduct = 0x0101))
            {
                dev = list[i];
                if (libusb_open(dev, &handle))
                {
                    dev = NULL; 
                }
               [b] if (dev!=NULL)[/b break]; // libusb_open return code <> 0 it's mean no success - maybe device is alredy opened (first dsi) , if dev is NULL don't brake search next device from list
            }
        }
    }


Read More...

Long Jon created a new topic ' 2 x Meade DSI-Unable to find DSI. Has the firmware been loaded?' in the forum. 2 months ago

I have Meade DSI III color and Meade DSI II mono. I can connect with Ekos only one camera at a time. Second camera error is: "Unable to find DSI. Has the firmware been loaded?" Single camera works ok. I can disconnect first and connect second.

Read More...

Long Jon replied to the topic 'Driver for Ioptron Ieq45 with 8406 Hand Controler' in the forum. 2 months ago

To add pulse guide I made the following changes. Is it sufficient ? Don't have hardware now to check correct comand for pulseguide ":Mn%04d#" or ":Mgn%04d#". There is no info in command reference from Ioptron. I will check this letter. In obsolete ieq45driver8406.c is ":Mgn%04d#"

lx200gotonova.h
...
virtual bool Park() override;
virtual bool UnPark() override;
virtual int SendPulseCmd(int direction, int duration_msec) override;

lx200gotonova.cpp
setLX200Capability(LX200_HAS_FOCUS | LX200_HAS_PULSE_GUIDING); instead setLX200Capability(LX200_HAS_FOCUS);

int LX200GotoNova::SendPulseCmd(int direction, int duration_msec)
{
int nbytes_write = 0;
char cmd[10];
switch (direction)
{
case LX200_NORTH:
sprintf(cmd, ":Mn%04d#", duration_msec);
break;
case LX200_SOUTH:
sprintf(cmd, ":Ms%04d#", duration_msec);
break;
case LX200_EAST:
sprintf(cmd, ":Me%04d#", duration_msec);
break;
case LX200_WEST:
sprintf(cmd, ":Mw%04d#", duration_msec);
break;
default:
return 1;
}

DEBUGF(INDI::Logger::DBG_DEBUG, "CMD (%s)", cmd);

tty_write_string(PortFD, cmd, &nbytes_write);

tcflush(PortFD, TCIFLUSH);
return 0;

Read More...

Long Jon replied to the topic 'Driver for Ioptron Ieq45 with 8406 Hand Controler' in the forum. 2 months ago

GotoNova driver: isSlewComplete give timeout error.

Command ":SE?#'" length is 6 not 16, strlen(cmd) is not equal to &nbytes_written.

bool LX200GotoNova::isSlewComplete()
{
char cmd[16];
int errcode = 0;
char errmsg[MAXRBUF];
char response[8];
int nbytes_read = 0;
int nbytes_written = 0;

strncpy(cmd, ":SE?#", 16);

DEBUGF(INDI::Logger::DBG_DEBUG, "CMD (%s)", cmd);

if ((errcode = tty_write(PortFD, cmd, strlen(cmd), &nbytes_written)) != TTY_OK)

Read More...

Long Jon replied to the topic 'Driver for Ioptron Ieq45 with 8406 Hand Controler' in the forum. 2 months ago

No success. It will be easier to add a pulse guide to the GotoNova driver, which works better. 8406 hand controller command sets is almost the same as 8401.

Read More...

Long Jon replied to the topic 'Driver for Ioptron Ieq45 with 8406 Hand Controler' in the forum. 2 months ago

Thank you for replay. ind_ieq_telescope is for ieq45 pro and CGEM60.

I have basic programing skils. I will try to put commands from ieq45driver8406.c to lx200zeq25.cpp
I have put differences in the xls file

Read More...

Long Jon replied to the topic 'Driver for Ioptron Ieq45 with 8406 Hand Controler' in the forum. 2 months ago

Gotonova driver has similar command set with 8406, but lack of pulse guide. I need pulse guide. My DSI II guide camera dosen't have ST4 port.

Read More...

Long Jon created a new topic ' Driver for Ioptron Ieq45 with 8406 Hand Controler' in the forum. 2 months ago

Helo,
I tried lx200zeq25 driver with no success :(. This driver uses a set of commands for 8407 and never HC. My equipment was skipped. I have found in indi-1.5.0\libindi\obsolete directory old driver for my mount with 8406 HC. Could you tell me how to compile and install this driver ?.
Thank you

Read More...

Long Jon replied to the topic 'iEQ45 GTN 8407 and 8406' in the forum. 2 months ago

Could you tell me correct, working driver for Ieq45 with 8406 Hand Controler ?.

Indi version 1.5.0 (Ubuntu Mate on Raspberry Pi 3).

Read More...

Login



3rd Party

Choose from the numerous 3rd party INDI drivers to suit your needs!

Got Problem?

Check out the FAQ, the forum, and the bug tracking system to resolve any issues you might have!
You can also subscribe to INDI newsletter and development mailing lists to get the latest updates on INDI!