Property inspector

Forum dedicated to INDIGO Script know-how exchange
Post Reply
JohanB
Posts: 267
Joined: Thu Apr 21, 2016 5:55 pm

Property inspector

Post by JohanB »

Hi,

Been building a server based Meridian flip script (will publish here soon), that was rather complex to figure out and build. So i built small and very simple script that will log all the updated properties and their states from the Mount-, Imager-, Guider- and Astrometry Agent. This allowed me to see which properties are updated in which order and when their states changed to "Busy", "Ok" or "Alert".

.pi@ZGAstroScope:~ $ tail -f /var/log/syslog | grep INSPECTOR
Mar 9 19:37:08 ZGAstro indiboot[361]: 19:37:08.367202 indigo_server: INSPECTOR - IMAGER - AGENT_ABORT_PROCESS - Ok
Mar 9 19:37:08 ZGAstro indiboot[361]: 19:37:08.368226 indigo_server: INSPECTOR - GUIDER - AGENT_ABORT_PROCESS - Ok
Mar 9 19:37:08 ZGAstro indiboot[361]: 19:37:08.369160 indigo_server: INSPECTOR - MOUNT - MOUNT_EQUATORIAL_COORDINATES - Busy
Mar 9 19:37:08 ZGAstro indiboot[361]: 19:37:08.371306 indigo_server: INSPECTOR - MOUNT - MOUNT_RAW_COORDINATES - Busy
Mar 9 19:37:08 ZGAstro indiboot[361]: 19:37:08.573229 indigo_server: INSPECTOR - MOUNT - MOUNT_HORIZONTAL_COORDINATES - Ok
Mar 9 19:37:08 ZGAstro indiboot[361]: 19:37:08.575532 indigo_server: INSPECTOR - MOUNT - AGENT_LIMITS - Ok
Mar 9 19:37:08 ZGAstro indiboot[361]: 19:37:08.576740 indigo_server: INSPECTOR - MOUNT - MOUNT_LST_TIME - Ok
Mar 9 19:37:08 ZGAstro indiboot[361]: 19:37:08.578965 indigo_server: INSPECTOR - IMAGER - CCD_FITS_HEADERS - Ok
Mar 9 19:37:08 ZGAstro indiboot[361]: 19:37:08.585219 indigo_server: INSPECTOR - MOUNT - MOUNT_EQUATORIAL_COORDINATES - Ok
Mar 9 19:37:08 ZGAstro indiboot[361]: 19:37:08.598318 indigo_server: INSPECTOR - MOUNT - AGENT_LIMITS - Ok
Mar 9 19:37:08 ZGAstro indiboot[361]: 19:37:08.653250 indigo_server: INSPECTOR - IMAGER - CCD_FITS_HEADERS - Ok
Mar 9 19:37:08 ZGAstro indiboot[361]: 19:37:08.660225 indigo_server: INSPECTOR - ASTROM - FILTER_RELATED_AGENT_LIST - Ok
Mar 9 19:37:08 ZGAstro indiboot[361]: 19:37:08.661049 indigo_server: INSPECTOR - ASTROM - AGENT_PLATESOLVER_SYNC - Ok
Mar 9 19:37:08 ZGAstro indiboot[361]: 19:37:08.663298 indigo_server: INSPECTOR - ASTROM - AGENT_PLATESOLVER_HINTS - Ok
Mar 9 19:37:09 ZGAstro indiboot[361]: 19:37:09.574249 indigo_server: INSPECTOR - ASTROM - AGENT_PLATESOLVER_HINTS - Ok
Mar 9 19:37:09 ZGAstro indiboot[361]: 19:37:09.592866 indigo_server: INSPECTOR - ASTROM - AGENT_PLATESOLVER_HINTS - Ok
Mar 9 19:37:09 ZGAstro indiboot[361]: 19:37:09.611444 indigo_server: INSPECTOR - ASTROM - AGENT_PLATESOLVER_HINTS - Ok
Mar 9 19:37:09 ZGAstro indiboot[361]: 19:37:09.615158 indigo_server: INSPECTOR - MOUNT - MOUNT_RAW_COORDINATES - Ok
Mar 9 19:37:09 ZGAstro indiboot[361]: 19:37:09.620048 indigo_server: INSPECTOR - IMAGER - CCD_EXPOSURE - Busy
Mar 9 19:37:09 ZGAstro indiboot[361]: 19:37:09.817736 indigo_server: INSPECTOR - MOUNT - MOUNT_HORIZONTAL_COORDINATES - Ok
Mar 9 19:37:09 ZGAstro indiboot[361]: 19:37:09.820198 indigo_server: INSPECTOR - MOUNT - AGENT_LIMITS - Ok
Mar 9 19:37:09 ZGAstro indiboot[361]: 19:37:09.821441 indigo_server: INSPECTOR - MOUNT - MOUNT_LST_TIME - Ok
Mar 9 19:37:09 ZGAstro indiboot[361]: 19:37:09.823513 indigo_server: INSPECTOR - IMAGER - CCD_FITS_HEADERS - Ok
Etc...

This information is also in the regular logging on debug level, but this script just cuts the information down to what you need to understand how things work.

Regards, Johan
Shutdown_Property_Inspector.js
(240 Bytes) Downloaded 21 times
Execute_Property_Inspector.js
(810 Bytes) Downloaded 23 times
Post Reply