Versions Compared

Key

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


Installation of Jupyter


Einleitung → Bildchen's der module

...

When instead two devices labelled "Arrow USB Blaster" are listed under "other devices", the manual
approach has to be taken.
Image Modified

Through a right mouse click on each device, a context menu opens. Chose "Update driver" afterwords chose
"Search automatically for updated driver software", this proper driver installation changes the devices names
into USB Serial Converter A & B, in addition, also the a comport is installed.

...

The Communication Interface within TEI0015-02

Kommandos habe folgende Aktionen zur folge: ....
t 1 2 4 8 r . + * x y z  ?
utf8 encodinghabe folgende Aktionen zur folge:



The module modules TEI0015 and TEI0016 implements a serial interface handler for executing commands. The serial interface speed
must be set to 115200 bits,
commands consists of a single  character in utf8 UTF-8 encoding.
Each commands command must be transmitted individually.


"1"     or "4"   Sets the pre-amplification of the ADC's input to 1. Firmware dependend

"2" or "5"       Sets the pre-amplification of the ADC's input to 2. Firmware dependend

"4"     or "6"   Sets the pre-amplification of the ADC's input to 4. Firmware dependend

"8" or "7"       Sets the pre-amplification of the ADC's input to 8. Firmware dependend

"r"    The ADC measure once and transmits itthis value

"t"    The ADC measures 1 MSamples mega samples and saves the values into its SD-Ram

...

"x"    Instead of ADC values the value "12345" is stored 1M times in RAM, values are transmitted via ".", "+" and "*"

"y"    Instead of ADC values from 0 to 1M are stored in RAM, encoded in hexadecimal , value, hexadecimal values, in ascending order, are generated and stored into the SD-RAM,
        the values are transmitted in ascending order via "." ,  "+" and "*"

"z"   The value "12345" is generated and direct transmitted 256 times

"?"   The module returns its ID, TEI0015 returns "1" and TEI0016 returns "2" to get the ID (AnalogMAX DAQ1 will return "1")




Demo


Image Added


This demo works with the modules TEI0015 and TEI0016. In this example the ADC of the module measures one million samples
and stores them inside its SD-RAM. The data is collected, converted and shown as graph plot, showing its value and
time behaviour and for the second graph a Fourier transformation is performed, showing the Frequency spectrum.

The user can adjust the pre-amplification and length of the data to be processed.

In this demo the general approach on how to communicate with the module and perform high speed measurements with
the ADC are shown.

Communicating with module:

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

  • Open a serial comport
  • 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

These steps apply also for read operations.

Using the ADC for high speed consecutive measurements

Besides measuring single values, via command "r", the module provides a method to collect ADC data with


The module provides a method to gather highly accurate consecutive ADC measurements in a single event.
In this mode of operation, one mega sample of ADC values are performed and stored inside the modules
SD-RAM.

The following step should be taken in this mode:

  • Open a serial comport
  • Send the command "2 or 5", "4 or 6" or "8 or 7" for the ADC pre-amplification, if a gain greater 1 is desired
  • Send the command "t" to trigger the consecutive measurement
  • Clear the PCs serial comport input buffer of the opened comport
  • Send the command "+" or "*", the module transmits 128 or 16384 Samples of ADC values
  • Read the amount of ADC values in one chunk of 128 or 16384 samples from the serial input buffer of the PC
  • Repeat the reading of chunks to a maximium of 1 mega sample
  • Close the comport

After a trigger event, the one mega sample of data is stored until your retrigger. So processing the data can
be done for each chunk individually or the whole one mega sample.


The ADC values are 18bit wide and contained in 5 nibbles of data.
The RAW ADC data positive values reach from 0 to 131071


TEI0015:

ADC = AD4003BCPZ-RL7 18-bit 2MSPS

# ADC resolution is 18bit, positive reach from 0 to 131071,
# negatives from 131072 to 262142


TEI0016:

ADC = ADAQ7988BCCZ, 16-bit 500kSPS

# ADC resolution is 16bit, negative full scale is 0,
# mid scale is 0x8000 / 32768 and pos full scale is 0xffff / 65536





CLOSE the comport

Convert the data

do what servers your needs