Skip to content

Commit

Permalink
Fixed a typo in arguments for adding analog outputs to labjack devices.
Browse files Browse the repository at this point in the history
Co-authored-by: Pete R Jemian <prjemian@users.noreply.github.com>
  • Loading branch information
canismarko and prjemian committed Jan 2, 2024
1 parent f698f06 commit c78e933
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions apstools/devices/labjack.py
Original file line number Diff line number Diff line change
Expand Up @@ -287,7 +287,7 @@ def make_analog_inputs(num_ais: int):
return defn


def make_analog_outputs(num_ais: int):
def make_analog_outputs(num_aos: int):
"""Create a dictionary with analog output device definitions.
For use with an ophyd DynamicDeviceComponent.
Expand All @@ -299,7 +299,7 @@ def make_analog_outputs(num_ais: int):
"""
defn = {}
for n in range(num_ais):
for n in range(num_aos):
defn[f"ao{n}"] = (AnalogOutput, f"Ao{n}", {})
return defn

Expand Down

0 comments on commit c78e933

Please sign in to comment.