This focuses on generating the certificates for loading local virtual hosts hosted on your computer, for development only.
Do not use self-signed certificates in production ! For online certificates, use Let's Encrypt instead (tutorial).
### Keybase proof | |
I hereby claim: | |
* I am bmjjr on github. | |
* I am bmjjr (https://keybase.io/bmjjr) on keybase. | |
* I have a public key ASBc8rlNdvGrooCxI_lxC-u01gob6MDg-qWJIJ-EATom-go | |
To claim this, I am signing this object: |
#!/usr/bin/env python | |
import argparse | |
import visa, sys | |
from pyvisa.constants import StatusCode | |
from PIL import Image | |
from cStringIO import StringIO | |
def screendump(device, filename): |
This focuses on generating the certificates for loading local virtual hosts hosted on your computer, for development only.
Do not use self-signed certificates in production ! For online certificates, use Let's Encrypt instead (tutorial).
import hashlib | |
SCOPEID = '0000000000000000' | |
Model = 'SDS2000X+' | |
# Note that 'AWG' should be used for the 'FG' option | |
# If you have the 100 MHz model, then first upgrade it to 200 MHz, then 350 MHz and finally 500 MHz | |
bwopt = ('25M', '40M', '50M', '60M', '70M', '100M', '150M', '200M', '250M', '300M', '350M', '500M', '750M', '1000M', 'MAX', 'AWG', 'WIFI', 'MSO', 'FLX', 'CFD', 'I2S', '1553', 'PWA') | |
hashkey = '5zao9lyua01pp7hjzm3orcq90mds63z6zi5kv7vmv3ih981vlwn06txnjdtas3u2wa8msx61i12ueh14t7kqwsfskg032nhyuy1d9vv2wm925rd18kih9xhkyilobbgy' |