Startup

Created on Tue Aug 23 11:03:57 2016

@author: Sam Schott (ss2151@cam.ac.uk)

(c) Sam Schott; This work is licensed under a Creative Commons Attribution-NonCommercial-NoDerivs 2.0 UK: England & Wales License.

startup.show_splash_screen()[source]

Shows the CustomXepr splash screen.

Returns

PyQt5.QtWidgets.QSplashScreen.

startup.connect_to_instruments()[source]

Tries to connect to Keithley, Mercury and Xepr. Uses the visa addresses saved in the respective configuration files.

Returns

Tuple containing instrument instances.

Return type

tuple

startup.start_gui(customXepr, mercury, keithley)[source]

Starts GUIs for Keithley, Mercury and CustomXepr.

Returns

Tuple containing GUI instances.

Return type

tuple

startup.run_cli()[source]

This is the main interactive shell entry point. Calling run_cli will connect to all instruments and return instantiated control classes.

Returns

Tuple containing instrument instances.

Return type

tuple

startup.run_gui()[source]

Runs the CustomXepr GUI – this is the main entry point. Calling run_gui will first create a Qt application, then aim to connect to Xepr, a Keithley2600 instrument and a MercuryiTC temperature controller and finally create user interfaces to control all three instruments.

startup.run_ip()[source]

Runs the CustomXepr GUI from IPython.