LHK Class Reference

LHK telecommand package class. More...

Inheritance diagram for LHK:

Inheritance graph
[legend]
Collaboration diagram for LHK:

Collaboration graph
[legend]
List of all members.

Public Member Functions

def __init__
 LHK constructor.
def requestDiagHskPacket
 Request a housekeeping diagnostic packet.
def uploadHskCfg
 Upload a HSK configuration file to the SIU.
def getHskFileSeq
 Retrieve the next available file number.
def clearHskConfigs
 Clear the HSK Config cache.

Detailed Description

LHK telecommand package class.

Provides access to LHK telecommands.

Definition at line 29 of file LHK.py.


Member Function Documentation

def __init__   self,
  db
 

LHK constructor.

Parameters:
db Wrapper database object for the generated module containing command and telemetry database classes.

Reimplemented from CmdPkg.

Definition at line 31 of file LHK.py.

def clearHskConfigs   self  ) 
 

Clear the HSK Config cache.

Definition at line 106 of file LHK.py.

def getHskFileSeq   self  ) 
 

Retrieve the next available file number.

Returns:
The next file number starting with 1

Definition at line 98 of file LHK.py.

def requestDiagHskPacket   self,
  apid,
  payloadMnems,
  timeout = 10,
  count = 1,
  interval = 100
 

Request a housekeeping diagnostic packet.

This method requests a housekeeping diagnostic packet identified by apid, waits on it and returns the payload values corresponding to the payloadMnems list.

Once the telemetry is received, the request is cancelled.

Parameters:
apid Housekeeping apid
payloadMnems List of payload mnemonics
timeout Amount of time to wait for the packet
count Number of times the packet is requested
interval The interval between each packet
Returns:
A list of payload values or None if the packet times out. If a given payload mnemonic is not found its value is set to None.

Definition at line 41 of file LHK.py.

def uploadHskCfg   self,
  hskCfgFile,
  fileNo,
  inputPath = LICOS_CONFIG_LHK
 

Upload a HSK configuration file to the SIU.

Parameters:
hskCfgFile HSK configuration file
fileNo File number
Returns:
File upload status, if None it means file upload failed

Definition at line 69 of file LHK.py.


The documentation for this class was generated from the following file:
Generated on Thu Apr 27 20:53:06 2006 for LICOS L02-01-00 by doxygen 1.4.6-NO