Welcome, Guest
Username: Password: Remember me
30 Oct 2016
INDI Development team is happy to announce the release of INDI Library v1.3.0 on Oct. 30th, 2016.
Read More...
  • Page:
  • 1

TOPIC: specific question about set get eval

specific question about set get eval 9 months 7 hours ago #8361

Here's the problem

I've to move the mount (skywatcher az-eq6) to a couple of angles. I saw in other topics that other users manager to move the mount. In a page of the developer manual, there's a description of the set_prop get_prop tools, but not the actions or the properties, argument to write in the tools in command line. Another question is the following: The set get and eval call any sort of executable on the server or client? If yes, where are situated the related repositories?

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

specific question about set get eval 8 months 4 weeks ago #8436

  • gerryr
  • gerryr's Avatar
  • Offline
  • Gold Boarder
  • Gold Boarder
  • Posts: 174
  • Karma: 2
  • Thank you received: 37
I see nobody has responded.

When you install indi, two command line utilities are included, indi_getprop and indi_setprop. Either of them will give a rundown of how they should be used with the -h paramater for help. ie indi_getprop -h at the command line.

I use them in scripts to configure test setups, here is an example that configures my simulator setup with specific parameters after I start it.
=====
#!/bin/sh

# set up the mount
indi_setprop EQ3.CONNECTION.CONNECT=On
indi_setprop EQ3.CONFIG_PROCESS.CONFIG_LOAD=On

#now the guide camera
indi_setprop testguide.CONNECTION.CONNECT=On
indi_setprop testguide.CONFIG_PROCESS.CONFIG_LOAD=On

#now the imaging camera
indi_setprop testccd.CONNECTION.CONNECT=On
indi_setprop testccd.CONFIG_PROCESS.CONFIG_LOAD=On

#now the focusser
indi_setprop focus.CONNECTION.CONNECT=On
indi_setprop focus.CONFIG_PROCESS.CONFIG_LOAD=On

#everybody is connected, now turn on the wcs control on the guider
indi_setprop testguide.WCS_CONTROL.WCS_ENABLE=On
indi_setprop testguide.TELESCOPE_TYPE.TELESCOPE_GUIDE=On
#and make the guider produce larger stars
indi_setprop focus.SEEING_SETTINGS.SIM_SEEING=35
#and prime it with a focusser setting
indi_setprop focus.ABS_FOCUS_POSITION.FOCUS_ABSOLUTE_POSITION=25000


#now make the mount reload, so everybody gets correct focal lengths
indi_setprop EQ3.CONFIG_PROCESS.CONFIG_LOAD=On

#and now lets connect the dome
indi_setprop TestDome.CONNECTION.CONNECT=On
indi_setprop TestDome.CONFIG_PROCESS.CONFIG_LOAD=On
============
The following user(s) said Thank You: knro

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

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