Welcome, Guest
Username: Password: Remember me
20 Aug 2017
INDI development team is happy to announce the release of INDI Library v1.5.0. This new exciting release builds on the maturity of INDI Library and comes with many new supported devices and fixes for existing drivers.
Read More...
  • Page:
  • 1

TOPIC: Driver for Ioptron Ieq45 with 8406 Hand Controler

Driver for Ioptron Ieq45 with 8406 Hand Controler 1 week 1 day ago #19335

  • silver
  • silver's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 13
  • Thank you received: 0
Helo,
I tried lx200zeq25 driver with no success :(. This driver uses a set of commands for 8407 and never HC. 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

Please Log in or Create an account to join the conversation.

Last Edit: by silver.

Driver for Ioptron Ieq45 with 8406 Hand Controler 1 week 24 minutes ago #19363

  • silver
  • silver's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 13
  • Thank you received: 0
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.

Please Log in or Create an account to join the conversation.

Driver for Ioptron Ieq45 with 8406 Hand Controler 6 days 7 hours ago #19389

how about indi_ieq_telescope? did you try that?

Please Log in or Create an account to join the conversation.

Jasem Mutlaq
Support INDI & Ekos; Get StellarMate Astrophotography Gadget.
How to Submit Logs when you have problems?

Driver for Ioptron Ieq45 with 8406 Hand Controler 6 days 1 hour ago #19396

  • silver
  • silver's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 13
  • Thank you received: 0
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

I don't konw how to modiffy moveZEQ25To and SetSlewRate.
Attachments:

Please Log in or Create an account to join the conversation.

Last Edit: by silver.

Driver for Ioptron Ieq45 with 8406 Hand Controler 5 days 8 hours ago #19434

  • silver
  • silver's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 13
  • Thank you received: 0
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.

Please Log in or Create an account to join the conversation.

Driver for Ioptron Ieq45 with 8406 Hand Controler 5 days 6 hours ago #19437

  • silver
  • silver's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 13
  • Thank you received: 0
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)

Please Log in or Create an account to join the conversation.

Driver for Ioptron Ieq45 with 8406 Hand Controler 5 days 4 hours ago #19443

  • silver
  • silver's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 13
  • Thank you received: 0
To add pulse guide I made the following changes. Is it sufficient ? Don't have hardware now. I have to check the correct command 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#". Pulse guide from Ascom driver 2.11 works. I will try to spy in windows on com port.

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;

Please Log in or Create an account to join the conversation.

Last Edit: by silver.

Driver for Ioptron Ieq45 with 8406 Hand Controler 5 days 18 minutes ago #19448

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

Please Log in or Create an account to join the conversation.

Jasem Mutlaq
Support INDI & Ekos; Get StellarMate Astrophotography Gadget.
How to Submit Logs when you have problems?

Driver for Ioptron Ieq45 with 8406 Hand Controler 5 days 14 minutes ago #19449

silver wrote: 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)


Yes, it should just be const char *cmd = "SE?#"

Please Log in or Create an account to join the conversation.

Jasem Mutlaq
Support INDI & Ekos; Get StellarMate Astrophotography Gadget.
How to Submit Logs when you have problems?

Driver for Ioptron Ieq45 with 8406 Hand Controler 2 days 1 hour ago #19624

  • silver
  • silver's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 13
  • Thank you received: 0

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;
}

Please Log in or Create an account to join the conversation.

Last Edit: by silver.

Driver for Ioptron Ieq45 with 8406 Hand Controler 2 days 1 hour ago #19625

  • silver
  • silver's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 13
  • Thank you received: 0

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.

Please Log in or Create an account to join the conversation.

  • Page:
  • 1
Time to create page: 0.207 seconds

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!


Gallery

Replica

Why INDI

Replica