Jump to content

Canada's top-tier Telescopes & Accessories
Be as specific as possible when reporting issues and *ALWAYS* include the full version number of the application you are using and your exact *CAMERA MODEL*
NEVER POST YOUR KEY IN ANY PUBLIC FORUM, INCLUDING THE O'TELESCOPE SUPPORT FORUM ::: IF YOU DO YOUR KEY WILL BE DEACTIVATED WITHOUT NOTICE!
  • 0

Auto start BYE an run a capture plan


Roland.penton

Question

12 answers to this question

Recommended Posts

  • 0

You could use a batch file to launch BYE, wait a few seconds and launch a custom program that would use the O'Telescope API to connect to the camera and execute a capture plan that you defined outside of BYE, like in a text file. So it is doable if you have some programming skills, but otherwise the answer is no.

Link to comment
Share on other sites

  • 0

I am a bit confused because the takepicture command does not have a filename argument.

When you run BYE interactively and you take a picture, the picture is stored wherever you have configured BYE to save it on your hard drive. That same logic is used in the API. This means that an application would send a takepicture command, then repeatedly call getispictureready until it returns true. Then call getpicturepath to get the full path to the downloaded image file.

I hope this helps.

Link to comment
Share on other sites

  • 0

Thank you @admin @astroman133 , Forgive my lack of knowledge/ ignorance. i have read the document. What i am not getting / understanding is the actual command.

I am assuming i can run a command  from the command terminal an type a string like The take picture command  like in the attached screen shot.

Should i be prefacing the command with an executable name like this BinaryRivers.BackyardEOS.Start.Camera1.exe "takepicture duration:15 iso:1600"

 

Thank you.Screenshot2024-11-13104958.png.dba6bdd9ad42cb34dc50d2606b9bed33.png

 

Link to comment
Share on other sites

  • 0

I believe that your understanding is incorrect.

takepicture is not a command that you can use to cause BYE to execute by passing it as a command-line parameter to the BYE program. To my knowledge BYE does not support the use of any command-line parameters to customize how it starts up.

The correct way to get BYE to take a picture is to use TCP sockets (a form of communication that occurs directly between two programs). In order for this to work, BYE must already have been launched and must be listening for another program to create a connection between the two programs. Then the client program can send request/command messages to the server (BYE) to cause it to either return the requested information or execute the requested command.

As Guylain said, a working example of a Windows Forms application written in the C# language is available for download from the O'Telescope Documentation and API download area. It requires Microsoft Visual Studio to be installed with a Windows Desktop workflow for Windows Forms to build and run. In the code for this example application are calls to several of the API command and status endpoints. Without Visual Studio installed you can only examine the code, but it may be difficult to understand because so much of the code supports the user interface interactions and it is really very little code that supports the interaction with BYE.

If my explanation does not make sense then it is likely that you don't currently have the programming skills to create such a program. However, if you are technical-minded and have lots of time you can teach yourself how to do it. You would need to learn how to install and use Visual Studio and Windows Forms, learn the C# programming language and .NET, and how to use TCP sockets from a .NET application. It is a daunting learning curve if you are starting out with no programming experience.

 

Link to comment
Share on other sites

  • 0

Shooting the sun, especially during an eclipse, IS a lot of work, even with a program that is purpose-built for shooting an eclipse such as Eclipse Orchestrator.

BYE was intended for long-duration deep sky imaging and so does not have some bells and whistles that would be helpful when shooting an eclipse.

Good luck with your journey.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

This site uses cookies to offer your a better browsing experience. You can adjust your cookie settings. By closing this banner, scrolling this page, clicking a link or continuing to browse otherwise, you agree to the use of cookies, our Privacy Policy, and our Terms of Use