Versions Compared

Key

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

...

  1. Figure out 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
      simpleViewerfalsetrue
      width
      linksauto
      tbstyletop
      diagramWidth542revision5


      Scroll Only

      Image Added



  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
      simpleViewerfalsetrue
      width
      linksauto
      tbstyletop
      diagramWidth575
      revision2


      Scroll Only

      Image Added



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

      Scroll Title
      anchorFigure 1


      Scroll Ignore

      draw.io Diagram
      revision
      bordertrue
      viewerToolbartrue
      fitWindowfalse
      diagramDisplayName
      lboxtrue
      revision2
      diagramNameTEI0015_data_capture-demo_Visual-Analog_blanc-canvas
      simpleViewerfalsetrue
      width
      linksauto
      tbstyletop
      diagramWidth6432


      Scroll Only

      Image Added



    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
      simpleViewerfalsetrue
      width
      linksauto
      tbstyletop
      diagramWidth636revision2


      Scroll Only

      Image Added



    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 7", 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
      revision3
      diagramNameTEI0015_data_capture-demo_Visual-Analog_adcapture-setup
      simpleViewerfalsetrue
      width
      linksauto
      tbstyletop
      diagramWidth445
      revision3


      Scroll Only

      Image Added


      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.
      7 - Command to adjust the gain, possible values are:
                 4 for a gain of 1, 5 for a gain of 2, 6 for a gain of 4 and 7 for a gain of 8

  3. 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 its state 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
      simpleViewerfalsetrue
      width
      linksauto
      tbstyletop
      diagramWidth746revision3


      Scroll Only

      Image Added



    3. 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
      simpleViewerfalsetrue
      width
      linksauto
      tbstyletop
      diagramWidth1921
      revision1


      Scroll Only

      Image Added



Quick test with a terminal program

...