23 lines
488 B
Markdown
23 lines
488 B
Markdown
# Rigol
|
|
Script from the EEVBlog, that will activate all options on a rigol scope.
|
|
|
|
## Usage:
|
|
```
|
|
python3 rigol_kg.py 192.168.1.142
|
|
```
|
|
|
|
I had to force enable overwriting the key:
|
|
```python
|
|
def main(ip_addr):
|
|
[..]
|
|
prev_key = False
|
|
|
|
[..]
|
|
# ELHER necessary due to different key on my scope.
|
|
if len(new_key) < 388:
|
|
new_key += (388 - len(new_key)) * b"\xaa"
|
|
|
|
[..]
|
|
```
|
|
|
|
And reboot the scope and run again. Maybe it is not necessary and the reboot fixed the key? |