Phil Shepherd replied to the topic 'Lakeside focuser' in the forum. 6 hours 58 minutes ago

OK... will do.. thanks.

Phil

Read More...

Phil Shepherd replied to the topic 'CEM60 _ Raspberry PI v3' in the forum. 4 days ago

Hi Jasem...

The recompile & install went well... I have quickly tested the driver tonight & all looks good....

Thanks for your assistance...

Phil

Read More...

Phil Shepherd replied to the topic 'CEM60 _ Raspberry PI v3' in the forum. 4 days ago

Nice 1!

No, I don't use PPA, but I'll grab ieqpro.cpp & ieqprodriver.cpp & recompile....

Thanks you B)

Phil

Read More...

Phil Shepherd replied to the topic 'Lakeside focuser' in the forum. 4 days ago

Just checked with their LakesideItil program, with Ascom driver set to debug

Position was at 5519 & I issued a move to 6000... it issued a CO481# for 481 steps...

09:22:27.724 MOVE 1                    MOVE TO: 6000
09:22:27.726 MoveFocuser 1             Started
09:22:27.726 SendCommand 1             Command: ?P#
09:22:27.753 SendCommand 1               Response: P 5519#, Elapsed time: 27.0
09:22:27.753 MoveFocuser 1             Got Mutex
09:22:27.753 SendString 1              CO481#
09:22:27.754 SendString                  Completed, Elapsed time: 0.3
09:22:27.754 MoveFocuser 1             Initiating asynchronous move
09:22:27.757 MoveFocuser 1               Completed, Elapsed time: 31.1
09:22:27.757 IsMoving Get 1            True
09:22:27.758 WaitForFocuser 4          Waiting for focuser...True
09:22:27.758 GetString                 Started
09:22:28.258 IsMoving Get 1            True
09:22:28.258 Position Get 1            5519
09:22:28.760 IsMoving Get 1            True
09:22:28.760 Position Get 1            5519
09:22:29.113 GetString 4                 P 5718#, Elapsed time: 1354.3
09:22:29.113 GetString                 Started
09:22:29.260 IsMoving Get 1            True
09:22:29.260 Position Get 1            5718
09:22:29.762 IsMoving Get 1            True
09:22:29.762 Position Get 1            5718
09:22:30.263 IsMoving Get 1            True
09:22:30.263 Position Get 1            5718
09:22:30.457 GetString 4                 P 5918#, Elapsed time: 1343.9
09:22:30.457 GetString                 Started
09:22:30.763 IsMoving Get 1            True
09:22:30.763 Position Get 1            5918
09:22:31.017 GetString 4                 DONE#, Elapsed time: 559.7
09:22:31.017 WaitForFocuser 4          Move completed: True
09:22:31.017 WaitForFocuser 4          Wait completed
09:22:31.017 WaitForFocuser 4          Start of Finally block
09:22:31.017 WaitForFocuser 4          Released Mutex
09:22:31.017 WaitForFocuser 4            Completed, Elapsed time: 3258.7
09:22:31.264 IsMoving Get 1            False
09:22:31.264 SendCommand 1             Command: ?P#
09:22:31.289 SendCommand 1               Response: P 6000#, Elapsed time: 24.3

Phil

Read More...

Phil Shepherd replied to the topic 'Lakeside focuser' in the forum. 4 days ago

If I recall from the session I was running (I was using Focusmax with the Lakeside driver set to debug mode), when I issued a goto step number, it worked out where it was * the number of steps in/out needed, then a #CI or #CO command...

I will double check tonight or tomorrow, if I get a few minutes...

Phil

Read More...

Phil Shepherd replied to the topic 'CEM60 _ Raspberry PI v3' in the forum. 4 days ago

Sure... they moved stuff around last year...

www.ioptron.com/v/ASCOM/RS-232_Command_Language2014_V2.0.pdf

Phil

Read More...

Phil Shepherd replied to the topic 'Quantum Filter Wheel driver available' in the forum. 5 days ago

I started a new thread.... although I STILL have not heard back from the manufacturer (disappointing!) I have managed a debug session to grab most of the commands...

see here

Phil

Read More...

Phil Shepherd created a new topic ' Lakeside focuser' in the forum. 5 days ago

I mentioned in a thread about the Quantum Filter Wheel developed by Kaczorek (which works really well - thank you!) that I am using a Lakeside focuser...

I still have not had a response from the supplier, which is quite strange as they have been really helpful in the past...

I have run a few debug sessions via ASCOM, which has a Lakeside driver & have managed to pull out most of the command set... This is what I have deduced...

All responses seem to be 7 bytes (6 characters + a hash) - the hash seems to be space padded to the 7th byte.
The only exceptions seems to be ??# -> OK# and the CI/CO move in/out responses (Started & DONE#)

cmd response Comment




??# OK# Initialise string 1st sent
?T# T 36# Get Temperature - was 18 degrees C, so seems to divide by 2
?P# P 7876# Get Current Focus position - example was 7876
?V# V18164# Get Max value - example here was 18164
?I# I18164# Get Max increment
?S# S 1# Get Step size - 1 here
?A# A 1# Unknown...
?B# B 0# Get Backlash - zero here
?D# D 0# Get Direction 0=normal 1=reverse (I tested this 1)
?1# 1 0# unknown
?2# 2 0# unknown
?a# a 0# unknown
?b# b 0# unknown
?c# c 1# unknown
?d# d 1# unknown
?e# e 10# unknown
?f# f 10# unknown
?g# g 1# unknown
CO20# Started I moved out 20 steps.. I believe it is asynchronous
DONE# Completed move out 20 steps
CI20# Started I moved in 20 steps
DONE# Completed move in 20 steps

Is this enough information for a focus driver?

Phil

Read More...

Phil Shepherd replied to the topic 'CEM60 _ Raspberry PI v3' in the forum. 7 days ago

Hi Jasem,

My crude edits are attached - I stripped out the junk to leave the edits... I just tested the driver to make sure it seems ok - CEM60 seemed to behave ok.

The 2 x files I edited were :

indi/libindi/drivers/telescope/ieqprodriver.cpp
indi/libindi/drivers/telescope/ieqpro.cpp

Thanks,

Phil

Read More...

Phil Shepherd replied to the topic 'CEM60 _ Raspberry PI v3' in the forum. 7 days ago

Thanks...

I'll strip out the test junk I put in, to leave what I did.... try to do a diff file when I get back tonight...
The main essence was
- Before every tty_write, I put a tcflush(fd, TCIFLUSH);
- I introduced an extra variable to hold the Daylight Saving Flag, & shifted the rest of the returned data down one after it. I suppose the DST should be used somewhere :whistle:

#3 is a bit of a killer for me with my very limited C++ experience...

Very much appreciate your help with this...
Phil

Read More...

Phil Shepherd replied to the topic 'CEM60 _ Raspberry PI v3' in the forum. 1 week ago

I have been doing some extensive testing with my CEM60 & the indi_ieq_telescope.

Firstly, I am not a C++ programmer but have worked by example with the code to allow me to show various extra response values in order to come to some conclusions:

1. The returned offset / date / time is not being decoded properly in ieqprodriver.cpp
From iOptron's RS-232 Command Language manual, the ":GLT#" to get date/time info, returns “sMMMYYMMDDHHMMSS#
where
s = sign,
MMM = UTC offset
the rest is obvious

2. The reason for "Only received #18 bytes, expected 7" seems to be that the buffer still contains data prior to a read mount status (:GAS#)... this is why the goto's were so strange & way out...
- Crudely, I added a tcflush(fd, TCIFLUSH); before the tty_write(... and that sorted out the issue. I do not know though if there is some fundamental issue here.

3. There are issues with the site long/lat/time/date setting.... there does not appear to be any initial reading of the mount to get those settings, or at least no call to get current long & lat ( :Gg# & :Gt# )
- if Ekos is set to get info from computer, then it half works, but if set to get from device then the CEM60's long/lat & dat/time is wiped!
Again, I crudely disabled sending any set of date/time/long/lat to the mount as it has GPS...

The driver is working well for me after these fumbled changes, but I really need to work with someone who can properly correct these issues...

Anyone?

Thanks for reading my ramblings....

Read More...

Phil Shepherd replied to the topic 'Compile error from the last github src' in the forum. 2 weeks ago

Eric,
I completed the install of the latest kernel headers (raspberrypi-kernel-headers) & build of the /usr/include as you indicated..... my older indi src copy successfully built...

Thank you for your help B)

Phil

Read More...

Phil Shepherd replied to the topic 'Compile error from the last github src' in the forum. 2 weeks ago

Hi Eric..

Just checked... (I'm no expert at this either...) raspberrypi-kernel-headers indeed pulls down linux-headers-4.4.38-v7+

- genius... :woohoo:

I will try to get all cleaned up & report back....

Phil

Read More...

Phil Shepherd replied to the topic 'Compile error from the last github src' in the forum. 2 weeks ago

As pointed out by jpaana, my kernel headers are old....

The kernel I am running is 4.4.38-v7+... I looked elsewhere & found out that the headers are not always available for the version running on Pi ???

so, I will obtain then for this kernel, but thanks for sorting the current issue.... the real fix I suppose is to get the up-to-date linux headers.... Other Linux distros have always done this.... now I know for Raspbian...

Phil

Read More...

Phil Shepherd replied to the topic 'Compile error from the last github src' in the forum. 2 weeks ago

I will check when I get home... I certainly have done an update on 1 of the 3 SD cards I am using... :blush:

As you say, the current Kernel version is 4.4 so I am not sure what happened... I only obtained the Pi 3 weeks ago... & all the software was downloaded after that...

Phil

Read More...

Phil Shepherd replied to the topic 'Compile error from the last github src' in the forum. 2 weeks ago

TallFurryMan wrote:

Opened #137.
Would it be possible to post the version of the kernel headers (the ones in /usr/include/linux) on the raspbian systems?
-Eric

If you mean version.h in /usr/include/linux :
#define LINUX_VERSION_CODE 200711
#define KERNEL_VERSION(a,b,c) (((a) << 16) + ((b) << 8) + (c))


Read More...

Phil Shepherd replied to the topic 'Compile error from the last github src' in the forum. 2 weeks ago

Hi Eric...

I will post it when I get home tonight...

Phil

Read More...

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!