Welcome to KeckKeywordInterface’s documentation!¶
-
KeckKeywordInterface.keywords.
Keywords
(servers=None, keywords=None, mode='web')¶ This class is strucutured to read the keywords from Keck instruments
…
- _servers : list
- A list of servers to receive correct keyword (server that is correlated to the keyworks in ‘_keywords’).
- _keywords : list
- A list of keywords to get value.
- _mode : str
- The vechical at which a keyword is to be obtained.
- get_keywords()
- The method to get all the keywords in ‘_keywords’ from servers in ‘_servers’ and returns a dictionary of the values.
- get_keyword(server, keyword)
- The method to get fetch a single keyword.
- server_up(server, keyword)
- Checks to see if the server is up and will return a boolean.
- get_keyword_history(server, keyword, time, label=’‘)
- The method to get the history of the given keyword
- ping_computer(instrument, server)
- The method to ping a computer to make sure the computer given has a heartbeat (will return a boolean)
- ps_process(instrument, process)
- The method to check to see if a process is running or not (will return a boolean)