×

INDI Library v2.0.7 is Released (01 Apr 2024)

Bi-monthly release with minor bug fixes and improvements

specific question about set get eval

  • Posts: 15
  • Thank you received: 0
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?
7 years 10 months ago #8361

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

  • Posts: 193
  • Thank you received: 46
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: Jasem Mutlaq
7 years 10 months ago #8436

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

Time to create page: 0.528 seconds