0 Star 0 Fork 0

OWON / OWON-VDS1022

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
贡献代码
同步代码
取消
提示: 由于 Git 不支持空文件夾,创建文件夹后会生成空的 .keep 文件
Loading...
README

OWON VDS1022/I Oscilloscope

This software is an unofficial release for the VDS1022 with a few improvements :

  • Scripts to install the app on Linux/Windows/Mac
  • A Python API to directly communicate with the device to log, analyse and plot
  • New shortcuts: single trigger, trigger level, offsets, coupling, inversion, reset ...
  • Added single/normal triggering for the rolling mode (time base >= 100ms/div)
  • Added a noise filtering option in the channel menu
  • Added a vertical mark cursor to adjust the pulse/slope trigger width
  • Added a vertical mark cursor to measure the duty cycle and phase angle
  • Added measures for the Math channel
  • Added an option in the channel menu to measure a current instead of a voltage
  • Added buttons to change the color of the waves
  • Added buttons to store/restore the current settings while keeping the same calibration
  • Added a x20, x50 and x500 probe ratio
  • Improved the device stability and interface
  • Simplified the record/play dialog
  • Merged the save image / export operation to a single button/dialog
  • Many fixes (see change list)

This software is based on the OWON release for the VDS1022(I) 1.1.1 :
http://www.owon.com.hk/products_owon_vds_series_pc_oscilloscope

This device is also sold under different brands:

  • Multicomp Pro MP720016 / MP720017
  • PeakTech 1290

Requirements

Java Runtime Environment 8 (1.8) or superior is required.
Java 11 or superior is recommended especially if you have an HDPI display.
Installers are available at https://adoptium.net/releases.html (JRE ~40Mb).
It should work just fine on any computer/laptop as long as there's 200Mb of free RAM.

Install

Download and extract the latest release :

https://github.com/florentbr/OWON-VDS1022/tags

Windows 10, 8, 7, XP (x86/amd64)

Right click on install-win.cmd and select "Run as administrator".

The script installs the driver, copies the files, registers for uninstall and creates a menu entry.
User settings are stored in %APPDATA%\OWON VDS1022.

To debug, run %PROGRAMFILES%\OWON VDS1022\launch.cmd or %PROGRAMFILES(X86)%\OWON VDS1022\launch.cmd.
To fully uninstall, open your application manager and select "OWON VDS1022" .

Linux (Debian based, Arch based, Puppy, Fedora ...)

Open a terminal window in this folder and execute sudo bash install-linux.sh .

The script builds a package according to the distribution and installs it with the default package manager.
User settings are stored in $HOME/.owon-vds-tiny once the application is launched.

To debug, run owon-vds-tiny from a console.
To fully uninstall, open your application manager and select "owon-vds-tiny" or "OWON VDS1022"

macOS (64 bits Intel and ARM Apple silicon)

Open a terminal window in this folder (without Rosetta) and execute sudo bash install-mac.sh .

The script simply writes the files into /Applications/OWON VDS1022 .
User settings are stored in ~/Library/Application Support/OWON VDS1022.
To debug, run /Applications/OWON VDS1022.app/Contents/MacOS/launch from a console.
To fully uninstall, delete /Applications/OWON VDS1022 and ~/Library/Application Support/OWON VDS1022

Calibration

The device can be calibrated either automatically (Home/Utility/Auto-Calibrate) or manually (F2). The Auto-Calibrate adjusts the zero offset/amplitude but not the gain since it requires a reference voltage.

If you wish to calibrate the device manually then:

  • Disconnect the probes
  • Press F2 to open the calibration dialog
  • Select the Zero compensation tab
  • For each voltage, adjust the calibration as to obtain a 0v signal
  • Select the Zero amplitude tab
  • For each voltage, adjust the calibration as to obtain a 0v signal
  • Select the Gain tab
  • For each voltage, connect the probe to a reference voltage and adjust the calibration

The factory calibration is stored directly in the device in the flash memory.
The current calibration is stored in the user folder as "VDS1022xxxxxx-cals.json".

API

This project provides a Python API to directly communicate with the device.
It can be used for data logging or to analyse and visualise the samples in a Jupyter Notebook.
The code and examples are available in the api/python folder.

To install the vds1022 module, run:

pip install api/python

Simple measure :

from vds1022 import *

dev = VDS1022()
dev.set_timerange('20ms')
dev.set_channel(CH1, range='50v', coupling='DC', offset='0v', probe='x10')

for ch1, ch2 in dev.pull_iter(freq=1, autorange=True) :
    print('Vrms:%s' % ch1.rms())

Plotting in a Jupyter notebook:

from vds1022 import *

dev = VDS1022(debug=False)
dev.set_timerange('5ms')
dev.set_channel(CH1, range='10v', coupling=DC, offset=0, probe='x10')
dev.set_channel(CH2, range='10v', coupling=DC, offset=0, probe='x10')
dev.set_trigger(CH1, EDGE, RISE, position=0.5, level='0v', sweep=ONCE)
frames = dev.pull()
frames.plot()

jupyter-plot

SCPI Protocol

This device supports the SCPI protocol once the application is lauched and running.
The server is off by default. Go to Utility to enable it.

Safety

This scope can measure 40v peak to peak with a 1x probe and 400v with a 10x probe.
The max input voltage is 40v for the VDS1022 and 400v for the isolated version (VDS1022i).

Since 230v AC RMS is 650v peak to peak, you can't analyse the main with a 10x probe.
To safely probe the main, use a 100x probe and only connect the ground of the probes to ground/earth.
To safely probe between two potentials, even if it's a Neutral, either use two probes and substract the waves (Math menu) or use a differential probe.

You shouldn't connect the ground of the probe to a potential unless you know exacly what you are doing. You'll have to make sure that it doesn't loop back to the main ground/earth thought the computer power supply if connected. Also, check that it's properly isolated from your oscilloscope and computer/laptop case if the applied voltage is not safe. It should be the case with the isolated version (VDS1022i). Be also aware that the channels have a common ground which would create a short if connected to two different voltages. If you want to know more on the subject, search for "ground loop oscilloscope" and "earthing system".

Changes

See changes.txt

Donation

If you like it and want to support its development, you can buy me a beer.

paypal

空文件

简介

Unofficial release for the OWON VDS1022/I Oscilloscope 展开 收起
取消

发行版

暂无发行版

贡献者

全部

近期动态

加载更多
不能加载更多了
Python
1
https://gitee.com/LILLIPUT/OWON-VDS1022.git
git@gitee.com:LILLIPUT/OWON-VDS1022.git
LILLIPUT
OWON-VDS1022
OWON-VDS1022
master

搜索帮助