|
def | on_activate (self) |
| Initialisation performed during activation of the module.
|
|
def | on_deactivate (self) |
| Deinitialisation performed during deactivation of the module.
|
|
def | off (self) |
| Switches off any microwave output. More...
|
|
def | get_status (self) |
|
def | get_power (self) |
| Gets the microwave output power. More...
|
|
def | get_frequency (self) |
| Gets the frequency of the microwave output. More...
|
|
def | cw_on (self) |
| Switches on any preconfigured microwave output. More...
|
|
def | set_cw (self, freq=None, power=None, useinterleave=None) |
| Sets the MW mode to cw and additionally frequency and power #For agilent device there is no CW mode, so just do nothing. More...
|
|
def | list_on (self) |
| Switches on the list mode. More...
|
|
def | set_list (self, freq=None, power=None) |
| There is no list mode for agilent Also the list is created by giving 'start_freq, step, stop_freq'
More...
|
|
def | reset_listpos (self) |
| Reset of MW List Mode position to start from first given frequency. More...
|
|
def | sweep_on (self) |
| Switches on the list mode. More...
|
|
def | set_sweep (self, start, stop, step, power) |
|
def | reset_sweeppos (self) |
| Reset of MW List Mode position to start from first given frequency. More...
|
|
def | set_ext_trigger (self, pol, timing) |
| Set the external trigger for this device with proper polarization. More...
|
|
def | trigger (self) |
| Trigger the next element in the list or sweep mode programmatically. More...
|
|
def | get_limits (self) |
|
def | set_power (self, power=0.) |
| Sets the microwave output power. More...
|
|
def | set_frequency (self, freq=None) |
| Sets the frequency of the microwave output. More...
|
|
def | __init__ (self, manager, name, config=None, callbacks=None, kwargs) |
| Initialise Base class object and set up its state machine. More...
|
|
def | log (self) |
| Returns a logger object.
|
|
def | is_module_threaded (self) |
| Returns whether the module shall be started in a thread.
|
|
def | on_activate (self) |
| Method called when module is activated. More...
|
|
def | on_deactivate (self) |
| Method called when module is deactivated. More...
|
|
def | getStatusVariables (self) |
| Return a dict of variable names and their content representing the module state for saving. More...
|
|
def | setStatusVariables (self, variableDict) |
| Give a module a dict of variable names and their content representing the module state. More...
|
|
def | getConfiguration (self) |
| Return the configration dictionary for this module. More...
|
|
def | get_connector (self, connector_name) |
| Return module connected to the given named connector. More...
|
|
def | __new__ (cls, name, bases, attrs) |
| Collect declared Connectors, ConfigOptions and StatusVars into dictionaries. More...
|
|
Hardware control file for Agilent Devices.
The hardware file was tested using the model N9310A.
Example config for copy-paste:
mw_source_agilent: module 'microwave.mw_source_agilent.MicrowaveAgilent' usb_address USB0::10::INSTR usb_timeout 100 # in seconds