https://github.com/inflex/duratool-d03312
Duratool Multimeter OSD / OpenBoardData tool
https://github.com/inflex/duratool-d03312
Last synced: about 1 month ago
JSON representation
Duratool Multimeter OSD / OpenBoardData tool
- Host: GitHub
- URL: https://github.com/inflex/duratool-d03312
- Owner: inflex
- License: bsd-3-clause
- Created: 2022-09-22T14:44:18.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2022-09-26T09:15:42.000Z (over 3 years ago)
- Last Synced: 2025-03-22T08:48:30.061Z (about 1 year ago)
- Language: C++
- Size: 1.83 MB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# PREFACE
This is a simple OSD for the PowerTech/Duratech D03312 type hand held multimeter.
Included in this software is the ability to generate the mmdata.txt file which is used for the OpenBoardData capture in FlexBV. Use the '-om' parameter to activate this.
A linux version of this software would be very easy to make, the only change would be the serial port related code (setup and data acquisition).
This code works in Windows 10.
# Duratool / PowerTech multimeter D03312
GUI windowed application
# Requirements
If you want to build this software on Windows, you'll require MinGW https://sourceforge.net/projects/mingw-w64/
# Setup
1) Build binary ( Linux mingw64 install required, or mingw64 for Windows)
Linux build: make -f Makefile.sdl2
Windows build on linux: make Duratool-D03312
An example of compiling on Windows using mingw-w64 would be:
mingw32-make -f Makefile.win Duratool-D03312
2) Run from the command line
Duratool-D03312.exe
# Usage
Duratool-D03312 [-p ] [-s ] [-m] [-fn ] [-fc <#rrggbb>] [-fw ] [-bc <#rrggbb>] [-wx ] [-wy ] [-d] [-q]
-h: This help
-p : Set the com port for the meter, eg: -p 2
-s <[9600|4800|2400|1200]:[7|8][o|e|n][1|2]>, eg: -s 2400:7o1
-m: show multimeter mode (second line of text)
-z: Font size (default 72, max 256pt)
-fn : Font name (default 'Andale')
-fc <#rrggbb>: Font colour
-bc <#rrggbb>: Background colour
-fw : Font weight, typically 100-to-900 range
-wx : Force Window width (normally calculated based on font size)
-wy : Force Window height
-d: debug enabled
-q: quiet output
-v: show version
-om []: Path to write the mmdata.txt file. Omit and it will write in the present folder.
Defaults: -s 9600:8n1 -z 72 -fc #10ff10 -bc #000000 -fw 600 -fn Andale
example: Duratool-D03312.exe -z 120 -p 4 -m -fc #ff1010 -bc #000000 -fw 600 -om