Markku Siitonen replied to the topic '[SOLVED] FIFO start script' in the forum. 7 days ago

Well done :) glad you solved it.
Wish you clear skies!
/Markku

Read More...

Markku Siitonen replied to the topic 'FIFO start script' in the forum. 1 week ago

It will be interesting to see if all drivers behave the same, in that case it's not the drivers but something else, but we'll see.
I understand that it's important, for me it's just a few miles to my observatory so not a big deal but it must work every time anyway.
No problem, it's a interesting issue.

Read More...

Markku Siitonen replied to the topic 'FIFO start script' in the forum. 1 week ago

Really strange :S so it seems that the last line is never executed for some reason, if you try with another device like a camera is the behavior the same ?? or is it only the roof driver that does something strange ??

Read More...

Markku Siitonen replied to the topic 'FIFO start script' in the forum. 1 week ago

Can you try echo -ne "Some text\n\n" as the last line ??

Read More...

Markku Siitonen replied to the topic 'FIFO start script' in the forum. 1 week ago

Oh, sorry, I thought you solved it.. I don't see the problem either.. but you could try "expect" ? it can do a CR after a output from a device or a script..

Read More...

Markku Siitonen replied to the topic 'FIFO start script' in the forum. 1 week ago

That's a neat solution :) I was thinking of "xdotool" or maybe "expect" but it's solved now, I've never used -x but it's good to know.

Read More...

Markku Siitonen replied to the topic 'FIFO start script' in the forum. 1 week ago

Strange, it should be working but obviously not, hmm.. no errors at all it just stops there ? I don't get it..

Read More...

Markku Siitonen replied to the topic 'FIFO start script' in the forum. 1 week ago

I see that the last CR doesen't show, but it is there..

Read More...

Stephane thanked Markku Siitonen in topic FIFO start script 1 week ago
Markku Siitonen replied to the topic 'FIFO start script' in the forum. 1 week ago

#!/bin/bash

if [ -p "$HOME/INDIFIFO" ]; then
  rm -Rf $HOME/INDIFIFO
  sleep 1
  mkfifo $HOME/INDIFIFO
else
  mkfifo $HOME/INDIFIFO
  sleep 1
fi

echo "Loading INDI to FIFO.."
cd $HOME
indiserver -f INDIFIFO > $HOME/indilog.txt &
disown indiserver
echo "indiserver running.."
echo "Starting up devices.."
sleep 1
echo start /usr/bin/indi_moonlite_focus -n \"MoonLite\" >INDIFIFO
echo
sleep 1
echo start /usr/bin/indi_eqmod_telescope -n \"EQMod Mount\" >INDIFIFO
echo
sleep 1
echo start /usr/bin/indi_sx_ccd -n \"SX_CCD\" -s \"/usr/share/indi/indi_sx.xml\" >INDIFIFO
echo
#sleep 1
#echo start indi_sx_ccd -n \"SX_Lodestar\" >INDIFIFO
#echo
sleep 1
echo start /usr/bin/indi_xagyl_wheel -n \"XAGYL Wheel\" >INDIFIFO
echo
#sleep 1
#echo start indi_watchdog -n \"Watchdog\" >INDIFIFO
#echo
echo "Devices are up and running.."
echo
#echo **** Devices and ports ****
#indi_getprop | grep DEVICE_PORT


Read More...

Markku Siitonen replied to the topic 'FIFO start script' in the forum. 1 week ago

Hmm, that's strange, I use it all the time in my observatory and it works every time..
Is the last line an empty "echo" and the last line a CR ?? maybe that's the difference ??

Read More...

Markku Siitonen replied to the topic 'FIFO start script' in the forum. 1 week ago

Hi,
You can try something like this.. it works for me in Ubuntu.

indiserver -f INDIFIFO > $HOME/indilog.txt &
disown indiserver
echo "indiserver running.."
echo "Starting up devices.."
sleep 1
echo start /usr/bin/indi_moonlite_focus -n \"MoonLite\" >INDIFIFO
echo
sleep 1
echo start indi_duino -n \"Focuser\" -s \"/usr/share/indi/spaceslab_focuser_sk.xml\" >INDIFIFO
echo

Br
/Markku

Read More...

David thanked Markku Siitonen in topic SVD_MathPlugin error 2 months ago
Markku Siitonen replied to the topic 'SVD_MathPlugin error' in the forum. 2 months ago

Hi David,
I have the same problem but solved it temporary until new version is out..
I did a softlink like this :
sudo ln -s /usr/lib/arm-linux-gnueabihf/indi/MathPlugins/libindi_SVD_MathPlugin.so /libindi_SVD_MathPlugin.so
If you have another distro the path could be different, I'm using Ubuntu-mate on a RPi.
Br
/Markku

Read More...

Hi sterne-jaeger,
I'm not sure if this work in LXDE but it works in Ubuntu and in Windows too :)
So try this,
One left klick on the window you want to move in any direction..
Press Alt+Tab and you will get a new menu with some options..
Press the arrow down key and press Enter at the Move option..
Press the arrowkeys to move the window in any direction..
When you have the window where you want it then press Enter.
Hope this works for you.
Br
/Markku

Read More...

Markku Siitonen replied to the topic 'Indi_asi and indi_xagyl_wheel not playing nice.' in the forum. 3 months ago

Hi,
Hmm, now when I think of that I remember changing the "Firmware version" to 3.1.5 before I got it to work, but I still use my own Serial number and never got a problem with that on RPi3 so maybe the compiler does something different then?

Glad you have it working now!
Clear skies!

Read More...

Markku Siitonen created a new topic ' Rapid guiding ??' in the forum. 4 months ago

Hello group!

Just wondering if "Rapid guiding" is coming back soon ??

Br
/Markku

Read More...

Markku Siitonen replied to the topic 'Indi_asi and indi_xagyl_wheel not playing nice.' in the forum. 5 months ago

I did a check and found that there is a difference on my Rpi3 when I do a Save..
This is what I get now when saving:
<INDIDriver>
<newSwitchVector device="XAGYL Wheel" name="DEBUG">
<oneSwitch name="ENABLE">
Off
</oneSwitch>

And this is what I had before:

<INDIDriver>
<newSwitchVector device='XAGYL Wheel' name='DEBUG'>
<oneSwitch name='ENABLE'>
Off
</oneSwitch>

No big difference and the only thing I could see is 6 spaces before the value or no spaces before a value, but otherwise the xml-file looks the same without any corruption.
I used to compile everything myself but using the ppa is more convenient even if there is some problems caused by the ppa sometimes.

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!