GLAST / LAT > DAQ and FSW > FSW > Doxygen Index> LIM / V1-22-4 > lim_scp / rhel6-32
#include <CLI/CLI_pubdefs.h>
Functions | |
unsigned int | LIM_sendBiasAcdHv (unsigned int arc_id, unsigned int bias) |
Send the Bias-ACD command to set an ARC's HV bias. | |
unsigned int | LIM_sendBiasAcdSaa (unsigned int arc_id, unsigned int bias) |
Send the Bias-ACD command to set an ARC's SAA bias. | |
unsigned int | LIM_sendBiasCal (unsigned int tower_id, unsigned int bias) |
Send the Bias-CAL command. | |
unsigned int | LIM_sendBiasTkr (unsigned int tower_id, unsigned int bias) |
Send the Bias-TKR command. | |
unsigned int | LIM_sendCalStart (unsigned int latc_config, unsigned int lci_config, unsigned int dest) |
Send the Calibration-Start command. | |
unsigned int | LIM_sendConfigGbm (int rep_allowed, int pri_int_allowed, int red_int_allowed) |
Send the Configure-GBM command. | |
unsigned int | LIM_sendConfigHv (int hv_allowed) |
Send the Configure-HV command. | |
unsigned int | LIM_sendConfigPid (int primary) |
Send the Configure-PID command. | |
unsigned int | LIM_sendEpuOff (unsigned int epu_id) |
Send the Power-Off command to disable power from an EPU. | |
unsigned int | LIM_sendEpuOn (unsigned int epu_id, unsigned int pdu_id) |
Send the Power-On command to enable power to an EPU. | |
unsigned int | LIM_sendHoldEnter (void) |
Send the Hold-Enter command. | |
unsigned int | LIM_sendHoldExit (void) |
Send the Hold-Exit command. | |
unsigned int | LIM_sendLatcRecord (unsigned int dest) |
Send the Latc-Record command. | |
unsigned int | LIM_sendLoadShed (void) |
Send the Load-Shed command. | |
unsigned int | LIM_sendMainFeedOnPrimary (unsigned int siu_id, unsigned int pdu, unsigned int pps) |
Send the Main-Feed-On command to enable primary component power. | |
unsigned int | LIM_sendPigRecord (unsigned int dest) |
Send the Pig-Record command. | |
unsigned int | LIM_sendSaaEnter (void) |
Send the SAA-Enter command. | |
unsigned int | LIM_sendSaaExit (void) |
Send the SAA-Exit command. | |
unsigned int | LIM_sendSafeMode (void) |
Send the Safe-Mode command. | |
unsigned int | LIM_sendTemOn (unsigned int tem_id, unsigned int pdu_id) |
Send the Power-On command to enable power to a TEM. | |
int | LIM_setDisplayLevelCmd (int level) |
Set the verbosity level of the LIM command display. | |
unsigned int | LIM_addSyntaxSCP (CLI_Syntax *syntax) |
Add LIM commands to the command-line syntax. |
** CVS $Id: LIM_send.h,v 1.10 2011/03/29 21:20:27 apw Exp $ **
Defines the interface to the functions found in LIM_send.c.
unsigned int LIM_addSyntaxSCP | ( | CLI_Syntax * | syntax | ) |
Add LIM commands to the command-line syntax.
syntax | Syntax handle. |
References LIM_sendBiasAcdHv_cli(), LIM_sendBiasAcdSaa_cli(), LIM_sendBiasCal_cli(), LIM_sendBiasTkr_cli(), LIM_sendCalStart_cli(), LIM_sendConfigPid_cli(), LIM_sendEpuOff_cli(), LIM_sendEpuOn_cli(), LIM_sendHoldEnter_cli(), LIM_sendHoldExit_cli(), LIM_sendLoadShed_cli(), LIM_sendMainFeedOnPrimary_cli(), LIM_sendSaaEnter_cli(), LIM_sendSaaExit_cli(), LIM_sendSafeMode_cli(), LIM_sendTemOn_cli(), and LIM_setDisplayLevelCmd_cli().
unsigned int LIM_sendBiasAcdHv | ( | unsigned int | arc_id, | |
unsigned int | bias | |||
) |
Send the Bias-ACD command to set an ARC's HV bias.
arc_id | ID of the ARC (0 - 11). | |
bias | Bias voltage value (0 - 0xfff). |
0 | Success. | |
Nonzero | Failure. |
References lim_sendBiasAcd().
Referenced by LIM_sendBiasAcdHv_cli().
unsigned int LIM_sendBiasAcdSaa | ( | unsigned int | arc_id, | |
unsigned int | bias | |||
) |
Send the Bias-ACD command to set an ARC's SAA bias.
arc_id | ID of the ARC (0 - 11). | |
bias | Bias voltage value (0 - 0xfff). |
0 | Success. | |
Nonzero | Failure. |
References lim_sendBiasAcd().
Referenced by LIM_sendBiasAcdSaa_cli().
unsigned int LIM_sendBiasCal | ( | unsigned int | tower_id, | |
unsigned int | bias | |||
) |
Send the Bias-CAL command.
tower_id | ID of the tower (0 - 15). | |
bias | Bias voltage value (0 - 0xffff). |
0 | Success. | |
Nonzero | Failure. |
References LIM_dumpBiasCal(), and lim_send_command().
Referenced by LIM_sendBiasCal_cli().
unsigned int LIM_sendBiasTkr | ( | unsigned int | tower_id, | |
unsigned int | bias | |||
) |
Send the Bias-TKR command.
tower_id | ID of the tower (0 - 15). | |
bias | Bias voltage value (0 - 0xffff). |
0 | Success. | |
Nonzero | Failure. |
References LIM_dumpBiasTkr(), and lim_send_command().
Referenced by LIM_sendBiasTkr_cli().
unsigned int LIM_sendCalStart | ( | unsigned int | latc_config, | |
unsigned int | lci_config, | |||
unsigned int | dest | |||
) |
Send the Calibration-Start command.
latc_config | LATC configuration. | |
lci_config | LCI configuration. | |
dest | Destination. |
0 | Success. | |
Nonzero | Failure. |
References LIM_dumpCalStart(), and lim_send_command().
Referenced by LIM_sendCalStart_cli().
unsigned int LIM_sendConfigGbm | ( | int | rep_allowed, | |
int | pri_int_allowed, | |||
int | red_int_allowed | |||
) |
Send the Configure-GBM command.
rep_allowed | Flag to allow repoint requests. | |
pri_int_allowed | Flag to allow primary GBM interrupts. | |
red_int_allowed | Flag to allow redundant GBM interrupts. |
0 | Success. | |
Nonzero | Failure. |
References LIM_dumpConfigGbm(), and lim_send_command().
unsigned int LIM_sendConfigHv | ( | int | hv_allowed | ) |
Send the Configure-HV command.
hv_allowed | Flag to allow high-voltage enabling. |
0 | Success. | |
Nonzero | Failure. |
References LIM_dumpConfigHv(), and lim_send_command().
unsigned int LIM_sendConfigPid | ( | int | primary | ) |
Send the Configure-PID command.
primary | Flag to select primary PID input signals. |
0 | Success. | |
Nonzero | Failure. |
References LIM_dumpConfigPid(), and lim_send_command().
Referenced by LIM_sendConfigPid_cli().
unsigned int LIM_sendEpuOff | ( | unsigned int | epu_id | ) |
Send the Power-Off command to disable power from an EPU.
epu_id | ID of the EPU (0 - 2). |
0 | Success. | |
Nonzero | Failure. |
References LIM_dumpPowerOff(), and lim_send_command().
Referenced by LIM_sendEpuOff_cli().
unsigned int LIM_sendEpuOn | ( | unsigned int | epu_id, | |
unsigned int | pdu_id | |||
) |
Send the Power-On command to enable power to an EPU.
epu_id | ID of the EPU (0 - 2). | |
pdu_id | ID of the PDU to use (0 or 1). |
0 | Success. | |
Nonzero | Failure. |
References LIM_dumpPowerOn(), and lim_send_command().
Referenced by LIM_sendEpuOn_cli().
unsigned int LIM_sendHoldEnter | ( | void | ) |
Send the Hold-Enter command.
0 | Success. | |
Nonzero | Failure. |
References LIM_dumpHoldEnter(), and lim_send_command().
Referenced by LIM_sendHoldEnter_cli().
unsigned int LIM_sendHoldExit | ( | void | ) |
Send the Hold-Exit command.
0 | Success. | |
Nonzero | Failure. |
References LIM_dumpHoldExit(), and lim_send_command().
Referenced by LIM_sendHoldExit_cli().
unsigned int LIM_sendLatcRecord | ( | unsigned int | dest | ) |
Send the Latc-Record command.
dest | Destination parameter value. |
0 | Success. | |
Nonzero | Failure. |
References LIM_dumpLatcRecord(), and lim_send_command().
unsigned int LIM_sendLoadShed | ( | void | ) |
Send the Load-Shed command.
0 | Success. | |
Nonzero | Failure. |
References LIM_dumpLoadShed(), and lim_send_command().
Referenced by LIM_sendLoadShed_cli().
unsigned int LIM_sendMainFeedOnPrimary | ( | unsigned int | siu_id, | |
unsigned int | pdu, | |||
unsigned int | pps | |||
) |
Send the Main-Feed-On command to enable primary component power.
This command sends the Main-Feed-On command to enable power using the primary main feed and primary DAB. It also selects the primary paths to the SSR and GBM.
siu_id | ID of the SIU (0 - 2). | |
pdu | Bitmask of PDUs to power (0 = none, 1 = PDU-0, 2 = PDU-1, 3 = both). | |
pps | Bitmask of PPS source (0 = primary external, 1 = internal, 2 = redundant external, 3 = internal) |
0 | Success. | |
Nonzero | Failure. |
References LIM_dumpMainFeedOn(), and lim_send_command().
Referenced by LIM_sendMainFeedOnPrimary_cli().
unsigned int LIM_sendPigRecord | ( | unsigned int | dest | ) |
Send the Pig-Record command.
dest | Destination parameter value. |
0 | Success. | |
Nonzero | Failure. |
References LIM_dumpPigRecord(), and lim_send_command().
unsigned int LIM_sendSaaEnter | ( | void | ) |
Send the SAA-Enter command.
0 | Success. | |
Nonzero | Failure. |
References LIM_dumpSaaEnter(), and lim_send_command().
Referenced by LIM_sendSaaEnter_cli().
unsigned int LIM_sendSaaExit | ( | void | ) |
Send the SAA-Exit command.
0 | Success. | |
Nonzero | Failure. |
References LIM_dumpSaaExit(), and lim_send_command().
Referenced by LIM_sendSaaExit_cli().
unsigned int LIM_sendSafeMode | ( | void | ) |
Send the Safe-Mode command.
0 | Success. | |
Nonzero | Failure. |
References LIM_dumpSafeMode(), and lim_send_command().
Referenced by LIM_sendSafeMode_cli().
unsigned int LIM_sendTemOn | ( | unsigned int | tem_id, | |
unsigned int | pdu_id | |||
) |
Send the Power-On command to enable power to a TEM.
tem_id | ID of the TEM (0 - 15). | |
pdu_id | ID of the PDU to use (0 or 1). |
0 | Success. | |
Nonzero | Failure. |
References LIM_dumpPowerOn(), and lim_send_command().
Referenced by LIM_sendTemOn_cli().
int LIM_setDisplayLevelCmd | ( | int | level | ) |
Set the verbosity level of the LIM command display.
level | Level of verbosity - set higher to display more. |
References LIM_displayLevelCmd.
Referenced by LIM_setDisplayLevelCmd_cli().