exopy.instruments.connections.visa_connections module¶
VISA connection information edition tools.
-
class
exopy.instruments.connections.visa_connections.
BaseVisaConnection
(parent=None, **kwargs)¶ Bases:
exopy.instruments.connections.base_connection.BaseConnection
Base class for all connection relying on the VISA protocol.
Names are expected to match the ones found in PyVISA.
-
gather_infos
¶
-
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.
-
interface_type
¶ 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.
-
rc_lab
¶
-
rc_val
¶
-
resource_class
¶ 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.
-
-
class
exopy.instruments.connections.visa_connections.
VisaConnection
(parent=None, **kwargs)¶ Bases:
exopy.instruments.connections.base_connection.Connection
Convenience class to declare a VISA connection.
-
new
¶
-
-
class
exopy.instruments.connections.visa_connections.
VisaGPIB
(parent=None, **kwargs)¶ Bases:
exopy.instruments.connections.visa_connections.BaseVisaConnection
Connection settings for GPIB instruments.
-
board
¶ 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.
-
primary_address
¶ 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.
-
secondary_address
¶ 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.
-
-
class
exopy.instruments.connections.visa_connections.
VisaRS232
(parent=None, **kwargs)¶ Bases:
exopy.instruments.connections.visa_connections.BaseVisaConnection
Connection settings for serial instruments.
-
board
¶ 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.
-
-
class
exopy.instruments.connections.visa_connections.
VisaRaw
(parent=None, **kwargs)¶ Bases:
exopy.instruments.connections.base_connection.BaseConnection
Connection allowing to enter directly the VISA resource name.
This allows to support VISA aliases.
-
gather_infos
¶
-
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.
-
resource_name
¶ 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.
-
-
class
exopy.instruments.connections.visa_connections.
VisaTCPIP
(parent=None, **kwargs)¶ Bases:
exopy.instruments.connections.visa_connections.BaseVisaConnection
Connection settings for USB instruments.
-
board
¶ 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.
-
gather_infos
¶
-
host_address
¶ 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.
-
lan_device_name
¶ 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.
-
layout_constraints
¶
-
port
¶ 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.
-
-
class
exopy.instruments.connections.visa_connections.
VisaUSB
(parent=None, **kwargs)¶ Bases:
exopy.instruments.connections.visa_connections.BaseVisaConnection
Connection settings for USB instruments.
-
address_format
¶ 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.
-
board
¶ 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.
-
manufacturer_id
¶ 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.
-
model_code
¶ 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.
-
serial_number
¶ 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.
-
usb_interface_number
¶ 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.
-