Skip to content

Commit

Permalink
Merge pull request #420 from linien-org/feature/fix-readme-examples
Browse files Browse the repository at this point in the history
Fix examples in README
  • Loading branch information
bleykauf authored Aug 13, 2024
2 parents c5c4c87 + 8bef1c8 commit f1c3da1
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
* Show differences when local and remote parameters do not match by @bleykauf in https://github.com/linien-org/linien/pull/400
* Show voltage on the x-axis when sweeping by @bleykauf in https://github.com/linien-org/linien/pull/404

### Fixed

* Fixed example code in the readme by @bleykauf in https://github.com/linien-org/linien/pull/404, thanks to @Andrew-wi for reporting this issue

## [2.0.4] - 2024-05-30

### Fixed
Expand Down
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -89,10 +89,10 @@ from linien_client.deploy import install_remote_server

device = Device(
host="rp-xxxxxx.local",
user="root",
username="root",
password="root"
)
instalL_remote_server(device)
install_remote_server(device)
```

Finally, you can install the server manually, by connecting to the RedPitaya via SSH and
Expand Down Expand Up @@ -240,7 +240,7 @@ from linien_common.common import MHz, Vpp, ANALOG_OUT_V

dev = Device(
host="rp-xxxxxx.local",
user="root",
username="root",
password="root"
)
c = LinienClient(dev)
Expand Down Expand Up @@ -335,7 +335,7 @@ from time import sleep

c = LinienClient(
host="rp-xxxxxx.local",
user="root",
username="root",
password="root"
)
c.connect(autostart_server=True, use_parameter_cache=True)
Expand Down

0 comments on commit f1c3da1

Please sign in to comment.