Main Page   Interface   Data Structures   File List   Data Fields   Globals  

VSTST.c File Reference

#include "vxWorks.h"
#include "stdio.h"
#include "semLib.h"
#include "wdLib.h"
#include "ioLib.h"
#include "sysLib.h"
#include "sockLib.h"
#include "netinet/in.h"
#include "VSAM/VSTST.h"
#include "VSAM/VSAM_readout.h"

Functions

int VTEST (char *vmeAddr, unsigned ipAddr, unsigned port)

Detailed Description


Function Documentation

int VTEST char *    vmeAddr,
unsigned    ipAddr,
unsigned    port
 

Runs the VSTST application. After initializing resources, the function pends on the one second timer. When the timer expires, the function reads all of the VSAM channels into a buffer and sends the contents as a UDP packet.

Parameters:
vmeAddr  The VME Bus physical address the VSAM board hardware is set to.
ipAddr  The IP address to send the VSAM packet to.
port  The UDP/IP port number to send to at machine ipAddr.
Return values:
0  Success.
-1  Failure.


Generated on Wed Mar 6 19:22:12 2002 by doxygen1.2.14 written by Dimitri van Heesch, © 1997-2002