GLAST/LAT >
DAQ and FSW >
FSW >
Doxygen Index >
LTX / V2-7-1
Constituent: ltx_utils     Tag: rad750
Interface Data Structures File List Data Fields Globals
LTX_utils.c File Reference
LTX utilties library, contains the socket initialization and LAT flight software and hardware discovery routines. More...
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <time.h>
#include <unistd.h>
#include <ctype.h>
#include "CMX/CMX_asBuiltPub.h"
#include "LTX_pcihdr.h"
#include "LTX/LTX_utils.h"
#include "LTX_utils_priv.h"
#include "LTX/LTX_server.h"
Include dependency graph for LTX_utils.c:
Detailed Description
LTX utilties library, contains the socket initialization and LAT flight software and hardware discovery routines.
- Author:
- S. Maldonado - smaldona@slac.stanford.edu
CVS $Id: LTX_utils.c,v 1.2 2003/11/10 17:46:18 smaldona Exp $
Define Documentation
#define LTX_SOCK_BUFSIZE 256 |
|
#define LTX_TASK_ID "tLTXrx" |
|
Function Documentation
int LTX_HwReport |
( |
int |
type |
) |
|
|
|
Runs the hardware reporting mechanism.
- Parameters:
-
| type | Specifies print only type report |
- Return values:
-
| LTX_OK | Success. |
| LTX_ERR | Failure. |
|
int LTX_Initialize |
( |
int |
tx_port, |
|
|
int |
rx_port, |
|
|
int |
msg |
|
) |
|
|
|
Initializes the socket server.
- Parameters:
-
| tx_port | The transmit socket port number. |
| rx_port | The receive socket port number. |
| msg | Flag to enable message printing |
- Return values:
-
| LTX_OK | Success. |
| LTX_ERR | Failure. |
|
int LTX_Shutdown |
( |
void |
|
) |
|
|
|
Shuts down the socket server.
- Return values:
-
| LTX_OK | Success. |
| LTX_ERR | Failure. |
|
int LTX_SwReport |
( |
void |
|
) |
|
|
|
Runs the software reporting mechanism.
- Return values:
-
| LTX_OK | Success. |
| LTX_ERR | Failure. |
|
Variable Documentation
|
Socket server configuration handle |
Generated on Wed Aug 9 20:23:09 2006 by
1.4.4