API
 
Loading...
Searching...
No Matches
pythonIndiExample.py
Go to the documentation of this file.
1import sys
2import logging
3import xconf
4from magaox.indi.device import XDevice, BaseConfig
5
6log = logging.getLogger(__name__)
7
8@xconf.config
9class ExampleConfig(BaseConfig):
10 """Example Python INDI device for MagAO-X
11
12 Write your command-line help here, and it will be displayed when
13 someone runs `pythonIndiExample -h` in the terminal (along with
14 a summary of available options)
15 """
16 configurable_doodad_1 : str = xconf.field(default="abc", help="Configurable doodad 1")
17
18class pythonIndiExample(XDevice):
19 config : ExampleConfig
20
21 def loop(self):
22 log.info("Looping")