t_read_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_READ_RESET_CONTROL
        INTEGER*4 OUTPUT


   Declarations (ANSI C):

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


   Usage (FORTRAN):

 	ISTAT = T_READ_RESET_CONTROL ( TECAR_SERVER, OUTPUT )


   Usage (C):

      istat = t_read_reset_control ( TECAR_server, output );


   Usage (VAX generic format):

      istat.w.w = t_read_reset_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).


      Output - writeonly:

         output         an unsigned longword whose bits reflect the
                        present setting of the reset control
                        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


      Returns:

         istat          the status return in ACNET format