Administration

Querying the Gateway

All the sessions for a particular connection are listed together and only the first session has the Server ID, Client IP Addr, and Client ID specified. For a given client, one session at most will have an operation pending or in progress at a given time.

The Client IP Addr and Client ID are both needed to uniquely identify a client connection. In the previous example, clients 1 and 3 are separate processes on the same machine (that is, they have the same Client IP Addr).

If an Operation is specified for a given session and the session does not have a Lock, the operation for the session may be waiting for another client to complete an I/O operation or to unlock a device or the interface. In the previous example, client 2 is waiting to get a lock on device 21 after client 1 completes the WRITE operation and unlocks device 21. Also, client 3 is waiting for client 2 to unlock device 9,2 (primary,secondary) before it can perform the READ operation.

If an Operation is specified for a given session and the session does have a Lock, the operation is likely to be in progress and not waiting on another client to complete an operation. For more information, consult the documentation for your I/O application software on how interface locks and device locks work in your software.

The following is a list of Operation field values and the SICL functions that correspond to them. If you want to terminate the client connections, see “Terminating Client Connections”.

Operation

SICL Function

 

 

ATNCTL

igpibantctl

 

 

BUSADDR

igpibbusaddr

 

 

BUSSTAT

igpibbusstatus

 

 

CLEAR

iclear

 

 

CLOSE

iclose

 

 

GETDEV

igetdevaddr

 

 

GETINTF

igetintftype

 

 

GETLU

igetlu

 

 

GETSESS

igetsesstype

 

 

Chapter 4

73

Page 73
Image 73
Agilent Technologies E2050-90003 manual Igpibantctl