Skip to content

Commit

Permalink
comment about only function form of get/set_cmd with no instrument
Browse files Browse the repository at this point in the history
  • Loading branch information
alexcjohnson committed Feb 22, 2016
1 parent c73f8c5 commit d035740
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions qcodes/instrument/parameter.py
Original file line number Diff line number Diff line change
Expand Up @@ -183,6 +183,8 @@ class StandardParameter(Parameter):
default None
get_cmd: a string or function to get this parameter
you can only use a string if an instrument is provided,
this string will be passed to instrument.ask
async_get_cmd: a function to use for async get, or for both sync
and async if get_cmd is missing or None
get_parser: function to transform the response from get
Expand All @@ -193,6 +195,8 @@ class StandardParameter(Parameter):
set_cmd: command to set this parameter, either:
- a string (containing one field to .format, like "{}" etc)
you can only use a string if an instrument is provided,
this string will be passed to instrument.write
- a function (of one parameter)
async_set_cmd: a function to use for async set, or for both sync
and async if set_cmd is missing or None
Expand Down

0 comments on commit d035740

Please sign in to comment.