Giter Club home page Giter Club logo

dmm-js-app's Introduction

Virtual DMM electron interface

MVP Electron application for the Agilent 34401A.

Based on the DMM.js-serial library.

Should work without any issue for other RS232 SCPI-compatible measurement tool (HP / Agilent 34410, Keithley 2000...)

DMM app screenshot

Features

  • AC / DC current & voltage
  • 2 and 4 wire (kelvin) resistance measurement
  • Frequency and period
  • Single / Loop reading mode
  • CSV time / value data logging
  • Auto-connect, display connected device info

Next release

Kinda lazy, needs to be done

  • Better design
  • True toggle buttons
  • Front / Read measure indication
  • Better device lifecycle management & command transaction queue
  • Errors display feature
  • Device configuration menu
  • Data-logging dedicated menu

Installation

git clone https://github.com/rascafr/dmm-js-app.git
cd dmm-js-app

# rebuild serialport dependency for electron
npm i -D electron-rebuild
npm i
./node_modules/.bin/electron-rebuild

Run it

npm start

Data logging

Even if it's not the main application's purpose, you can log values into a CSV file (the data will be saved with semicolon delimiters). Both raw value and time (in ms) will be saved, so you can perform some Δv / Δt calculations with the resulting data.

DMM app recording

Just indicate the CSV output file path when calling the application from the command line:

npm start ~/Desktop/logMyData.csv

Recording steps

  • wait for the device to be connected
  • select the function you want to use for the measurement (e.g.: DC V)
  • press the Loop button after the first measurement to start the recording, screen will refresh after each reading
  • take a coffee ☕, wait for as long as you need
  • select the Single button to stop the recording
  • close the window to disconnect the device and save data to the output file

Troubleshooting

Installation instruction are up-to-date with the following tips about the serialport library (used in DMM.js-serial).

serialport/node-serialport#1910 (comment)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.