Nuno Gameiro replied to the topic 'Doubts in Filter Wheel driver development' in the forum. 5 months ago

Hello

Just to say that i successfully finished the driver :)

Thank you very much for your help :)

Nuno Gameiro

Read More...

Nuno Gameiro replied to the topic 'Doubts in Filter Wheel driver development' in the forum. 5 months ago

Ok, thank you a lot.

As i said in the begining, i'm ASCOM formatted. B)

The command of my filter wheel it's very simple. "M23" to move from filter 2 to 3. But even setting Ekos to load configuration file on connection, the comand sent when i connect it's M02 (2 it's the filter saved on FILTER_SLOT property) .
CurrentFilter it's 0, i believe.

I'm almost there :)

Nuno Gameiro

Read More...

Nuno Gameiro replied to the topic 'Doubts in Filter Wheel driver development' in the forum. 5 months ago

Thank you very much, that's works :)
One last question, and one thought...

When the client (Ekos) connects the wheel, the slot number it's defined by currentFilter or it takes the slot number on the config file ? If it's the first option how can i get the slot number in config file (currentFilter = <get_slot_number> ) ? If it's the second option, i'm doing something wrong :dry:

A thought...
What's the reason for the client don't save the slot number when the filter change ? If it's the case, everytime I stop and start INDI, the slot number in the config file never correspond to the efective slot number in the wheel. Am i wrong ?

Thank you once more
Nuno Gameiro

Read More...

Nuno Gameiro replied to the topic 'Doubts in Filter Wheel driver development' in the forum. 5 months ago

hello

Thanks for your answer, and i'm sorry for mine takes some time.

- I'm using Arduino. So i need the connect/disconnect routines ?
- Using Ekos, i have to save configuration manually to save the slot number ? When i click in the 'set' button to change the slot number, or change using a sequence the slot number it's not saved ? If so, how can i save the slot number every time i change using the SelectFilter() routine ?

I'm sorry if i'm asking basic questions.

Thank you very much
Nuno Gameiro

Read More...

Nuno Gameiro created a new topic ' Doubts in Filter Wheel driver development' in the forum. 6 months ago

hello

First of all, my English it's far from be the best one, so i'm sorry for that.

Now, i want to try Ekos + INDI, but for that i have to develop a driver for my DIY motorized Filter Wheel. The driver it's almost done, but as an ASCOM user i have my head ASCOM Formatted, so there are a few things that i dont understood yet.

Questions:
- The filter Wheel driver dont have a 'Connect' and 'Disconnect' functions. I supose that all the process it's INDI internal, and every time the INDI Connect the driver, the function initProperties() it's called. Am i correct ?

- The filter Slots in INDI, start from 1 (not from 0 as ASCOM) ?

- In KStars, Every time i change a filter in the INDI Control Panel, it actualy start to run the wheel to the desired slot. Do i have an option to just set the filter number (without turn the wheel) or i have to implement that function in the driver ?

- What apends when the INDI connects the driver ? The Slot goes to the number set by CurrentFilter = <number> in the InitProperties() or it's set by the last filter slot when disconnect the Driver ? I'm asking this, because even if i remove the CurrentFilter = <number> in the initProperties(), it seams that the wheel starts always in filter 1, then moves to the last filter when disconnected.
So if, when i disconnect the wheel the filter its number 3, when i connect it turns always 2 filters.

Thanks
Nuno Gameiro

Read More...

nMAC is friends with Nuno Gameiro

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!