Welcome, Guest
Username: Password: Remember me
08 Apr 2018
INDI development team is happy to announce the release of INDI Library v1.7.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: [SOLVED] Question about message frequency

Question about message frequency 6 months 2 days ago #22330

  • mworion
  • mworion's Avatar Topic Author
  • Away
  • Senior Boarder
  • Senior Boarder
  • Posts: 43
  • Thank you received: 13
Hi all,

as I started to program a little bit on INDI, I wonder if it is possible to increase the repeat rate of subscribed messages like 'CCD_EXPOSURE', 'CCD_EXPOSURE_VALUE' to get it more often. Actually I see the message come in over IP at every 1-3 second. I would like to show the Exposure timer count down to know how long the exposure will take.

Second question: Is there any chance to get the status of the camera (IDLE, EXPOSING, DOWNLOADING etc.) like it is possible with most ASCOM drivers ?

Any help appreciated.

Michel

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

Question about message frequency 6 months 2 days ago #22339

CCD_EXPOSURE value frequency depends primarily on the driver and to a second degree to network speed and congestion, so you cannot change that from the client side.

Regarding the 2nd question, not directly, but you can infer it from CCD_EXPOSURE state:

IPS_IDLE: Idle
IPS_OK: Download completed successfully and camera is now idle.
IPS_BUSY: If CCD_EXPOSURE value = 0, then it is DOWNLOADING, otherwise, it is exposing.
IPS_ALERT: Exposure failed.

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?
Add your observatory info

Question about message frequency 5 months 2 weeks ago #22833

  • mworion
  • mworion's Avatar Topic Author
  • Away
  • Senior Boarder
  • Senior Boarder
  • Posts: 43
  • Thank you received: 13
Hi Jasem,

still have some troubles I only see CCD_EXPOSURE in the received XML, no IPS_IDLE or the other states. Is this related to the CCD Simulator only. Where should I look for this states. Sorry I might be a little bit stupid.

But in any case: Even if it's a setup for the driver, it's really hard not to get the states of a device as a must.

Thanks in Advance

Michel

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

Question about message frequency 5 months 2 weeks ago #22836

Can you post the XML you are receiving??

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?
Add your observatory info

Question about message frequency 5 months 1 week ago #22837

  • mworion
  • mworion's Avatar Topic Author
  • Away
  • Senior Boarder
  • Senior Boarder
  • Posts: 43
  • Thank you received: 13
Hi Jasem,

attached a log from the XML transfer

Michel

File Attachment:

File Name: indixml.txt_2018-02-01.zip
File Size: 12 KB
Attachments:

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

Last Edit: by mworion.

Question about message frequency 5 months 1 week ago #22842

I see one setNumberVector for CCD_EXPOSURE:
<setNumberVector device="CCD Simulator" name="CCD_EXPOSURE" state="Idle" timeout="60" timestamp="2018-02-01T20:09:10">
    <oneNumber name="CCD_EXPOSURE_VALUE">
0
    </oneNumber>
</setNumberVector>

The state is specified as "Idle" above.
The following user(s) said Thank You: mworion

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?
Add your observatory info

Question about message frequency 5 months 1 week ago #22853

  • mworion
  • mworion's Avatar Topic Author
  • Away
  • Senior Boarder
  • Senior Boarder
  • Posts: 43
  • Thank you received: 13
Hi Jasem,

got it, I lost it on my side during processing.

Michel

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

  • Page:
  • 1
Time to create page: 0.119 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