Keysight

hardware_control.instruments.keysight.Keysight_4000X module

../_images/Keysight4000X.jpeg
class hardware_control.instruments.keysight.Keysight_4000X.Keysight_4000X(instrument_name: str = 'KEYSIGHT-4000X', connection_addr: str = '')

Bases: Instrument

Keysight InfiniiVision 4000 X-Series Oscilloscope instrument class.

PARAMETERS
  • TIMEBASE (float)
    • Horizontal resolution in time per division.

  • TIME_OFFSET (float)
    • Time offset from trigger.

  • NUM_POINTS (int)
    • Number of points on the time axis.

  • LABELS_ENABLED (bool)
    • On/Off status of channel labels on the instrument.

  • TRIGGER_LEVEL (float)
    • Trigger level.

  • TRIGGER_COUPLING (AC, DC, LFReject)
    • Trigger coupling type.

  • TRIGGER_EDGE (BOTH, NEG, POS, ALT)
    • Edge of waveform that the oscilloscope triggers on.

  • TRIGGER_CHANNEL (int)
    • The channel (1,2,3, or 4) to trigger on.

  • CH<X>_VOLTS_DIV (float)
    • The voltage per division for channel ‘X’.

  • CH<X>_OFFSET (float)
    • The voltage offset for channel ‘X’.

  • CH<X>_IMPEDANCE (50, 1e6)
    • The imedance for channnel ‘X’.

  • CH<X>_LABEL (str)
    • Label for channel ‘X’.

  • CH<X>_PROBE_ATTEN (float)
    • Probe attenuation for channel ‘X’. For example, providing the value ‘10’ would indicate a 10x or 10:1 probe.

  • CH<X>_COUPLING (AC, DC)
    • Coupling mode for channel ‘X’.

  • CH<X>_WAVEFORM
    • Most recent waveform measurement from channel ‘X’.

  • CH<X>_ON-OFF
    • Enables or disables channel ‘X’.

  • CH<X>_BW_LIM
    • Enables or disables the 20MHz bandwidth limit for channel ‘X’.

  • CH<X>_INVERT
    • Enables or disables inversion of the channel ‘X’ waveform.

COMMANDS
  • SINGLE_TRIGGER
    • Set the instrument to trigger once and save the data.

  • RUN
    • Set the instrument to continuously trigger.

  • STOP
    • Prevent the instrument from triggering.

  • DIGITIZE
    • Start digitize process for waveform

hardware_control.instruments.keysight.Keysight_33500B module

../_images/Keysight33500B.png
class hardware_control.instruments.keysight.Keysight_33500B.Keysight_33500B(instrument_name: str = 'KEYSIGHT-33500B', connection_addr: str = '', number_of_channels=1)

Bases: Instrument

Keysight 33500B Series Waveform Generator base instrument class.

PARAMETERS
  • DISPLAY (bool)
    • Enables and disables the instrument display.

  • TIMEBASE (float)
    • Horizontal resolution in time per division.

  • TIME_OFFSET (float)
    • Time offset from trigger.

  • NUM_POINTS (int)
    • Number of points on the time axis.

  • LABELS_ENABLED (bool)
    • Enables or disables channel labels on the instrument.

  • TRIGGER_LEVEL (float)
    • Trigger level.

  • TRIGGER_COUPLING (AC, DC, LFReject)
    • Trigger coupling type.

  • TRIGGER_EDGE (BOTH, NEG, POS, ALT)
    • Edge of waveform that the oscilloscope triggers on.

  • CH<X>_ENABLE (bool)
    • Enables or disables channel ‘X’.

  • CH<X>_VOLTS_DIV (float)
    • The voltage per division for channel ‘X’.

  • CH<X>_OFFSET (float)
    • The voltage offset for channel ‘X’.

  • CH<X>_IMPEDANCE (50, 1e6)
    • The imedance for channel ‘X’.

  • CH<X>_LABEL (str)
    • Label for channel ‘X’.

  • CH<X>_PROBE_ATTEN (float)
    • Probe attenuation for channel ‘X’. For example, providing the value ‘10’ would indicate a 10x or 10:1 probe.

  • CH<X>_COUPLING (AC, DC)
    • Coupling mode for channel ‘X’.

  • CH<X>_INVERT (bool)
    • Enables or disables inversion of the waveform from channel ‘X’.

  • CH<X>_FREQUENCY (float)
    • Output frequency of the waveform from channel ‘X’.

  • CH<X>_BW_LIM (float)
    • Bandwidth limit of noise function for channel ‘X’.

  • CH<X>_WAVEFORM (SINE, SQUARE, TRIANGLE, RAMP, PULSE, PRBS, NOISE, ARBITRARY, DC)
    • Shape of the modulating waveform for channel ‘X’.

  • CH<X>_POLARITY (bool)
    • Enables or disables inversion of waveform relative to the offset voltage of channel ‘X’.

  • CH<X>_TRIGGER_DELAY (float)
    • Time (in seconds) from assertion of trigger to occurrence of trigger event for channel ‘X’.

  • CH<X>_AMPLITUDE (float)
    • Voltage amplitude of waveform of channel ‘X’.

  • CH<X>_TRACK (ON, OFF, INV)
    • Enables or disables all channels to track (or inversely track) the output of channel ‘X’.

  • CH<X>_TRIGGER_CHANNEL (INT, EXT)
    • Trigger source.

  • CH<X>_ENABLE_BURST (bool)
    • Enables or disables burst mode for channel ‘X’.

  • CH<X>_BURST_MODE (TRIG, GAT)
    • Triggers bursts internally (TRIG) or externally (GAT) for channel ‘X’.

  • CH<X>_BURST_CYCLES (float)
    • Number of cycles per burst for channel ‘X’.

  • CH<X>_BURST_PER (float)
    • Burst period (in seconds) for channel ‘X’.

hardware_control.instruments.keysight.Keysight_36300 module

../_images/Keysight_E36312A.png
class hardware_control.instruments.keysight.Keysight_36300.Keysight_36300(instrument_name: str = 'Keysight_36300', connection_addr: str = '')

Bases: Instrument

Keysight E36300 Series Triple Output Power Supply base instrument class.

PARAMETERS
  • VERSION
    • Present SCPI version and version year.

  • ERRORS
    • The last 20 instrument errors.

  • CH<X>_ENABLE (bool)
    • Enable and disable the instrument.

  • CH<X>_V_SET (float)
    • Instrument voltage for channel ‘X’.

  • CH<X>_I_SET (float)
    • Instrument current for channel ‘X’.

  • CH<X>_V_OUT
    • Output voltage for channel ‘X’.

  • CH<X>_I_OUT
    • Output current for channel ‘X’.

  • CH<X>_V_PROT (float)
    • Level at which overvoltage protection trips for channel ‘X’.

COMMANDS
  • CLEAR
    • Clear the internal instrument errors.

  • ALLOW_NEG_OUTPUT
    • Allow negative outputs.

check_Imax(channel, value)

check if a maximum has been set and enforce it

check_Vmax(channel, value)

check if a maximum has been set and enforce it