specific question about set get eval

  • Posts: 15
  • Thank you received: 0

specific question about set get eval was created by emalabro

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?
2 years 8 months ago #8361

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

  • Posts: 197
  • Karma: 3
  • Thank you received: 48

Replied by gerryr on topic specific question about set get eval

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
2 years 8 months ago #8436

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

Time to create page: 0.505 seconds