Use Case: Standard Command
Description:
Process standard command.
Role(s)/Actor(s):
Primary: User
Secondary: SW Device, HW Device
Priority: Major
Performance:
Up to a couple of minutes.
Frequency:
Any time
Preconditions:
- Process ready to receive commands.
Basic Course:
- Receive new standard command
Exception Course: Receive failed
Exception Course: Not a standard command
- Send the command to all dependent sub-systems
ONLY for the commands OFF,
INIT,
STANDBY,
ONLINE,
STOP/BREAK,
EXIT/KILL and
SELFTST
Wait for those devices to reply
Exception Course: Send failed
- Process command:
Standard Commands:
- Subflow: Command OFF
- Subflow: Command INIT
- Subflow: Command STANDBY
- Subflow: Command ONLINE
- Subflow: Commands STOP|BREAK
- Subflow: Commands EXIT|KILL
- Subflow: Command SIMULAT
- Subflow: Command STOPSIM
- Subflow: Command SELFTST
- Subflow: Command TEST
Query & Tool Commands:
- Subflow: Command STATE
- Subflow: Command STATUS
- Subflow: Command VERSION
- Subflow: Command GETINIT
- Subflow: Command GETSIM
- Subflow: Command VERBOSE
- Subflow: Command GETVERB
- Subflow: Command DEBUG
- Subflow: Command GETDEBU
- Subflow: Command TRACE
- Subflow: Command GETTRA
Exception Course: Command failed
- Return OK reply
Subflow:
Command OFF
- Set process to Loaded, ready to receive commands.
Postcondition: State is LOADED - Not Initialized.
Subflow:
Command INIT
- Initialize process
Postcondition: State is LOADED - Initialized.
Subflow:
Command STANDBY
- Set process in Stand-By
Postcondition: State is STANDBY - Idle.
Subflow:
Command ONLINE
- Set process On-Line
Postcondition: State is ONLINE - Idle.
Subflow:
Commands STOP | BREAK
- Stop on-going activity
Postcondition: State is unchanged - Sub-state is Idle.
Subflow:
Commands EXIT | KILL
- Terminate process
Postcondition: State is OFF -
Idle
The process is terminated.
Subflow:
Command SIMULAT
- Set the process to simulation mode
Postcondition: State is LOADED - Not Initialized.
Subflow:
Command STOPSIM
- Set the process back to normal mode
Postcondition: State is LOADED - Not Initialized.
Subflow:
Command SELFTST
- Performs a selftest
Postcondition: State is unchanged Idle.
Subflow:
Command TEST
- Performs complete system tests
Postcondition: State is LOADED - Not Initialized.
Subflow:
Command STATE
- Return current state (evt. with sub-state)
Postcondition: State is unchanged.
Subflow:
Command STATUS
- Return current system status
Postcondition: State is unchanged.
Subflow:
Command VERSION
- Return module version
Postcondition: State is unchanged.
Subflow:
Command GETINIT
- Return the Initialization status:
Not Initialized|Initializing|Initialized
Postcondition: State is unchanged.
Subflow:
Command GETSIM
- Return simulation flag
Postcondition: State is unchanged.
Subflow:
Command VERBOSE
- Set verbose mode On|Off
Postcondition: State is unchanged.
Subflow:
Command GETVERB
- Return verbose mode
Postcondition: State is unchanged.
Subflow:
Command DEBUG
- Set debug flag On|Off
Postcondition: State is unchanged.
Subflow:
Command GETDEBU
- Return debug flag
Postcondition: State is unchanged.
Subflow:
Command TRACE
- Set trace flag On|Off
Postcondition: State is unchanged.
Subflow:
Command GETTRA
- Return trace flag
Postcondition: State is unchanged.
Exception Course: Receive failed
Exception Course: Not a standard
command
Exception Course: Command failed
Postconditions:
- Module in requested state - sub-state.
Issues to be Determined or Resolved: None
Notes:
Possible conflicting situation may occur when a SW device is composed
of sub-SW devices and all are declared in the LCC Device Table. The
automatic propagation of the standard commands to all registered SW
devices may collide with the internal propagation of those commands to
the sub-SW devices by the main SW device: The dependent SW devices
shall not be registered in the Device Table and rely solely on
the command propagation. An error is returned if a dependent SW
device is found in the Device Table. This check will be performed once
at boot time, when the command SELFTST
is sent to all devices found in the Device Table.
Last modified: Thu Jun 28 13:55:43 UTC 2001