InstrumentSelect module

Created on Mon Jan 31 08:55:42 2022 Refactored on Tue Feb 27 2025

@author: Martin.Mihaylov @author: Maxim Weizel

Instruments_Libraries.InstrumentSelect.InstInit(num)[source]

Initialize instrument based on selection string. Recommended to use specific functions (e.g. SpecAnalyser()) directly instead.

Return type:

Any

Instruments_Libraries.InstrumentSelect.LU1000(resource='USB')[source]
Parameters:

resource (str | None)

Return type:

LU1000_Cband

Instruments_Libraries.InstrumentSelect.Laser_CoBrite(resource=None)[source]
Parameters:

resource (str | None)

Return type:

CoBrite

Instruments_Libraries.InstrumentSelect.OSA(resource=None)[source]

Connect to Yokogawa AQ6370D. Priority:

  1. Use user-provided resource

  2. Auto-discovery

  3. Fallback to known link-local IPs

Parameters:

resource (str | None)

Return type:

AQ6370D

Instruments_Libraries.InstrumentSelect.PhaseNoiseAnalyzer_APPH(resource=None)[source]
Parameters:

resource (str | None)

Return type:

APPH

Instruments_Libraries.InstrumentSelect.PowerMeter(index=0, resource=None)[source]

Auto-detect a connected Thorlabs PM100-series power meter.

Parameters:
  • index (int)

  • resource (str | None)

Return type:

PM100D

Instruments_Libraries.InstrumentSelect.PowerSupply(resource=None)[source]

Scan and connect to all available RD3005 / KA3005 power supplies.

Parameters:

resource (str | None) – Optional COM port or VISA resource string to connect to a specific device.

Returns:

List of connected power supply instances.

Return type:

list[RD3005]

Instruments_Libraries.InstrumentSelect.PowerSupply_GPP4323(resource=None)[source]

Scan and connect to the first available GW-Instek GPP-4323 power supply.

Parameters:

resource (str | None) – Optional COM port or VISA resource string to connect to a specific device.

Returns:

Connected GPP4323 instance.

Return type:

GPP4323

Instruments_Libraries.InstrumentSelect.RnS_FSWP50(resource=None)[source]
Parameters:

resource (str | None)

Return type:

FSWP50

Instruments_Libraries.InstrumentSelect.RnS_SMA100B(resource=None, visa_library='@ivi')[source]
Parameters:
  • resource (str | None)

  • visa_library (str)

Return type:

SMA100B

Instruments_Libraries.InstrumentSelect.SigGen(resource=None, visa_library='@ivi')[source]
Parameters:
  • resource (str | None)

  • visa_library (str)

Return type:

MG3694C

Instruments_Libraries.InstrumentSelect.SourceMeter(resource=None)[source]
Parameters:

resource (str | None)

Return type:

KEITHLEY2612

Instruments_Libraries.InstrumentSelect.SpecAnalyser(resource=None)[source]
Parameters:

resource (str | None)

Return type:

MS2760A

Instruments_Libraries.InstrumentSelect.UXR_1002A(resource=None)[source]
Parameters:

resource (str | None)

Return type:

UXR

Instruments_Libraries.InstrumentSelect.VNA(resource=None)[source]
Parameters:

resource (str | None)

Return type:

MS4647B

Instruments_Libraries.InstrumentSelect.find_resource(model_regex, resource_filter='?*INSTR', specific_address=None)[source]

Find a VISA resource matching the given model regex. If specific_address is provided, it is returned directly (after verification if possible). Returns the matching VISA resource string.

Parameters:
  • model_regex (str)

  • resource_filter (str)

  • specific_address (str | None)

Return type:

str