exopy.instruments.widgets.profile_selection module

Widgets used to select a profile and the driver/connection/settings to use.

class exopy.instruments.widgets.profile_selection.ProfileSelectionDialog(parent=None, **kwargs)

Bases: enaml.widgets.dialog.Dialog

A dialog to select a profile and what connection and settings to use.

connection
driver
filter_drivers
filter_profiles
plugin
profile
settings
class exopy.instruments.widgets.profile_selection.ProfileSelectionWidget(parent=None, **kwargs)

Bases: enaml.widgets.container.Container

A widget to select a profile and what connection and settings to use.

connection

A value which allows objects of a given type or types.

Values will be tested using the PyObject_IsInstance C API call. This call is equivalent to isinstance(value, kind) and all the same rules apply.

The value of an Instance may be set to None.

driver

A value which allows objects of a given type or types.

Values will be tested using the PyObject_IsInstance C API call. This call is equivalent to isinstance(value, kind) and all the same rules apply.

The value of an Instance may be set to None.

filter_drivers

A value which allows objects of a given type or types.

Values will be tested using the PyObject_IsInstance C API call. This call is equivalent to isinstance(value, kind) and all the same rules apply.

The value of an Instance may be set to None.

filter_profiles

A value which allows objects of a given type or types.

Values will be tested using the PyObject_IsInstance C API call. This call is equivalent to isinstance(value, kind) and all the same rules apply.

The value of an Instance may be set to None.

infos

A value which allows objects of a given type or types.

Values will be tested using the PyObject_IsInstance C API call. This call is equivalent to isinstance(value, kind) and all the same rules apply.

The value of an Instance may be set to None.

plugin

A value which allows objects of a given type or types.

Values will be tested using the PyObject_IsInstance C API call. This call is equivalent to isinstance(value, kind) and all the same rules apply.

The value of an Instance may be set to None.

post_set_infos
profile

A value which allows objects of a given type or types.

Values will be tested using the PyObject_IsInstance C API call. This call is equivalent to isinstance(value, kind) and all the same rules apply.

The value of an Instance may be set to None.

settings

A value which allows objects of a given type or types.

Values will be tested using the PyObject_IsInstance C API call. This call is equivalent to isinstance(value, kind) and all the same rules apply.

The value of an Instance may be set to None.

exopy.instruments.widgets.profile_selection.matching_connections(infos, d_id)

Determine the allowed connections based on the selected driver.

exopy.instruments.widgets.profile_selection.matching_settings(infos, d_id)

Determine the allowed settings based on the selected driver.