Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • Connect the module to the host pc
  • Apply a signal to the modules inputs:
    Either via SMA- or via Pin Header- connection,
    it is sufficient to use only one of the differential inputs,
    but for the best results, apply the signal via both differential inputs
    (Connection diagrams are in the next chapter)
  • Connect the module to the host pc
  • Open Jupyter and navigate to the Notebook.
  • Place the mouse cursor into the Notebooks cell via left click
  • Run the Note by pressing the Run button
    (The demo scans for existing comports in its initialisation phase. So the module needs to be connected to the computer prior to running the demo)
  • Enjoy playing (smile)!

Connecting the input signal

...

Scroll Title
title-positiontop
anchorFigure_OV_MC
titleAppling a signal to the modules inputs


Scroll Ignore




General programmatically interface / communication description

Communicating with module

To communicate with the module, a serial comport COM-port with a speed set to 115200 bits needs to be opened. Commands consists of a single character in UTF-8 encoding. It is good practice to communication with the module following these steps:

  • Open a serial comportCOM-port
  • Clear the PCs serial comport input buffer of the opened comport
  • Send the desired commands, each one in a single write operation to the comport
  • Close the serial comport as soon as possible

...

The following step should be taken in this mode:

  • Open a serial comportCOM-port
  • For TEI0015 and TEI0016:   Send the command "1", "2", "4" or "8" for the ADC pre-amplification of 1, 2, 4, 8
    For TEI0023:                       Send the command "1", "2", "3", "4", "5", "6" or "7" for the ADC pre-amplification of 0.25, 0.5, 1, 2, 4, 8 and 16
  • Send the command "t" to trigger the consecutive measurement.
    (The module always measures 1 MSample of data into its SD-RAM)
  • Clear the PCs serial comport input buffer of the opened comport
  • Send the command "+" or "*" to the module, it then transmits 128 or 16384 Samples of ADC values
  • Read the amount of ADC values in one chunk of 128 or 16384 samples from the PCs serial input buffer
    (Otherwise there is a high possibility of a misalignment of nibbles)
  • Repeat the reading of chunks to a maximum of 1 mega sample
  • Close the comport

...