Versions Compared

Key

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

...

Figure 1

MHz  / Resolution - 16 bit
TEI0016-0x-08-C8B - 1 MHz  / Resolution - 16 bit
TEI0023 - 2 MHz  / Resolution - 18 bit

This sampling rate is only changed, when the demo has been run.

It is often necessary to fill in the value two times before it is recognized.
In dependency to the language settings, 0.5 MHz is sometimes not recognized,
try instead of the separation point (0.5) a separation comma (0,5) or without the zero (.5 ,5)
In the graph section, one can check the present sampling rate

  • In addition, the ADC resolution needs to be adjusted also. In the Input Formatter Box, press onto
    the small Button, and adjust in the new appearing window the resolution.


  • Excerpt

    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

        Scroll Title
        anchorFigure 1


        Scroll Ignore

        draw.io Diagram
        bordertrue
        viewerToolbartrue
        fitWindowfalse
        diagramDisplayName
        lboxtrue
        revision5
        diagramNameTEI0015_data_capture-demo_Visual-Analog_device-manager
        simpleViewertrue
        width400
        linksauto
        tbstyletop
        diagramWidth542


        Scroll Only



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

        Scroll Title
        anchorFigure 1


        Scroll Ignore

        draw.io Diagram
        bordertrue
        viewerToolbartrue
        fitWindowfalse
        diagramDisplayName
        lboxtrue
        revision2
        diagramNameTEI0015_data_capture-demo_Visual-Analog_open
        simpleViewertrue
        width400
        linksauto
        tbstyletop
        diagramWidth575


        Scroll Only



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

        Scroll Title
        anchorFigure 1


        Scroll Ignore

        draw.io Diagram
        bordertrue
        viewerToolbartrue
        fitWindowfalse
        diagramDisplayName
        lboxtrue
        revision2
        diagramNameTEI0015_data_capture-demo_Visual-Analog_blanc-canvas
        simpleViewertrue
        width400
        linksauto
        tbstyletop
        diagramWidth643


        Scroll Only



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

        Scroll Title
        anchorFigure 1


        Scroll Ignore

        draw.io Diagram
        bordertrue
        viewerToolbartrue
        fitWindowfalse
        diagramDisplayName
        lboxtrue
        revision2
        diagramNameTEI0015_data_capture-demo_Visual-Analog_Capture.vac
        simpleViewertrue
        width600
        linksauto
        tbstyletop
        diagramWidth636


        Scroll Only



      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.

        Scroll Title
        anchorFigure 1


        Scroll Ignore

        draw.io Diagram
        bordertrue
        viewerToolbartrue
        fitWindowfalse
        diagramDisplayName
        lboxtrue
        revision5
        diagramNameTEI0015_data_capture-demo_Visual-Analog_adcapture-setup
        simpleViewertrue
        width400
        linksauto
        tbstyletop
        diagramWidth445


        Scroll Only


        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:
                   TEI0015 and TEI0016:    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

      Launch adcapture
      1.            TEI0023:    1 for a gain of 0.25, 2 for a gain of 0.5, 3 for a gain of 1, 4 for a gain of 2, 5 for a gain of 4, 6 for a gain of 8 and 7 for a gain of 16

      2. Befor running the demo, fill in Visual Analog, fill into the Pattern Loader the ADC sampling rate of your module:
        TEI0015 - 2 MHz
        TEI0016A MHz  / Resolution - 18 bit
        TEI0016-0x-08-C8A - 0.5 MHz
        TEI0016A - 1 MHz

    Scroll Title
    anchor
    Scroll Title


    Scroll Ignore

    draw.io Diagram
    1
    bordertrue
    viewerToolbartrue
    fitWindowfalse
    diagramDisplayName
    lboxtrue
    revision3
    diagramNameTEI0015_data_capture-demo_Visual-Analog_Samplingrate
    simpleViewerfalsetrue
    width
    diagramWidth608
    revision400
    linksauto
    tbstyletop
    diagramWidth904


    Scroll Only



  • Launch adcapture
      1. To run the demo, select the above inserted tool by selecting Tools → adcapture, a new window opens
      2. The window shows the activity of the tool "adcapture", the picture below shows

    1. its state
      1. it, when it is finished

        Scroll Title
        anchorFigure 1


        Scroll Ignore

        draw.io Diagram
        bordertrue
        viewerToolbartrue
        fitWindowfalse
        diagramDisplayName
        lboxtrue
        revision3
        diagramNameTEI0015_data_capture-demo_Visual-Analog_adcapture-run
        simpleViewertrue
        width600
        linksauto
        tbstyletop
        diagramWidth746


        Scroll Only

        Image Modified



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

        Scroll Title
        anchorFigure 1


        Scroll Ignore

        draw.io Diagram
        bordertrue
        viewerToolbartrue
        fitWindowfalse
        diagramDisplayName
        lboxtrue
        revision1
        diagramNameTEI0015_data_capture-demo_Visual-Analog_window-demo-run
        simpleViewertrue
        width600
        linksauto
        tbstyletop
        diagramWidth1921


        Scroll Only

        Image Modified



    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.

    ...