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

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


AHELP for CIAO 4.5 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

  • toggle - a boolean flag to indicate whether the preferences should be loaded when the server starts up; see the Booleans section of "ahelp chipsopt"

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 2012
CXC logo

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-2012. All rights reserved.