t_reset (ul_tecar)


   Synopsis:

      This function is called to tell the TECAR server to perform various
      reset operations. The requested reset operation may not actually be
      performed by TECAR (for example, if the timing is such that to do
      the requested reset would turn off a power supply in the middle of
      a ramp), so the caller of this should call t_read_reset() after
      calling this function, to find out whether or not TECAR actually
      did what was requested.


   Declarations (FORTRAN):

        CHARACTER TECAR_SERVER*8 /'tecar-a2'/
        INTEGER*2 ISTAT, T_RESET
        INTEGER*4 INPUT, OUTPUT


   Declarations (ANSI C):

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


   Usage (FORTRAN):

 	ISTAT = T_RESET ( TECAR_SERVER, INPUT, OUTPUT )


   Usage (C):

      istat = t_reset ( TECAR_server, input, output );


   Usage (VAX generic format):

      istat.w.w = t_reset ( TECAR_server.ar.b, input.ar.l, 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).

         input          an unsigned longword whose value is set as follows:
                        Value	Reset Request
                        -----   -------------------
			1	excitation reset
			6	global status reset
			7	link error reset
			8	local status reset

      Output - writeonly:

         output         an unsigned longword whose value reflects the
                        last reset that was requested


      Returns:

         istat          the status return in ACNET format