lantz.drivers.kentech

company:Kentech Instruments Ltd.
description:Manufacturers of specialised and custom built electronics and imaging equipment.
website:http://www.kentech.co.uk/

copyright:2015 by Lantz Authors, see AUTHORS for more details.
license:BSD, see LICENSE for more details.
class lantz.drivers.kentech.HRI(resource_name, name=None, **kwargs)

Bases: lantz.messagebased.MessageBasedDriver

Kentech High Repetition Rate Image Intensifier.

Parameters:
  • resource_name (str) – The resource name
  • kwargs – keyword arguments passed to the resource during initialization.
Params name:

easy to remember identifier given to the instance for logging purposes.

clear_async(*args, **kwargs)

(Async) Clear the buffer.

query(command, *, send_args=(None, None), recv_args=(None, None))

Send query to the instrument and return the answer. Set remote mode if needed.

query_expect(command, read_termination=None, expected='ok')

Send a query and check that the answer contains the string.

DEFAULTS = {'COMMON': {'write_termination': '\r', 'read_termination': '\n'}}
DEFAULTS_changed
average_voltage

Cathode potential bias with respect of MCP.

Units:volt
Limits:(-50, 50)
average_voltage_changed
clamp_voltage

Most negative value of the gate pulse.

Units:volt
Limits:(-50, 50)
clamp_voltage_changed
clear = functools.partial(<bound method Action.call of <lantz.action.Action object at 0x7f6d5088a438>>, None)
clear_changed
enabled

MCP Enabled

Values:{False, True}
enabled_changed
mcp

MCP Voltage.

Units:volt
Limits:(0, 1700)
mcp_changed
mode

Gain modulation mode.

HRI Machine Modes and Mode Indices None Mode 0 INHIBIT 2-10 COMB modes 200 ps to 1 ns inclusive (High rate operation) 11-20 COMB modes 100 ps to 3 ns inclusive (Low rate (+GOI) operation) 21 RF 22 logic low duty cycle (LDC) 23 logic high duty cycle 24 DC 25-28 user modes 1 to 4
Values:{‘user1’: 25, ‘ldc’: 22, ‘user2’: 26, ‘rf’: 21, ‘inhibit’: 0, ‘hdc’: 23, ‘user3’: 27, ‘dc’: 24, ‘user4’: 28}
mode_changed
query_changed
query_expect_changed
remote

Remote or local.

Values:{False, True}
remote_changed
revision

Revision.

revision_changed
rfgain

RF Gain.

rfgain_changed
status

Get status.

status_changed
temperature

Temperature.

temperature_changed
trigger_ecl_level

Trigger level for ECL logic, mode level.

Units:centivolt
Limits:(-40, 40, 1)
trigger_ecl_level_changed
trigger_ecl_mode

Trigger mode for ECL logic.

Values:{‘log’: ‘LOGTRIG}’, ‘level’: ‘LVLTRIG’}
trigger_ecl_mode_changed
trigger_edge

Trigger on rising or falling edge.

Values:{‘rising’: ‘+VETRIG’, ‘falling’: ‘-VETRIG}’}
trigger_edge_changed
trigger_logic

Trigger logic.

Values:{‘ttl’: ‘TTLTRIG’, ‘ecl’: ‘ECLTRIG’}
trigger_logic_changed
trigger_ttl_termination

Trigger termination for TTL logic (for ECL is fixed to 50 ohm).

Values:{‘50ohm’: ‘50TRIG}’, ‘high’: ‘HITRIG’}
trigger_ttl_termination_changed