You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Linien runs on Windows and Linux. For Windows users the [standalone
44
43
binaries](#standalone-binary) containing the graphical user interface
45
44
are recommended.
46
45
These binaries run on your lab PC and contain everything to get Linien running on your RedPitaya.
47
46
48
-
Both RedPitaya OS 1.x and 2.x are supported. However, support for OS 1.x will be dropped starting
49
-
with Linien 2.x
50
-
51
-
If you want to use the python interface you should [install it using pip](#installation-with-pip).
47
+
Starting with Linien 2.0, only RedPitaya OS 2.x is supported. Linien 1.x works on RedPitaya OS
48
+
but is no longer actively maintain.
52
49
53
50
### Standalone binary
54
51
55
-
You can download standalone binaries for Windows on[the
56
-
releases
57
-
page](https://github.com/linien-org/linien/releases) (download the binary in the assets section of the latest version). For Linux users, we recommend installation via pip.
52
+
You can download standalone binaries for Windows on
53
+
[the releases page](https://github.com/linien-org/linien/releases) (download the binary in the assets
54
+
section of the latest version). For Linux users, we recommend installation of `linien-gui` via pip.
58
55
59
56
### Installation with pip
60
57
@@ -72,12 +69,57 @@ linien
72
69
73
70
in a terminal (on both Linux and Windows).
74
71
75
-
In case you're only interested in the python client and don't want to install the graphical application, you may use the `linien-client` package:
72
+
In case you're only interested in the Python client and don't want to install the graphical application, you may use the `linien-client` package:
76
73
77
74
```bash
78
75
pip install linien-client
79
76
```
80
77
78
+
### Installation of the server on the RedPitaya
79
+
80
+
The easiest way to install the server component of Linien on the RedPitaya, is to use the graphical
81
+
user interface. The first time you are connecting to the RedPitaya, the server is automatically
82
+
installed.
83
+
84
+
In case you are using the `linien-client`, the server can be installed with
85
+
86
+
```python
87
+
from linien_client.device import Device
88
+
from linien_client.deploy import install_remote_server
89
+
90
+
device = Device(
91
+
host="rp-xxxxxx.local",
92
+
user="root",
93
+
password="root"
94
+
)
95
+
instalL_remote_server(device)
96
+
```
97
+
98
+
Finally, you can install the server manually, by connecting to the RedPitaya via SSH and
99
+
then running
100
+
101
+
```bash
102
+
pip install linien-server
103
+
```
104
+
105
+
The server can then be started as a systemd service by running
106
+
107
+
```bash
108
+
linien-server start
109
+
```
110
+
111
+
on the RedPitaya. To check the status of the server, run
112
+
113
+
114
+
```bash
115
+
linien-server status
116
+
```
117
+
118
+
For more options, run
119
+
120
+
```bash
121
+
linien-server --help
122
+
```
81
123
82
124
Physical setup
83
125
--------------
@@ -192,14 +234,16 @@ Then, you should start the Linien server on your RedPitaya. This can be done by
192
234
193
235
Once the server is up and running, you can connect using python:
194
236
```python
237
+
from linien_client.device import Device
195
238
from linien_client.connection import LinienClient
196
239
from linien_common.common import MHz, Vpp, ANALOG_OUT_V
Linien is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
0 commit comments