Page 10 of 12 FirstFirst 123456789101112 LastLast
Results 91 to 100 of 113
  1. #91

    Default

    Bob, indeed your suggestion is worthwhile. Alluna however does provide a way in APL to know the status of the dustcover:

    "GetDustCover" returns the status of the dustcover, 1=open or 0=closed

    so it possible to query the status and to decide to toggle or not.
    In the meantime I am becoming very fond of ACP!

    Kind regards,
    Roelof
    Attached Images Attached Images

  2. #92
    Join Date
    Oct 2005
    Location
    Mesa, AZ
    Posts
    29,396

    Default

    What is APL? Surely not theAPL -> IBM language "A Programming Language" from the 1970s??

    -- Bob

  3. #93

    Default

    Bob, my mistake, it shows my age, I am a digital dinosaur...I was familiar with APL...I should have written API ...Application Programming Interface,
    apologies, Roelof

  4. #94
    Join Date
    Nov 2008
    Location
    ABQ (me) // Rincona NM (scope)
    Posts
    832

    Default

    Ha. I thought the same thing, Bob. APL was my first programming language. Reads right-to-left, operators are Greek letters or math symbols, everything can chain beautifully, but no comment lines allowed if memory serves. It's by far the densest syntax of any language I've every seen.

    Some modern languages have partially caught up with APL's vector and matrix functionality, notably python and its numpy package.
    measuring space rock colors and rotation rates, from Albuquerque NM

  5. #95
    Join Date
    Oct 2005
    Location
    Mesa, AZ
    Posts
    29,396

    Default

    OK, what API then? I'm sorry that I can't keep track of the proprietary APIs on all of these devices. I am not going to include "native" (proprietary device specific) code for all sorts of switches, covers, etc. in my software. I have done this for a few very common switches. If the device makers can't use the standards then their customers will need to find "consultants" to help them with the special code. I will be happy to assist such consultants with the architecture of ACP etc. but not teaching them how to program ha ha.
    -- Bob

  6. #96

    Default

    Hi Bob, it is a standard ASCII interface:

    maybe this info helps.

    Kind regards,
    RoelofAlluna API.jpg

  7. #97
    Join Date
    Oct 2005
    Location
    Mesa, AZ
    Posts
    29,396

    Default

    Ohhhhh well I am not going to write an ASCOM driver for that device then. Serial I/O is not what I would call an API, ha ha. I'm sorry. The BAT file will need to suffice.
    -- Bob

  8. #98

    Default

    That is fine Bob, the current solution is already a big help, and the support is much appreciated!
    Roelof

  9. #99

    Default

    Question for Peter B: could you share your Shutdown script? I have got the Dust cover working using your startup script as a basis and I would like to do the same the shutdown. Thanks in advance, and of course happy new year, Roelof

  10. #100

    Default

    Hi Roelof

    Have attached the shutdown script. Just change the name ending to .js
    Glad you have the StartUp script working.

    Any questions or problems I will endeavour to help you.

    Peter
    Attached Files Attached Files

 

 

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Open upper slit cover only
    By Peter Nelson in forum Hardware/Software/Driver Topics Not Directly Related to Our Software
    Replies: 1
    Last Post: Nov 4, 2010, 15:17

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •