t_events_status_control (ul_tecar)


   Synopsis:

      This function is called to read a 3 element array of structures,
      (where each structure contains a int integer each of event,
       status, and control information) from TECAR.


   Declarations (FORTRAN):

        CHARACTER TECAR_SERVER*8 /'tecar-a2'/
        INTEGER*2 ISTAT, T_EVENTS_STATUS_CONTROL
        INTEGER*4 OUTPUT(9)


   Declarations (ANSI C):

      #include "tecar.h"
      unsigned char TECAR_server[]="tecar-a2";
      short istat;
      unsigned int output[3][3];
      short t_events_status_control ( unsigned char *const TECAR_server,
                                      unsigned int * const output );


   Usage (FORTRAN):

 	ISTAT = T_EVENTS_STATUS_CONTROL ( TECAR_SERVER, OUTPUT )


   Usage (C):

      istat = t_events_status_control ( TECAR_server, output );


   Usage (VAX generic format):

      istat.w.w = t_events_status_control ( TECAR_server.ar.b, output.aw.l )


   Arguments:

      Input - readonly:

         TECAR_server	a character string which contains the Internet
                        name of the TECAR server. This name must be
                        resolvable via the Domain Name Service.
			This may be passed either as a pointer to a
		        null-terminated string, or by descriptor
			(under VMS only).


      Current - writeonly:

         output         an array of events, status, and control


      Returns:

         istat          the status return in ACNET format