Skip to end of metadata
Go to start of metadata

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

Compare with Current View Page History

« Previous Version 7 Next »

Requirements

The Data Capture Demo requires that the modules:

  • FTDI chips Port B is in OPTO isolated mode
  • the FPGA Intel MAX 10 is programmed with the demo specific firmware

Software to download

Compressed folder, containing all necessary files for the demo - Download-Link


Software which needs to be installed prior to configure the module.
For changing the FTDI configuration:

For programming the FPGA Intel MAX 10: 

  • Intel - Quartus prime Lite Edition (Version 18.1) - Download-Link
  • Arrow-USB-Blaster-Setup (Version 2.2) - Download-Link
  • the firmware, a *.pof file as part of the compressed demo folder


Quartus prime and Arrow-USB-Blaster need to be installed prior to updating the firmware.
In addition, the compressed folder needs to be extracted.

FTDI Port B OPTO isolated mode

Conect the module to your PC and open FT_Prog.

Press "Devices → Scan and parse" the modules FTDI chips configuration will be listed.
Use the "Device Tree" to navigate to "Device: ... → FT EEPROM → Hardware specific → Hardware"
and change the value to OPTO isolated.

Press "Devices → Program", a new window appears, press program and after this finishes press Cycle ports.

The configuration is finished, FT_Prog can be closed.

After shipment, the default configuration is set to 245 FIFO.


Figure 1: FT_Prog started


FPGA image update


LINKEN?!?!!?___________________________________________________________________________

Integration with Visual Analog

  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.


      Figure 10: Device Manager for COM port identification

  2. Setup Visual Analog "External Tools..." custom menu item to launch adcapture.exe with commandline parameters
    1. Download "Visual Analog" from here.
    2. Install "Visual Analog"
    3. Start "Visual Analog" and open a "Blank canvas". After that, the window should look like Figure 11.


      Figure 11: VisualAnalog started

    4. Open the file "AnalogMAX_DAQ1_Capture.vac" from the downloaded zip-file via "File → Open...". The window should look like Figure 12


      Figure 12: VisualAnalog AnalogMAX_DAQ1_Capture.vac loaded

    5. Press "Tools → External Tools..." to prepare the usage of the adcapture.exe.
    6. Click "Add" in the opened window and insert the name "adcapture" in the "Display Text". Select the file "adcapture.exe" from the downloaded zip-file after using the button "Browse..." for the "File Name" and insert "COM14,115200 1024 c:\temp\capture.txt 7" for the "Arguments". The parameters are the COM port (COM port 14 in our case), the baud rate, the number of samples, the location to store the data and a value to adjust the system. Then, click on "Ok".
  3. Launch adcapture.exe and after completion click run to update the screen
    1. Select the above inserted tool by selecting "Tools → adcapture".
    2. A window shows the activity of the tool "adcapture", similar to Figure 13.



      Figure 13: Adcapture.exe output
    3. Then, using "F5" or "Canvas → Run" uses the information to create the graph in the previous window, as visible in Figure 14.


      Figure 14: VisualAnalog data interpretation

VisualAnalog parameter description (COM14,115200 1024 c:\temp\capture.txt 7)

  • 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).
  • c:\temp\capture.txt - File and path which specifies the storage of data.
  • 7 - Command to adjust the gain (4 - 1; 5 - 2; 6 - 4; 7 -8;).

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")
    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