You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 32 Next »

Table of Content


Compressed folder, containing all necessary files for the demo - Download-Link
The compressed folder needs to be extracted, so that the contend can be used inside other programs.

The demo itself requires the installation of Visual Analog (Version - Download Link

Setting up Visual Analog and running the data capture demo

  1. Determine the modules COM port number
    1. Open the device manager, right click onto windows start menu symbol and select device manager
    2. Open ports and identify the port used by the module, the number is here marked with an X

  2. Setup Visual Analog
    1. Start Visual Analog and open a Blank canvas

      Via File → Open point to the file AnalogMAX_DAQ1_Capture.vac from the demo folder.

    2. Press Tools → External Tools... to prepare the usage of adcapture.exe, in the new appearing window

    3. Click Add in the new opened window and insert the name "adcapture" in the Display Text.
      Click Browse... and select the file "adcapture.exe" from the downloaded demo.
      Into Arguments insert "COMX,115200 1024 c:\temp\capture.txt 1", where the X in COMX
      is a placeholder for your comport number.

      To finish the setup press OK.

      Parameter description:
      COM14 - COM port which is used for the connection.
      115200 - Baud rate which is used for the connection.
      1024 - Amount of K samples to read, minimum 64 and maximum is 1024.
      c:\temp\capture.txt - File name and path which specifies where to storage the data.
      1 - Command to adjust for the modules gain, possible values are:
                 1 for a gain of 1, 2 for a gain of 2, 4 for a gain of 4 and 8 for a gain of 8

  3. Launch adcapture
    1. Befor running the demo, fill in Visual Analog into the Pattern Loader the sampling rate of your module:
      TEI0015 - 2 MHz
      TEI0016A - 0.5 MHz
      TEI0016A - 1 MHz

    2. To run the demo, select the above inserted tool by selecting Tools → adcapture, a new window opens
    3. The window shows the activity of the tool "adcapture", the picture below shows its state when it is finished

    4. In Visual Analog, use "F5" or press Canvas → Run to update the screen

Quick test with a terminal program

  1. Figure out the correct COM port number for the AnalogMAX DAQ1 board
    1. Open the device manager.
    2. Open ports and identify the port used by the AnalogMAX DAQ1 as visible in Figure 10.

  2. Open terminal and set the parameters (example use for putty).
    1. Set the connection type to Serial.
    2. Set the "Serial line" to your above found COM port.
    3. Set the "Speed" to 115200.
    4. Use "Open" to start the connection.
  3. Type following character for the appropriate usage.
    1. "?" to get the ID (AnalogMAX DAQ1 will return "1", DAQ2 will return "2")
    2. "t" to trigger ADC capture into the memory - 1M samples.
    3. "." to get one ADC sample.
    4. "+" to get 128 samples.
    5. "*" to get 16*1024 samples.

  • No labels