t_set_special (ul_tecar)
Synopsis:
This function is called to tell the TECAR server to set
special power supply parameters.
Declarations (FORTRAN):
CHARACTER TECAR_SERVER*8 /'tecar-a2'/
LOGICAL*1 INPUT(4), OUTPUT(4)
INTEGER*2 ISTAT, T_SET_SPECIAL
Declarations (ANSI C):
unsigned char TECAR_server[]="tecar-a2";
unsigned char input[4], output[4];
short istat;
short t_set_special ( unsigned char *const TECAR_server,
unsigned char *const input,
unsigned char *const output );
Usage (FORTRAN):
ISTAT = T_SET_SPECIAL ( TECAR_SERVER, INPUT, OUTPUT )
Usage (C):
istat = t_set_special ( TECAR_server, input, output );
Usage (VAX generic format):
istat.w.w = t_set_special ( TECAR_server.ar.b, input.ar.w, output.aw.w )
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 a 4 character string, where the first two
characters represent the transductor, and
the second two characters represent the
holding power supply - each pair would
be described such that the first
character is the accelerator sector ( 'A', 'B',
'C', 'D', 'E', or 'F' - [A-F] as a regular
expression), and the second character is the
controller for switches in that sector (either
'A' or 'B' - [AB] as a regular expression)
Output:
output the returned data -
in the same format as the input argument
Returns:
istat the status return in ACNET format