Doxygen Documentation

Main Index

Package Index

Package:

LTX

Version:

dev

Marked:

(not marked)

Constituent:

ltx

Tag:

mv2304


Interface   Compound List   File List   Compound Members   File Members  

LTX.c File Reference

LTX 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_pub.h"
#include "LTX_priv.h"
#include "LTX/LTX_server.h"

Defines

#define LTX_SOCK_BUFSIZE   256
#define LTX_STR_SIZE   32
#define LTX_TASK_ID   "tLTXrx"
#define LTX_TASK_PRI   160

Functions

int LTX_Initialize (int tx_port, int rx_port)
 Initializes the socket server.

int LTX_Shutdown (void)
 Shuts down the socket server.

int LTX_SwReport (void)
 Runs the software reporting mechanism.


Variables

void * svr
LTX_server_config svrCfg


Detailed Description

LTX library, contains the socket initialization and LAT flight software and hardware discovery routines.

Author:
S. Maldonado - smaldona@slac.stanford.edu

   CVS $Id: LTX.c,v 1.3 2003/10/10 15:54:06 smaldona Exp $
   

Define Documentation

#define LTX_SOCK_BUFSIZE   256
 

Socket buffer size

#define LTX_STR_SIZE   32
 

The max string size

#define LTX_TASK_ID   "tLTXrx"
 

The LTX task ID

#define LTX_TASK_PRI   160
 

The LTX task priority


Function Documentation

int LTX_Initialize int  tx_port,
int  rx_port
 

Initializes the socket server.

Parameters:
tx_port The transmit socket port number.
rx_port The receive socket port number.
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

void* svr
 

Socket server handle

LTX_server_config svrCfg
 

Socket server configuration handle


Generated on Fri Oct 10 09:01:20 2003 by doxygen 1.3.3