TekDS820 Code
Drive your obsolete Tek oscilloscope remotely with python
Status: Alpha
Brought to you by:
doobs
File | Date | Author | Commit |
---|---|---|---|
bin | 2018-01-02 |
![]() |
[aa2103] Initial commit |
doc | 2018-01-02 |
![]() |
[aa2103] Initial commit |
src | 2018-01-18 |
![]() |
[578801] improve ellipse mode and acquisition counter |
xml | 2018-01-02 |
![]() |
[aa2103] Initial commit |
xsl | 2018-01-02 |
![]() |
[aa2103] Initial commit |
Makefile | 2018-01-02 |
![]() |
[aa2103] Initial commit |
README | 2018-01-07 |
![]() |
[495952] add attributions |
Inspiration for this project comes from: https://github.com/markjones112358/pyInstruments http://www.febo.com/geekworks/data-capture/tds-2012.html http://w140.com/tekwiki/wiki/TDS820 In order to use this software there are a number of prerequisites. linux-gpib: You're going to have to compile and install the relevant kernel modules and edit the /etc/gpib.conf file - for example add something like this: device { minor = 0 /* minor number for interface board this device is connected to */ name = "scope" /* TEKTRONIX,TDS 820,0,CF:91.1CT FV:v2.05e */ timeout = T3s /* T3s timeout for commands */ pad = 1 /* The Primary Address */ sad = 2 /* There is no Secondary Address */ eos = 0x0a /* EOS Byte is new-line/line-feed on Tek. */ } Whatever "name" you call your scope, you will want to ensure that the variable "deviceName" in the file bin/scope.py has the same value. To build the schema file you will need both perl, xsltproc and Gnu Make. If they are installed, then just change to the top directory and type: make That builds an XML Docbook document from the crude text of the programming manual. That XML doc is in turn processed into an XML schema (XSD) file. The schema file is read every time the software runs, in order to build both the GUI and GPIB interfaces. At that point, you should be good to go. Just type: bin/scope.py There is a hell of a lot of functionality that isn't implemented. Hopefully there is enuff that is to amuse you.