t_injection (ul_tecar)


   Synopsis:

      This function is called to tell the TECAR server to set the
      requested injection current.


   Declarations (FORTRAN):

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


   Declarations (ANSI C):

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


   Usage (FORTRAN):

 	ISTAT = T_INJECTION ( TECAR_SERVER, INPUT, OUTPUT )


   Usage (C):

      istat = t_injection ( TECAR_server, input, output );


   Usage (VAX generic format):

      istat.w.w = t_injection ( 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          the requested current, in Amperes


      Output - writeonly:

         output         the current, in Amperes


      Returns:

         istat          the status return in ACNET format