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 2007

URL: http://cxc.harvard.edu/chips4.0/connect.py.html
AHELP for ChIPS 4.0 connect Context: py.chips

Synopsis

Attaches a chips client to the specified server.

Syntax

connect(server_id)

Description

  • server_id - the id of the chips server to query; generally a string such as "ChipsServer_17334_1".

The connect command is used to attach a chips client to a chips server process. By default, the chips module and chips shells are invoked with a single client connected to a single server. In order to change the server to which a client is connected, the user must disconnect from the current server and establish a connection to the new server. The "server_id" value may be determined by the list_servers command ("ahelp py.chips list_servers").

Example

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

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

Bugs

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

Last modified: December 2007



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.