Nicola created a new topic ' New to client development' in the forum. 1 year ago

Hello All,

I'm moving my first steps into client development with INDI. I have tried the example client and I understood they way it works, but some questions are bugging me.
- the sample client shows the connection to a single driver, but how about I have to orchestrate many drivers? Should I put as many watchDevice as needed?
- the same sample client specifies the driver to connect and talk to, but how do I collect at the beginning the instrument types available? That's to say, I have one mount, two cameras, two focusers, one dome, etc...together with the driver name
- what if I don't want to specify a property, but I rather want to get all from a driver?

clear skies
Nicola

Read More...

Nicola created a new topic ' SX-AO does not connect' in the forum. 6 years ago

Dear All,

I simply can not connect to the SX-AO. I am running ubuntu and I've just installed the indi lib.
When I hit connect, the log says

2018-02-25T18:31:50 SX AO is disconnected.
2018-02-25T18:31:37 INDI services started on port 7624. Please connect devices.
2018-02-25T18:31:37 Starting INDI services...

SX-AO is up and running and the device is correctly set to /dev/ttyUSB0 which is the connection to the USB-Serial adapter.

Any hint of what I could try?

Thanks a lot in advance
Nicola

Read More...

Hi, just rebooting the VM solve the situation, now both prolific interfaces are detected.
However the Temma driver still does not connect to the mount.
Is there anything I can do to identify the issue? Debugs, logs, etc...

Thanks
Nicola

Read More...

No, it wasn't. I looked at the windows driver and it was COM2 which I believe is /dev/ttyUSB1
I changed that, but it is not working. So I had a look at the USB devices recognized by the VM and I realized that it is not connecting to the COM2 USB driver (Prolific)
I have two of them, one is getting connected (the focuser) while the same driver on the mount is not getting connected, with this error:


USB device 'Prolific Technology Inc. USB-Serial Controller D' with UUID {6a25c3f4-49ab-441e-8e14-c2fd8c195a9d} is busy with a previous request. Please try again later.
Result Code:
E_INVALIDARG (0x80070057)
Component:
HostUSBDeviceWrap
Interface:
IHostUSBDevice {c19073dd-cc7b-431b-98b2-951fda8eab89}
Callee:
IConsole {872da645-4a9b-1727-bee2-5585105b9eed}

What could I try?

Thanks
Nicola

Read More...

Nicola replied to the topic 'QSI583wsg not connected' in the forum. 7 years ago

Oh yes, they are installed as I am using the camera with maxim

Read More...

Nicola replied to the topic 'QSI583wsg not connected' in the forum. 7 years ago

Ehm...which driver? I actually did not install anything from QSI. What should I download?

Thanks!
Nicola

Read More...

Nicola created a new topic ' AAG Cloudwatcher port?' in the forum. 7 years ago

Hello All,

I am using the Virtual Machine with Ekos. I don't know which port to configure to connect to my AAG Cloudwatcher. I don't use a serial2USB cable, I have a real RS232 port on my industrial PC. Can anyone help me? On windows it is the COM4 but I don't seem to see it from Ekos or from Indi. I would need also a little help on how to tackle the issue.

Thanks a lot
Nicola

Read More...

Hello Everyone,

my EM200 does not get connected to the indi server. I get always:

Communication with /dev/ttyUSB2 @ 9600 failed. Starting Auto Search...

I'm running under the latest VirtualMachine with Ekos, and I am pretty sure about the usb2serial port.

Thask a lot for your help
Nicola

Read More...

Nicola created a new topic ' QSI583wsg not connected' in the forum. 7 years ago

Hello Everybody,

I own a QSI583wsg, but when I try to connect using Indi I get the error:

2017-06-29T18:15:20: Error: put_Connected(true) failed. 0x0:Cannot open camera connection.
2017-06-29T18:15:12: Attempting to find QSI CCD...
2017-06-29T18:14:07: Debug is enabled.

I am running the latest virtual machine and I updated via apt-get the latest QSI driver. Virtualbox correctly detects the USB Device.
I am running Kstars/Ekos as ekos user and I already checked the FAQ related to CCDs.

Can you please help me? Thanks a lot!
Nicola

Read More...

Hello All,

I am using this link to setup my astro-raspberry: indilib.org/support/tutorials/166-instal...ubuntu-classic-16-04

However when I issue the command below:

pip3 install --user --install-option="--prefix=" pyindi-client

it returns an error, see log:

root@skymonsters-pi3:/home/skymonsters/Desktop# pip3 install --user --install-option="--prefix=" pyindi-client
/usr/lib/python3/dist-packages/pip/commands/install.py:198: UserWarning: Disabling all use of wheels due to the use of --build-options / --global-options / --install-options.
cmdoptions.check_install_build_global(options)
Collecting pyindi-client
Using cached pyindi-client-0.2.0.tar.gz
Skipping bdist_wheel for pyindi-client, due to binaries being disabled for it.
Installing collected packages: pyindi-client
Running setup.py install for pyindi-client ... error
Complete output from command /usr/bin/python3 -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-jfpz3iwt/pyindi-client/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /tmp/pip-c2cxa_cs-record/install-record.txt --single-version-externally-managed --compile --prefix= --user --prefix=:
running install
running build_ext
building '_PyIndi' extension
swigging indiclientpython.i to indiclientpython_wrap.cpp
swig -python -v -Wall -c++ -threads -I/usr/include -I/usr/include/libindi -o indiclientpython_wrap.cpp indiclientpython.i
Language subdirectory: python
Search paths:
./
/usr/include/
/usr/include/libindi/
./swig_lib/python/
/usr/share/swig3.0/python/
./swig_lib/
/usr/share/swig3.0/
Preprocessing...
Starting language-specific parse...
/usr/include/libindi/baseclient.h:32: Warning 322: Redundant redeclaration of 'MAXRBUF',
/usr/include/libindi/indibase.h:10: Warning 322: previous declaration of 'MAXRBUF'.
/usr/include/libindi/baseclient.h:232: Warning 325: Nested struct not currently supported (BLOBMode ignored)
/usr/include/libindi/basedevice.h:32: Warning 322: Redundant redeclaration of 'MAXRBUF',
/usr/include/libindi/indibase.h:10: Warning 322: previous declaration of 'MAXRBUF'.
/usr/include/libindi/baseclient.h:56: Warning 403: Class 'INDI::BaseClient' might be abstract, no constructors generated,
/usr/include/libindi/indibase.h:81: Warning 403: Method INDI::BaseMediator::newDevice(INDI::BaseDevice *) might not be implemented.
Processing types...
C++ analysis...
Processing nested classes...
Generating wrappers...
creating build
creating build/temp.linux-armv7l-3.5
arm-linux-gnueabihf-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/usr/include -I/usr/include/libindi -I/usr/include/python3.5m -c indiclientpython_wrap.cpp -o build/temp.linux-armv7l-3.5/indiclientpython_wrap.o
cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++
creating build/lib.linux-armv7l-3.5
arm-linux-gnueabihf-g++ -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-Bsymbolic-functions -Wl,-z,relro -Wl,-Bsymbolic-functions -Wl,-z,relro -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 build/temp.linux-armv7l-3.5/indiclientpython_wrap.o /usr/lib/arm-linux-gnueabihf/libindiclient.a -lz -lcfitsio -lnova -o build/lib.linux-armv7l-3.5/_PyIndi.cpython-35m-arm-linux-gnueabihf.so
/usr/bin/ld: cannot find -lz
/usr/bin/ld: cannot find -lcfitsio
/usr/bin/ld: cannot find -lnova
collect2: error: ld returned 1 exit status
error: command 'arm-linux-gnueabihf-g++' failed with exit status 1


Command "/usr/bin/python3 -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-jfpz3iwt/pyindi-client/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /tmp/pip-c2cxa_cs-record/install-record.txt --single-version-externally-managed --compile --prefix= --user --prefix=" failed with error code 1 in /tmp/pip-build-jfpz3iwt/pyindi-client/


It looks like some libraries are missing, is it the root cause of the issue? How come that they are not installed as a pre-requisite? ow may I install them?

Thanks
Nicola

Read More...

Hello Everyone,

I am moving my first steps into Raspberry to control my remote Observatory and I am following the instructions here: indilib.org/support/tutorials/166-instal...ubuntu-classic-16-04

However, when I issue the command

pip3 install --user --install-option="--prefix=" pyindi-client

I get the following error:

root@skymonsters-pi3:/home/skymonsters/Desktop# pip3 install --user --install-option="--prefix=" pyindi-client
/usr/lib/python3/dist-packages/pip/commands/install.py:198: UserWarning: Disabling all use of wheels due to the use of --build-options / --global-options / --install-options.
cmdoptions.check_install_build_global(options)
Collecting pyindi-client
Using cached pyindi-client-0.2.0.tar.gz
Skipping bdist_wheel for pyindi-client, due to binaries being disabled for it.
Installing collected packages: pyindi-client
Running setup.py install for pyindi-client ... error
Complete output from command /usr/bin/python3 -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-jfpz3iwt/pyindi-client/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /tmp/pip-c2cxa_cs-record/install-record.txt --single-version-externally-managed --compile --prefix= --user --prefix=:
running install
running build_ext
building '_PyIndi' extension
swigging indiclientpython.i to indiclientpython_wrap.cpp
swig -python -v -Wall -c++ -threads -I/usr/include -I/usr/include/libindi -o indiclientpython_wrap.cpp indiclientpython.i
Language subdirectory: python
Search paths:
./
/usr/include/
/usr/include/libindi/
./swig_lib/python/
/usr/share/swig3.0/python/
./swig_lib/
/usr/share/swig3.0/
Preprocessing...
Starting language-specific parse...
/usr/include/libindi/baseclient.h:32: Warning 322: Redundant redeclaration of 'MAXRBUF',
/usr/include/libindi/indibase.h:10: Warning 322: previous declaration of 'MAXRBUF'.
/usr/include/libindi/baseclient.h:232: Warning 325: Nested struct not currently supported (BLOBMode ignored)
/usr/include/libindi/basedevice.h:32: Warning 322: Redundant redeclaration of 'MAXRBUF',
/usr/include/libindi/indibase.h:10: Warning 322: previous declaration of 'MAXRBUF'.
/usr/include/libindi/baseclient.h:56: Warning 403: Class 'INDI::BaseClient' might be abstract, no constructors generated,
/usr/include/libindi/indibase.h:81: Warning 403: Method INDI::BaseMediator::newDevice(INDI::BaseDevice *) might not be implemented.
Processing types...
C++ analysis...
Processing nested classes...
Generating wrappers...
creating build
creating build/temp.linux-armv7l-3.5
arm-linux-gnueabihf-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/usr/include -I/usr/include/libindi -I/usr/include/python3.5m -c indiclientpython_wrap.cpp -o build/temp.linux-armv7l-3.5/indiclientpython_wrap.o
cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++
creating build/lib.linux-armv7l-3.5
arm-linux-gnueabihf-g++ -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-Bsymbolic-functions -Wl,-z,relro -Wl,-Bsymbolic-functions -Wl,-z,relro -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 build/temp.linux-armv7l-3.5/indiclientpython_wrap.o /usr/lib/arm-linux-gnueabihf/libindiclient.a -lz -lcfitsio -lnova -o build/lib.linux-armv7l-3.5/_PyIndi.cpython-35m-arm-linux-gnueabihf.so
/usr/bin/ld: cannot find -lz
/usr/bin/ld: cannot find -lcfitsio
/usr/bin/ld: cannot find -lnova
collect2: error: ld returned 1 exit status
error: command 'arm-linux-gnueabihf-g++' failed with exit status 1


Command "/usr/bin/python3 -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-jfpz3iwt/pyindi-client/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /tmp/pip-c2cxa_cs-record/install-record.txt --single-version-externally-managed --compile --prefix= --user --prefix=" failed with error code 1 in /tmp/pip-build-jfpz3iwt/pyindi-client/

Looking at this log it would seem that the reason is because it does not find the libraries: libz, libcfitsio and libnova, but I don't know if this is the only reason and why it is complaining about that, guessing that the commands before should have installed all the pre-requisites.

Thanks for your help
Nicola

Read More...