cnvrtwfm.py

cnvrtwfm.py (CoNVeRT WaveForM) is a program for converting Tektronix WFM files (generated by TDS series oscilloscopes) into a text format. cnvrtwfm.py is written in python and should therefore work on nearly any platform. It can also be used as a python module if you want to do more complex things with it.

Example

  $ ./cnvrtwfm.py --help
  cnvrtwfm.py -- process Tektronix waveform (.wfm) files
    v0.4 (2003/01/28)
    Michael D. Stenner 

  Usage: cnvrtwfm.py [options] file(s)
    -H, --high-res        force high resolution (16 bits)
    -L, --low-res         force low resolution (8 bits)
    -r, --raw             raw data - write the raw unscaled data
    -P PRE, --prefix=PRE  use PRE for header prefix
    --no-header           do not include header info in output
    -h, --help            print this help message

  If no resolution is specified (via -H or -L) then low resolution is
  used for Sample mode (for which the lower 8 bits are guaranteed to be
  junk) and high resolution is used for other modes.
  

You can download cnvrtwfm.py here and see some example output here.


Michael Stenner
Last modified: Mon Jun 10 20:22:55 EDT 2002