项目作者: knowm

项目描述 :
Java Application for automated memristor experiments and data collection based on Digilent's Analog Discovery 2 USB Oscilloscope and Knowm's Memristor Discovery Board.
高级语言: Java
项目地址: git://github.com/knowm/memristor-discovery.git
创建时间: 2016-12-07T21:34:25Z
项目社区:https://github.com/knowm/memristor-discovery

开源协议:Other

下载


About

Memristor Discovery is a Java application for running memristor “experiments” on the Knowm Memristor Discovery Board. It is designed to be cross-platform, meaning it runs on the latest versions of MacOS, Debian-based Linux and Windows 10. Running Memristor-Discovery requires Java and the Digilent waveforms Framework to be installed on your system (see below).

The following screenshots show Memristor-Discovery running on the three supported operating systems.

MacOS

Linux

Windows 10

Installing Memristor-Discovery

See Releases for downloads and installation instructions.

Pre-requisites For Running Memristor Discovery

Install DWF Framework on MacOS X

Download Waveforms .dmg file from here: https://reference.digilentinc.com/reference/software/waveforms/waveforms-3/start

Move the dwf.framework to /Library/Frameworks and Waveforms to Applications, as indicated during the install of Waveforms from the DMG:

Install DWF Framework on Windows

Download Waveforms from here: https://reference.digilentinc.com/reference/software/waveforms/waveforms-3/start and run the installer.

Install DWF Framework on Ubuntu

Download Waveforms .deb file from here: https://reference.digilentinc.com/reference/software/waveforms/waveforms-3/start

  1. sudo mv ~/Downloads/digilent.waveforms_3.9.1_amd64.deb /var/cache/apt/archives
  2. cd /var/cache/apt/archives
  3. sudo dpkg -i digilent.waveforms_3.9.1_amd64.deb
  4. sudo mv ~/Downloads/digilent.adept.runtime_2.19.2-amd64.deb /var/cache/apt/archives
  5. cd /var/cache/apt/archives
  6. sudo dpkg -i digilent.adept.runtime_2.19.2-amd64.deb

Calibrate the AD2 Device

Open up Waveforms and select from the Menu Settings ==> Device Manager. In the Window that pops up, select Calibrate. The rest is self explanatory. Make sure to calibrate “Waveform Generator 1 Low Gain” followed by “Oscilloscope”.

For Developers Only

Building

general

  1. mvn clean package
  2. mvn javadoc:javadoc
  3. mvn com.coveo:fmt-maven-plugin:format
  4. mvn versions:display-dependency-updates

maven-license-plugin

  1. mvn license:check
  2. mvn license:format
  3. mvn license:remove

Running from Eclipse

Right-click on MemristorDiscovery.java, Run As... ==> Java Application.

Building Executable Jar

Maven is used to build the executable jar and it will contain all the dependencies within that single jar as well. The jar memristor-discovery.jar will be found in the directory target.

  1. mvn clean package
  2. java -jar memristor-discovery.jar