From b33e1e66c419836aefe34b6f8a1e8662fb253a2d Mon Sep 17 00:00:00 2001 From: Konstantin Mauer <73841474+konstantinmauer@users.noreply.github.com> Date: Thu, 15 Feb 2024 15:21:50 +0100 Subject: [PATCH] Update keithley_2400.yaml --- basil/HL/keithley_2400.yaml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/basil/HL/keithley_2400.yaml b/basil/HL/keithley_2400.yaml index 8f584ca55..8a9d0281f 100644 --- a/basil/HL/keithley_2400.yaml +++ b/basil/HL/keithley_2400.yaml @@ -23,3 +23,9 @@ get_autorange : SOUR:CURR:RANG:AUTO? four_wire_on: SYST:RSEN ON four_wire_off: SYST:RSEN OFF get_remote_sense: SYST:RSEN ? +# Special keyword for formatting query results to allow direct conversions to numeric types (e.g. float(get_current())) +__scpi_query_fmt: + fmt_sep: ',' + fmt_method: + get_voltage: '{0}' + get_current: '{1}'