DriverUtility

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

The driver utility node in the driver hierarchy.

disable(self: keysight_kt34400.keysight_kt34400.DriverUtility) None

Quickly places the instrument in a state where it has no, or minimal, effect on the external system to which it is connected. This state is not necessarily a known state.

Returns:

None

error_query(self: keysight_kt34400.keysight_kt34400.DriverUtility) tuple[int, str]

Queries the instrument and returns instrument specific error information.

Returns:

A struct that includes the instrument error code and error message.

Return type:

tuple[int, str]

reset(self: keysight_kt34400.keysight_kt34400.DriverUtility) None

Places the instrument in a known state and configures instrument options on which the driver depends (for example, enabling/disabling headers). For an IEEE 488.2 instrument, Reset sends the command string *RST to the instrument.

Returns:

None

reset_with_defaults(self: keysight_kt34400.keysight_kt34400.DriverUtility) None

Does the equivalent of Reset and then, (1) disables class extension capability groups, (2) sets properties to initial values defined by class specs, and (3) configures the driver to option string settings used in the driver constructor.

Returns:

None

self_test(self: keysight_kt34400.keysight_kt34400.DriverUtility) tuple[int, str]

Performs an instrument self test, waits for the instrument to complete the test, and queries the instrument for the results. If the instrument passes the test, TestResult is zero and TestMessage is ‘Self test passed’.

Returns:

A struct that includes the numeric result from the self test operation (0 = no error, e.g. the test passed) and self test status message.

Return type:

tuple[int, str]