About Chandra Archive Proposer Instruments & Calibration Newsletters Data Analysis HelpDesk Calibration Database NASA Archives & Centers Chandra Science Links

Skip the navigation links
Last modified: December 2008

URL: http://cxc.harvard.edu/chips4.1/disconnect.sl.html
AHELP for ChIPS 4.1

disconnect

Context: sl.chips

Synopsis

Disconnects a client from a ChIPS server.

Syntax

disconnect();

Description

The disconnect command disconnects a client from a ChIPS server. A client may only be connected to one server at a time, and so must disconnect from one server before accessing another. For instance, if you want to control a server that was created by Prism from an xterm window which is attached to another server. Note that if ChIPS is not connected to a server and a command which requires the server is issued, ChIPS will automatically launch a new server.

If a client which is already connected to a server attempts to connect to another server, it will automatically disconnect from the current server and connect to the new server.

When the last client connected to a ChIPS server exits, the ChIPS server is terminated.

Example

chips> get_server_id;
ChipsServer_6979_1
chips> list_servers;
['ChipsServer_6979_1', 'ChipsServer_20997_1']
chips> disconnect;
chips> connect();

The client is initially connected to the server with id "ChipsServer_6979_1". The disconnect command is called, followed by a command to connect to the other server.

Bugs

See the bugs pages on the ChIPS website for an up-to-date listing of known bugs.

Last modified: December 2008



The Chandra X-Ray Center (CXC) is operated for NASA by the Smithsonian Astrophysical Observatory.
60 Garden Street, Cambridge, MA 02138 USA.    Email: cxcweb@head.cfa.harvard.edu
Smithsonian Institution, Copyright © 1998-2004. All rights reserved.