Home | Products | Software | Download | News | Search | F.A.Q. |        

Interfacing with 3rd party software - Python

 
Python logo

TiePie engineering measuring instruments can work together with Python. This extends the possibilities of the TiePie engineering measuring instruments even further.

Installation for Python 2.4

Installation for Python 2.5

  • Download and install the TiePie Package
  • Download the programming DLL for your instrument
  • Copy the DLL (and HEX files) to the same directory as your Python script.

Examples

A Handyscope HS3 is used in all examples, but you can use the Python examples also with our other instruments. For a list of supported instruments see the Instrument ID's list. If you want to use e.g. a Handyscope HS4, you need to change the line which creates the TPdevice. Replace 'HS3' by the ID for your instrument. An example is shown below:

TPdevice = TiePie.Instruments.Instrument( 'HS3' ); # Handyscope HS3

To use a Handyscope HS4 replace the above by:

TPdevice = TiePie.Instruments.Instrument( 'HS4' ); # Handyscope HS4

A list with all instrument ID's can be found at the bottom of this page.

Currently there are three examples available:

  • scope_example.py
      Performs a measurement at 100kHz with a record of 1000 samples. Sensitivity is 8 Volt, Coupling is DC.
  • awg_example.py
      Enables the AWG and generates a 5 kHz sinewave for 30 seconds. Amplitude is 1 Volt, DC offset is 2 Volt, symmetry is 50%.
  • scope_awg_example.py
      Enables the AWG and performs a measurement.

Download

Name Version Size Release date Download
TiePie package for Python 2.4 1.02 63.5 KB 04 Jan 2007 download file
TiePie package for Python 2.5 1.02 63.8 KB 04 Jan 2007 download file
Python examples   3.26 KB 04 Jan 2007 download file

Instrument ID's

print