Kt34400System

Access interface members using: driver.system
Where driver is a reference to the driver’s root interface returned by the constructor.
class Kt34400System

Kt34400System interface.

beep(self: keysight_kt34400.keysight_kt34400.Kt34400System) None

This method issues a single beep immediately from the instrument.

Returns:

None

Remarks:
  • Selecting this method overrides the current beeper state. This means that you can issue a single beep even if BeepEnabled is False.
  • property beep_enabled

    This method enables or disables the beeper tone.

    Access:

    ReadWrite

    Type:

    bool

    clear_io(self: keysight_kt34400.keysight_kt34400.Kt34400System) None

    Performs an IEEE 488.1-style clear of the device.

    Returns:

    None

    property io_timeout

    Gets or sets the I/O timeout.

    Access:

    ReadWrite

    Type:

    datetime.timedelta

    property license_catalog

    Returns a comma separated list of installed, licensed options.

    Access:

    ReadOnly

    Type:

    str

    Remarks:
  • Only those installed options that require a license are returned.
  • Options vary by model.
  • property lock_name

    Read Only - Returns the current I/O interface.

    Access:

    ReadOnly

    Type:

    str

    Remarks:
  • Return values are "USB", "VXI11", "GPIB", or "LAN <IP Address>" indicating the I/O interface being used by the querying computer.
  • property lock_owner

    Read Only - Returns the I/O interface that currently has a lock.

    Access:

    ReadOnly

    Type:

    str

    Remarks:
  • Returns "USB", "VXI11", "GPIB", or "LAN <IP Address>" indicating the I/O interface that currently has a lock. If no interfaces have a lock, "NONE" is returned.
  • lock_release(self: keysight_kt34400.keysight_kt34400.Kt34400System) None

    Decrements the lock count by 1 and may release the I/O interface from which the command is executed.

    Returns:

    None

    Remarks:
  • When a lock is active, Bit 10 in the Standard Operation Register will be set. When the lock is released on all I/O interfaces, this bit will be cleared.
  • lock_request(self: keysight_kt34400.keysight_kt34400.Kt34400System) bool

    Requests a lock of the current I/O interface.

    Returns:

    Returns true if the lock request is granted or false if denied.

    Return type:

    bool

    Remarks:
  • This provides a mechanism by which you can lock the instrument's configuration or cooperatively share the instrument with other computers.
  • Lock requests can be nested; each request increases lock count by 1. For every request, you will need a release (LockRelease()) from the same I/O interface.
  • Locks are handled at the I/O interface level (USB, LAN, etc.) and you are responsible for all coordination between threads and/or programs on that interface.
  • When a request is granted, only I/O sessions from the present interface will be allowed to change the state of the instrument.
  • LAN sessions locks are automatically released when a LAN disconnect is detected.
  • Granting a lock sets Bit 10 in the Standard Operation Register.
  • property power_line_frequency

    Sets the line frequency with a 20 ms delay.

    Access:

    ReadWrite

    Type:

    PowerLineFrequency

    Remarks:
  • Default value is PowerLineFrequency.Freq50
  • preset(self: keysight_kt34400.keysight_kt34400.Kt34400System) None

    Resets the multimeter to the Factory configuration.

    Returns:

    None

    Remarks:
  • This method does not affect any previously-stored instrument states
  • query_communication_interface(self: keysight_kt34400.keysight_kt34400.Kt34400System, comm_interface: keysight_kt34400.keysight_kt34400.CommunicationInterface) bool

    Returns the state of the specified remote interface or remote service.

    Parameters:

    comm_interface (CommunicationInterface) – The remote interface or remote service.

    Returns:

    The state of the specified remote interface or remote service.

    Return type:

    bool

    read_bytes(self: keysight_kt34400.keysight_kt34400.Kt34400System) numpy.ndarray[numpy.uint8]

    Reads a complete response from the instrument.

    Returns:

    An array of bytes returned by the device.

    Return type:

    numpy.ndarray<with dtype:uint8>

    read_string(self: keysight_kt34400.keysight_kt34400.Kt34400System) str

    Reads a complete response from the instrument and returns it as a string.

    Returns:

    A string returned by the device.

    Return type:

    str

    property reading_threshold

    Sets or gets the number of readings that will cause a bit to be set in the Standard Operation Register group event register.

    Access:

    ReadWrite

    Type:

    int

    recall_state(self: keysight_kt34400.keysight_kt34400.Kt34400System, state: int) None

    Restore the instrument to a state previously stored in the instrument’s internal memory.

    Parameters:

    state (int) – The instrument state identifier.

    Returns:

    None

    save_state(self: keysight_kt34400.keysight_kt34400.Kt34400System, state: int) None

    Save the current instrument state to the instrument’s internal memory.

    Parameters:

    state (int) – The instrument state identifier.

    Returns:

    None

    property scpi_version

    Read Only - This method returns the version of the SCPI (Standard Commands for Programmable Instruments) standard with which the instrument is in compliance. Instrument complies with rules and conventions of indicated version of the SCPI standard.

    Access:

    ReadOnly

    Type:

    float

    Remarks:
  • It returns a string in the form "YYYY.V", where "YYYY" represents the year of the version and "V" represents a version for that year (e.g., 1994.0).
  • property serial_number

    The instrument serial number.

    Access:

    ReadOnly

    Type:

    str

    set_communication_interface(self: keysight_kt34400.keysight_kt34400.Kt34400System, enabled: bool, comm_interface: keysight_kt34400.keysight_kt34400.CommunicationInterface) None

    Disables or enables the GPIB, USB, or LAN remote interface and available remote services such as Sockets, HiSLIP, Telnet, VXI11, and the built-in Web Interface.

    Parameters:
    • enabled (bool) – Disables or enables the remote interface or remote service.

    • comm_interface (CommunicationInterface) – The remote interface or remote service.

    Returns:

    None

    Remarks:
  • After making changes, you must cycle instrument power for the changes to take effect.
  • Enabling USBMtp allows you to transfer files, using media transfer protocol (MTP), from the instrument to a PC via the rear-panel USB port.
  • The USBHost parameter refers to the instrument's front panel USB port.
  • If you disable the LAN interface, none of the associated LAN services will be started when you power on the instrument.
  • For HiSLIP, LAN, SOCKets, TELNet, VXI11, or WEB on the 34460A, you must have option 34460A-LAN or option 3446LANU.
  • The interface enable settings are stored in nonvolatile memory. They do not change when power has been off, after a Factory Reset or after an Instrument Preset.
  • property terminal

    Read Only - Returns whether the front or rear input terminals are selected.

    Access:

    ReadOnly

    Type:

    str

    Remarks:
  • On the Keysight 34461A, this property returns the state of the front or rear switch: FRONT or REAR, indicating which set of terminals are in use.
  • On the Keysight 34460A, this property always returns FRONT.
  • property tracing

    Reference to the Kt34400SystemTracing interface.

    Access:

    Readonly

    Type:

    Kt34400SystemTracing

    wait_for_operation_complete(self: keysight_kt34400.keysight_kt34400.Kt34400System, max_time: datetime.timedelta) None

    Does not return until all previously started instrument operations complete or throws exception if maxTime has expired.

    Parameters:

    max_time (datetime.timedelta) – The maximum time to wait for the operation to complete. If exceeded, throws: MaxTimeExceededException

    Returns:

    None

    write_bytes(self: keysight_kt34400.keysight_kt34400.Kt34400System, buffer: numpy.ndarray) None

    Write an array of bytes to the device. Must end with TerminationCharacter (n) for SOCKET or ASRL connections.

    Parameters:

    buffer (numpy.ndarray<dtype:uint8>) – The array of bytes to be written to the device.

    Returns:

    None

    write_string(self: keysight_kt34400.keysight_kt34400.Kt34400System, data: str) None

    Write a string to the device. Must end with TerminationCharacter (n) for SOCKET or ASRL connections.

    Parameters:

    data (str) – The string to be written to the device.

    Returns:

    None

    Child Interfaces