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...

TOPIC: Ekos on Mac OS X ?

Ekos on Mac OS X ? 4 months 4 weeks ago #17483

rlancaste wrote:

ColoradoSolar wrote: When I run indi server local it doesn't work right on my ASI camera and it doesn't work at all on my ZWO EFW but if I run the embedded indi server from the terminal then it all works fine. Is there something strange about how kstars starts the embedded indi server?


The main problem is that when a process is launched from a QT program, such as an indi server, or Astrometry solver, the environment variables are not the same as they are when you launch the same program from the command line. I am fairly sure this is done for security reasons. My solution has been to just add the environment variables that you need in order to make the program work when the process is started by KStars. Basically we just need to know what environment variable is missing.


By the way, if you would like to try, since I know you already have QT and all of the software installed on your computer to try this, you might try adding an environment variable or two and see if it works. The relevant file is KStars/INDI/ServerManager.cpp. Approximately Line 85 or so. You will notice there I added some lines for environment variables for GSC, GPhoto cameras, QHY, and the indiprefix. I do have an ASI camera but not an ASI filter wheel. So I can only test the camera.
The following user(s) said Thank You: ColoradoSolar
The topic has been locked.

Ekos on Mac OS X ? 4 months 4 weeks ago #17490

Hello,
I have followed the instructions and included the Kstar logfile as well as some screencaptures.
After I started the indi server via Terminal I started the Canon 700D and Kstar.
When selecting Ekos and starting INDI it says that there is another instance of INDI running. When I answer No to shutting it down I can see on the Terminal window that I believe the Canon driver is being loaded. However I am not able to connect my devices such as the mount and the CCD. The Ksat configuration is Local not Remote. I have included the window where you can see what path the indi library is that Kstar uses.
I restarted Kstar but this time I selected Yes to the question of shutting down the already running INDI instance. Now everything connects except for the Canon and indeed in the terminal I can see that it is not loaded.

Hope this helps a bit.

Thanks again,

Robert
The topic has been locked.

Ekos on Mac OS X ? 4 months 3 weeks ago #17495

rlancaste wrote: By the way, if you would like to try, since I know you already have QT and all of the software installed on your computer to try this, you might try adding an environment variable or two and see if it works. The relevant file is KStars/INDI/ServerManager.cpp. Approximately Line 85 or so. You will notice there I added some lines for environment variables for GSC, GPhoto cameras, QHY, and the indiprefix. I do have an ASI camera but not an ASI filter wheel. So I can only test the camera.


I will give it a try. I looked yesterday and didn't see where I had any environment variables set that should make any difference. One thing I did notice is that Ekos uses the FIFO file to start the drivers and I just put them all on the command line, not sure if that could have anything to do with it.
The topic has been locked.

Ekos on Mac OS X ? 4 months 3 weeks ago #17496

Temmerman wrote: Hello,
I have followed the instructions and included the Kstar logfile as well as some screencaptures.
After I started the indi server via Terminal I started the Canon 700D and Kstar.
When selecting Ekos and starting INDI it says that there is another instance of INDI running. When I answer No to shutting it down I can see on the Terminal window that I believe the Canon driver is being loaded. However I am not able to connect my devices such as the mount and the CCD. The Ksat configuration is Local not Remote. I have included the window where you can see what path the indi library is that Kstar uses.
I restarted Kstar but this time I selected Yes to the question of shutting down the already running INDI instance. Now everything connects except for the Canon and indeed in the terminal I can see that it is not loaded.

Hope this helps a bit.

Thanks again,

Robert


Yes that is correct, we only started the canon driver from the terminal, so that should be the only device that connects. In fact, I probably should have told you to make a profile in KStars that only includes the canon driver, so that the others don't try to connect. The primary reason for this is because we want to isolate the problem. The other devices and their messages while they are connecting will get in the way. You are correct to say "no" to starting another indiserver because right now we want to test it using the one from the terminal. The log file was very helpful, though as I said, getting the other devices out of the way would help. I saw some of the output from the indiserver in the window on the left but couldn't make it all out, could you copy and paste whatever it said?

Thanks!

Rob
The topic has been locked.

Ekos on Mac OS X ? 4 months 3 weeks ago #17497

Robert,

I looked through your log file just now and saw several things. It looks like it is detecting the camera properly since it says there is 1 camera and it identifies it properly. The only error message I saw in the log file was that it couldn't claim the usb device. Do you have any other programs running that might tie up the camera?

Here is a thought, sometimes PTPCamera daemon on OS X steals the camera. Try this command in the terminal after you connect the camera but before you try to connect to it in INDI/KStars:

killall PTPCamera

You can also use Activity monitor to see the process and quit it as well if you prefer that to the terminal.

The same goes for any other programs/processes that want to steal the camera so that other programs cannot use it. But I suspect this one is the culprit because it did that to mine a few times.

Thanks,
Rob
The topic has been locked.

Ekos on Mac OS X ? 4 months 3 weeks ago #17498

That was the reason Rob. " killall PTPCamera" did the trick! Canon is now online!! Thank you so much! I didn't have to use any other INDI driver. Star's internal was sufficient. I guess I will have execute this command every session now.

Regarding my second problem; any ideas on the solving problems of my polar alignment?

Kind regards,

Robert
The topic has been locked.

Ekos on Mac OS X ? 4 months 3 weeks ago #17500

Temmerman wrote: That was the reason Rob. " killall PTPCamera" did the trick! Canon is now online!! Thank you so much! I didn't have to use any other INDI driver. Star's internal was sufficient. I guess I will have execute this command every session now.

Regarding my second problem; any ideas on the solving problems of my polar alignment?

Kind regards,

Robert


Thats a question for Jasem, since he developed that routine, but I haven't even used it. I use my polar scope to align it in the field. My scope is not permanently mounted and the polar scope is easy to use and fast. The polar alignment routine looks nice, I just haven't tried it yet.
The following user(s) said Thank You: Temmerman
The topic has been locked.

Ekos on Mac OS X ? 4 months 3 weeks ago #17501

Ok Rob I will put that question to him.
Thanks again,

Rob
The topic has been locked.

Ekos on Mac OS X ? 4 months 3 weeks ago #17506

Robert,

I just wrote some code that will have KStars check for "PTPCamera" when it starts up an indiserver on a local OS X machine and then give the user an option to quit that program. This should at least prevent PTPCamera from stealing the camera and not letting you connect in the first place. We will have to see if there are any cases when it can steal the camera later on. Maybe if the camera gets turned off and back on? But anyway, this should be a start.

I sent the patch to Jasem and we will include it in the next DMG build.

Thanks,

Rob
The topic has been locked.

Ekos on Mac OS X ? 4 months 3 weeks ago #17513

rlancaste wrote:

anofeles wrote: I have a problem with the ekos solver control...
If I make a "capture & solve" with "nothing" solver action checked, all works fine (online and offline) but if I make a "capture & solve" with "Sync" action checked (same image) ekos doesn't even solve (online or offline) the same image that it had solved in a few seconds with the "nothing" option checked...
Sorry my english...
Any idea, please?
Thanks in advance...


Do you have the latest version from the website?


Yes, 2.7.8. dmg
Other devices: MacBook Pro with macOs Sierra 10.2.5
Mount: Neq6
Camera: ASI 1600 MC

Regards from Spain...
The topic has been locked.

Ekos on Mac OS X ? 4 months 3 weeks ago #17514

That's great Rob because indeed overtime the DSLR is switched off one has to kill the PTPCamera again.

What is Jasem's avatar because I couldn't find him through the search engine?

Kind regards,
Robert
The topic has been locked.

Ekos on Mac OS X ? 4 months 3 weeks ago #17515

Temmerman wrote: That's great Rob because indeed overtime the DSLR is switched off one has to kill the PTPCamera again.

What is Jasem's avatar because I couldn't find him through the search engine?

Kind regards,
Robert


He is KNRO www.indilib.org/support/community/1-jasem-mutlaq/profile.html
The topic has been locked.
Time to create page: 0.133 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