Chandra X-Ray Observatory
	(CXC)
Skip to the navigation links
Last modified: December 2013

URL: http://cxc.harvard.edu/chips/ahelp/set_preferences_autoload.html
Jump to: Description · Example · Bugs · See Also


AHELP for CIAO 4.9 ChIPS v1

set_preference_autoload

Context: preference

Synopsis

Automatically loads the chips.rc file into preferences when the ChIPS server starts up.

Syntax

set_preference_autoload(toggle)

Description

The function arguments.

Argument Description
toggle A boolean controlling whether the preferences are loaded when the server starts up.

The set_preference_autoload command tell ChIPS that when the server is started it should load the user's default preferences.

This is similar to calling load_preferences without any arguments. The difference is that load_preferences will start a chips server (if necessary) and load the preferences, while set_preference_autoload does not cause a server to be created. If a server already exists, this command does nothing.

Example

chips> set_preference_autoload(True)
chips> connect()

Preferences will be loaded after the connection to the server is established.

Bugs

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

See Also

concepts
preferences, setget
preference
get_preference, get_preferences, load_preferences, save_preferences, set_preference, set_preferences
utilities
set_current

Last modified: December 2013
Smithsonian Institute Smithsonian Institute

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