devices.magnetphysik:FH55

Driver for Hall probe FH55 from Magnet Physik.

Usage

Source

devices.magnetphysik:FH55(
    interface,
    timeout=1000.0,
    **kwargs,
)

Methods

Name Description
__init__() Initialize FH55.
getField() Return magnetic field in T.
getMode() Return the AC/DC mode.
getTemp() Return temp in degree celsius.
reset() Reset the FH55 using the RESET command.
setFilter() Set the filter on or off.
setMode() Set the operation mode.
setRange() Set the measurement range based on the current field strength.

__init__()

Initialize FH55.

Usage

Source

__init__(
    interface,
    timeout=1000.0,
    **kwargs,
)

Parameters

interface: str

The ip andress and port where the device is located. e.g. TCPIP::192.98.143.1::5025::SOCKET

timeout: int = 1000.0

(Default = 1e3 ms) The timeout of the ethernet connection.

**kwargs
Keyword arguments passed to the VISAdevice constructor.

getField()

Return magnetic field in T.

Usage

Source

getField()

units = [“mT”,“T”].


getMode()

Return the AC/DC mode.

Usage

Source

getMode()

getTemp()

Return temp in degree celsius.

Usage

Source

getTemp()

reset()

Reset the FH55 using the RESET command.

Usage

Source

reset()

This resets all peak (max/min) settings. RESET returns a “OK”.


setFilter()

Set the filter on or off.

Usage

Source

setFilter(filter_status)

Parameters

filter_status: str
Status of the filter, either “ON” or “OFF”. Corresponds to 1=ON, 0=OFF in the device commands.

setMode()

Set the operation mode.

Usage

Source

setMode(mode)

Parameters

mode: int
The operation mode: 0 = DC mode 1 = AC mode

setRange()

Set the measurement range based on the current field strength.

Usage

Source

setRange()

Automatically selects the appropriate range for the Hall probe based on the measured field magnitude. Range selection criteria: - Range 1: < 30 µT - Range 2: < 300 µT - Range 3: < 3 mT - Range 4: < 30 mT - Range 5: < 300 mT - Range 6: < 3 T

Prints an error message if the field is outside of valid ranges.