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*
  • 0

Access the API



Hi All

I am writing a small application to calculate the required exposure set needed for any given shot and would like to integrate its inputs and outputs with BYE. I had a couple of questions...

1. Does the API give me access to camera parameters such as current focal length, aperture, shutter speed etc such that changes to those parameters are flagged via events or some such method?

2. On calculating/recalculating the exposure set can I set/reset the shot list in BYE?

Thanks in advance



Link to comment
Share on other sites

5 answers to this question

Recommended Posts

  • 0


Go to the Downloads page and select API & Documentation from the menu on the right. The API document  is pretty self-explanatory.

I do not believe that you have access to the focal length or aperture which are only relevant for lens-based photography. You must tell BYE (via the API) how to shoot the picture; look at the takepicture command for details.

BYE takes one picture for each call to takepicture. The "shot list" (capture plan) is not used by the API.

Link to comment
Share on other sites

  • 0

Thanks for the prompt replies. I looked over the api docos and re-examined the BYE UI.

Looks like the api will not do what I want as there is no access to the EOS camera data (neither static nor changing). This is a real shame as I think the EOS Utility dll which accesses the camera only accepts usage by one application at a time. So if BYE is using the connection my app will be precluded which was why I was trying to access the data via BYE.

I have a "handraulic" workaround by which I manually enter the camera data into my app and export a capture plan in the correct format which I then load to BYE and push "Start Capture".

Suggested API improvements:

1. Allow access to changing camera data via events

2. Accept capture plan imports via exposing BYE "reset", "save" and "load" functions


Link to comment
Share on other sites

  • 0

You should create a post in the Feature Suggestion Box Forum with your request, along with how the new capability would benefit your workflow. It doesn't seem like it would be that difficult, but you obviously have a use other than just providing a picture. The easiest way to get the needed data is for BYE to create a text file with the EXIF data, along with the image, which has the information that you want. This solution does not have an asynchronous event notification, but you haven't said why you need this info without an image.

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.

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