A-29
A4
C.4
abort_port_number
The abort_port_number procedure is used to read/modify the TCP port used
by the VXI-11 abort channel.
struct Abort_Port_Parms {
unsigned
int
action;
unsigned
int
port;
};
struct Abort_Port_Resp {
unsigned
int
error;
unsigned int port;
};
Abort_Port_Resp abort_port_number (Abort_Port_Parms) = 4;
The action value determines whether the client wishes to execute a read of the
current setting, or a modification of the current value.
action = 0 = read of current value
action = 1 = modify current value
If the action value is other than 0 or 1, then an error value of 5 is returned.
If the RPC message is of insufficient length to satisfy the required length, an
error value of 1 is returned.
The port value must be within the range of 0x0001 and 0xFFFF. An error of 5
is returned and the VXI-11 Abort Port value is unchanged if the port value is
outside of this range.
The returned Abort_Port_Resp structure will always contain the current VXI-11
Abort Port value, irrespective of the error value.
error Meaning
0
No error
1
Syntax error
5
Parameter error