Skip to content

Commit

Permalink
Merge pull request #207 from SiLab-Bonn/fmt_2470
Browse files Browse the repository at this point in the history
ENH: Add __scpi_query_fmt to Keithley 2470
  • Loading branch information
konstantinmauer authored Dec 11, 2023
2 parents 472b9fb + b7b7f2a commit d3cd239
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions basil/HL/keithley_2470.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,3 +22,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: '{0}'

0 comments on commit d3cd239

Please sign in to comment.