# devices.keithley:KeithleyDMM6500


Class for controlling the Keithley DMM6500 multimeter.


Usage

``` python
devices.keithley:KeithleyDMM6500(
    interface,
    **kwargs,
)
```


Provides methods to configure and take measurements with the Keithley DMM6500 digital multimeter for voltage, 2-wire and 4-wire resistance measurements.


## Attributes


`config_params: dict`  
Dictionary of configuration parameters and their corresponding query commands.

`triggered: bool`  
Flag indicating if a measurement has been triggered.


## Methods

| Name | Description |
|----|----|
| [__init__()](#__init__) | Initialize the Keithley DMM6500 device. |
| [configure2WireOhm()](#configure2WireOhm) | Configure the Keithley DMM6500 to measure 2-wire resistance. |
| [configure4WireOhm()](#configure4WireOhm) | Configure the Keithley DMM6500 to measure 4-wire resistance. |
| [configureVolt()](#configureVolt) | Configure the Keithley DMM6500 to measure DC voltage. |
| [getReading()](#getReading) | Get the reading from the instrument. |
| [triggerReading()](#triggerReading) | Trigger a reading from the instrument. |

------------------------------------------------------------------------


### \_\_init\_\_()


Initialize the Keithley DMM6500 device.


Usage

``` python
__init__(
    interface,
    **kwargs,
)
```


#### Parameters


`interface: str`  
VISA resource name for the instrument.

`**kwargs: dict`  
Additional keyword arguments to pass to the VisaDevice constructor. If not specified, read_termination and write_termination are set to LF.


------------------------------------------------------------------------


### configure2WireOhm()


Configure the Keithley DMM6500 to measure 2-wire resistance.


Usage

``` python
configure2WireOhm(
    digits=None,
    count=None,
    window=None,
    NPLC=None,
    dFil=None,
    rang=None,
    rangeAuto=None,
    trigBus=None,
    repeatingFilter=None,
    reset=False,
)
```


#### Parameters


`digits: int = None`  
Number of digits to display (4-8).

`count: int = None`  
Filter count for the digital filter.

`window: float = None`  
Filter window for the digital filter.

`NPLC: int = None`  
Number of power line cycles to integrate over.

`dFil: bool = None`  
If True, turn on the digital filter. If False, window and filter count are ignored.

`rang: float = None`  
Range of the resistance measurement. Selected by the instrument to include the value of range.

`rangeAuto: bool = None`  
If True, enables automatic detection of the measurement range. Takes additional time during measurements.

`trigBus: bool = None`  
Does nothing. Kept for backward compatibility.

`repeatingFilter: bool = None`  
If True, set the filter to repeating. If False, set to moving.

`reset: bool = ``False`  
If True, the device is reset prior to configuration. Default is False.


------------------------------------------------------------------------


### configure4WireOhm()


Configure the Keithley DMM6500 to measure 4-wire resistance.


Usage

``` python
configure4WireOhm(
    digits=None,
    count=None,
    window=None,
    NPLC=None,
    dFil=None,
    rang=None,
    rangeAuto=None,
    trigBus=None,
    repeatingFilter=None,
    reset=False,
)
```


#### Parameters


`digits: int = None`  
Number of digits to display (4-8).

`count: int = None`  
Filter count for the digital filter.

`window: float = None`  
Filter window for the digital filter.

`NPLC: int = None`  
Number of power line cycles to integrate over.

`dFil: bool = None`  
If True, turn on the digital filter. If False, window and filter count are ignored.

`rang: float = None`  
Range of the resistance measurement. Selected by the instrument to include the value of range.

`rangeAuto: bool = None`  
If True, enables automatic detection of the measurement range. Takes additional time during measurements.

`trigBus: bool = None`  
Does nothing. Kept for backward compatibility.

`repeatingFilter: bool = None`  
If True, set the filter to repeating. If False, set to moving.

`reset: bool = ``False`  
If True, the device is reset prior to configuration. Default is False.


------------------------------------------------------------------------


### configureVolt()


Configure the Keithley DMM6500 to measure DC voltage.


Usage

``` python
configureVolt(
    digits=None,
    count=None,
    window=None,
    NPLC=None,
    dFil=None,
    rang=None,
    rangeAuto=None,
    trigBus=None,
    repeatingFilter=None,
    reset=False,
)
```


#### Parameters


`digits: int = None`  
Number of digits to display (4-8).

`count: int = None`  
Filter count for the digital filter.

`window: float = None`  
Filter window for the digital filter.

`NPLC: int = None`  
Number of power line cycles to integrate over.

`dFil: bool = None`  
If True, turn on the digital filter. If False, window and filter count are ignored.

`rang: float = None`  
Range of the voltage detection. Selected by the instrument to include the value of range.

`rangeAuto: bool = None`  
If True, enables automatic detection of the measurement range. Takes additional time during measurements.

`trigBus: bool = None`  
Does nothing. Kept for backward compatibility.

`repeatingFilter: bool = None`  
If True, set the filter to repeating. If False, set to moving.

`reset: bool = ``False`  
If True, the device is reset prior to configuration. Default is False.


------------------------------------------------------------------------


### getReading()


Get the reading from the instrument.


Usage

``` python
getReading()
```


#### Returns


`float`  
The measured value if a reading has been triggered, otherwise None.


#### Notes

Resets the triggered flag to False after reading.

------------------------------------------------------------------------


### triggerReading()


Trigger a reading from the instrument.


Usage

``` python
triggerReading()
```


Sets the triggered flag to True to indicate a measurement is pending.
