t_reset_control (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_CONTROL
        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_control ( unsigned char *const TECAR_server,
                              unsigned int * const input,
                              unsigned int * const output );


   Usage (FORTRAN):

 	ISTAT = T_RESET_CONTROL ( TECAR_SERVER, INPUT, OUTPUT )


   Usage (C):

      istat = t_reset_control ( TECAR_server, input, output );


   Usage (VAX generic format):

      istat.w.w = t_reset_control ( 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 bits are set as follows:
                        Bit(s)  Reset Control
                        -----   ----------------------
                        31:5    undefined
                        4       host ramp reset inhibit
                        3       time needs to be set
                        2       set time
                        1       bad frig override
                        0       reset enable

      Output - writeonly:

         output         an unsigned longword whose bits reflect the
                        present setting of the reset control


      Returns:

         istat          the status return in ACNET format