A-39
A4
C.14 system_controller
The system_controller procedure is used to read/modify the system controller
mode. If the system controller mode is set TRUE, then the Edevice will initial-
ize at boot time as the GPIB bus controller.
struct Sys_Control_Parms {
unsigned int action;
unsigned int controller;
};
struct Sys_Control_Resp {
unsigned int error;
unsigned
int
controller;
};
Sys_Control_Resp system_controller (Sys_Control_Parms) = 14;
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 controller mode must be either 0 or 1. An error of 5 is returned and the
current system controller mode is unchanged if controller is determined to be
invalid.
The returned Sys_Control_Resp structure will always contain the current system
controller mode, irrespective of the error value.
error Meaning
0
No error
1
Syntax error
5
Parameter error
Содержание 9099
Страница 20: ...1 16 1 Figure 1 1 9009 Outline Dimensions ...
Страница 24: ...1 20 1 Figure 1 3 9099 Certificate of Compliance ...
Страница 54: ...3 8 3 Figure 3 1 Status Reporting Structure Flash Configuration Reset ...
Страница 94: ...3 48 3 This page left intentionally blank ...
Страница 100: ...4 4 6 This page is left intentionally blank ...
Страница 161: ...A 49 A4 Refer to the ErrorLogger utility for the error value definitions Error Meaning 0 No error ...