\( \renewcommand{\renewcommand}{} \)

Author Topic: UltraDMM Software Project  (Read 55017 times)

0 Members and 1 Guest are viewing this topic.

Offline BThunderW

  • Regular Contributor
  • *
  • Posts: 108
  • Country: ca
    • Tom's Brain Dump
UltraDMM Software Project
« on: September 02, 2012, 05:52:44 AM »
About a month ago I purchased a couple of Uni-Trend UT61E meters. Based on some feedback here, these seemed like decent units to have for some light EE work. Unfortunately the software that came with the meters was *lacking* so I decided to write my own.

I originally posted in this http://www.eevblog.com/forum/product-reviews-photos-and-discussion/uni-t-ut61e-multimeter-teardown-photos/msg137030/#msg137030



The full feature list of the program can be found here: http://www.ultradmm.com

The software is mostly functional now, barring some minor bugs. What I would like to do is get a confirmation of which meters in the list work as I currently only have the UT61E.

The meters currently supported are with the ES51922 Chip and the FS9922DMM4 chip. The implementation was of course taken from documentation of the chip, so I'd really appreciate confirmation that the supported meters actually do work.

The next step is to expand the supported multimeter list so if you have a meter that you'd like to see enhanced, or even if you have a meter that works with the existing chips please post here so I can add them to the supported meters list.

I'd appreciate any feedback, good or bad, feature requests, etc.

Current version: 1.0.2 can be grabbed here: www.ultradmm.com/release/1.0.2/udmm.msi

Tom




« Last Edit: September 02, 2012, 05:58:52 AM by BThunderW »
 

Offline T4P

  • Super Contributor
  • ***
  • Posts: 3706
  • Country: sg
    • T4P
Re: UltraDMM Software Project
« Reply #1 on: September 02, 2012, 05:57:08 AM »
In about 1 or 2 months i should be able to get myself a MS8218 and a VC8145 along with the 86E for testing as well ( I assume it's really the cyrustek chip )
This is going to be much fun  ;D ;D ;D ;D
http://the4thpin.comeze.com <-- Rants and Reviews! sorry my english  :palm:
 

Offline Monkeh

  • Super Contributor
  • ***
  • Posts: 3792
  • Country: gb
Re: UltraDMM Software Project
« Reply #2 on: September 02, 2012, 06:27:38 AM »
Code: [Select]
System.ApplicationException: Uknown Model Name
   at DataReader.Reader.GetMeter(String Model, String ComPort, Int32 Baud)
   at Meters.Meter..ctor(String Model, String ComPort, Int32 Baud, String Name)
   at Meters.frmEditMeter.btnSave_Click(Object sender, EventArgs e)
   at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
   at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
   at System.Windows.Forms.Control.WndProc(Message& m)
   at System.Windows.Forms.ButtonBase.WndProc(Message& m)
   at System.Windows.Forms.Button.WndProc(Message& m)
   at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

Is no good.
 

Offline BThunderW

  • Regular Contributor
  • *
  • Posts: 108
  • Country: ca
    • Tom's Brain Dump
Re: UltraDMM Software Project
« Reply #3 on: September 02, 2012, 06:45:11 AM »
Yeah. Noticed that. Will fix in a bit. Last minute change I should have tested.

Tom


Code: [Select]
System.ApplicationException: Uknown Model Name
   at DataReader.Reader.GetMeter(String Model, String ComPort, Int32 Baud)
   at Meters.Meter..ctor(String Model, String ComPort, Int32 Baud, String Name)
   at Meters.frmEditMeter.btnSave_Click(Object sender, EventArgs e)
   at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
   at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
   at System.Windows.Forms.Control.WndProc(Message& m)
   at System.Windows.Forms.ButtonBase.WndProc(Message& m)
   at System.Windows.Forms.Button.WndProc(Message& m)
   at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

Is no good.
 

Offline BThunderW

  • Regular Contributor
  • *
  • Posts: 108
  • Country: ca
    • Tom's Brain Dump
Re: UltraDMM Software Project
« Reply #4 on: September 02, 2012, 07:02:07 AM »
Fixed.
 

Offline Monkeh

  • Super Contributor
  • ***
  • Posts: 3792
  • Country: gb
Re: UltraDMM Software Project
« Reply #5 on: September 02, 2012, 08:52:54 AM »
Doesn't want to listen to my FS9922 meter at all.

Can you add a debug panel to see raw data off the COM port and the specific settings?

E: Can you not cut digits off? ie. 1.0780V becoming 1.078V. It makes things hard to read when the number of digits is jumping around.
« Last Edit: September 02, 2012, 09:03:05 AM by Monkeh »
 

Online Mechatrommer

  • Super Contributor
  • ***
  • Posts: 6724
  • Country: my
  • reassessing directives...
Re: UltraDMM Software Project
« Reply #6 on: September 02, 2012, 09:00:17 AM »
10 MBytes? my speed here is 45 minutes download for that. i wish i could test it for my UT71A but until i have comformal that i wont downloading java, netbean or directx17 crap that wont run in WinXP.
if something can select, how cant it be intelligent? if something is intelligent, how cant it exist?
 

Offline Monkeh

  • Super Contributor
  • ***
  • Posts: 3792
  • Country: gb
Re: UltraDMM Software Project
« Reply #7 on: September 02, 2012, 09:05:23 AM »
10 MBytes? my speed here is 45 minutes download for that. i wish i could test it for my UT71A but until i have comformal that i wont downloading java, netbean or directx17 crap that wont run in WinXP.

Sucks to be stuck in the 90s.

It requires .NET Framework 4.0. That's all.
 

Online David_AVD

  • Super Contributor
  • ***
  • Posts: 2466
  • Country: au
Re: UltraDMM Software Project
« Reply #8 on: September 02, 2012, 09:43:07 AM »
It does have a boat load of files.  Not sure why.  Can't it be done with pretty much just one exe file?
 

Offline Monkeh

  • Super Contributor
  • ***
  • Posts: 3792
  • Country: gb
Re: UltraDMM Software Project
« Reply #9 on: September 02, 2012, 09:57:16 AM »
It does have a boat load of files.  Not sure why.  Can't it be done with pretty much just one exe file?

Not really, seeing as those are libraries he is, apparently, using.

Infragistics is, apparently, quite huge.
« Last Edit: September 02, 2012, 10:02:40 AM by Monkeh »
 

Offline BThunderW

  • Regular Contributor
  • *
  • Posts: 108
  • Country: ca
    • Tom's Brain Dump
Re: UltraDMM Software Project
« Reply #10 on: September 02, 2012, 10:18:00 AM »
Indeed. I can probably slim down the release by removing the unneeded libraries. I simply included the entire Infragistics library. I just haven't considered 10MB a huge release.


It does have a boat load of files.  Not sure why.  Can't it be done with pretty much just one exe file?

Not really, seeing as those are libraries he is, apparently, using.

Infragistics is, apparently, quite huge.
 

Offline Monkeh

  • Super Contributor
  • ***
  • Posts: 3792
  • Country: gb
Re: UltraDMM Software Project
« Reply #11 on: September 02, 2012, 10:25:16 AM »
Indeed. I can probably slim down the release by removing the unneeded libraries. I simply included the entire Infragistics library. I just haven't considered 10MB a huge release.


It does have a boat load of files.  Not sure why.  Can't it be done with pretty much just one exe file?

Not really, seeing as those are libraries he is, apparently, using.

Infragistics is, apparently, quite huge.

It isn't really, but.. efficiency.

Get a new installer package, too. The compression is lacking, and having to manually uninstall to upgrade sucks.
 

Offline BThunderW

  • Regular Contributor
  • *
  • Posts: 108
  • Country: ca
    • Tom's Brain Dump
Re: UltraDMM Software Project
« Reply #12 on: September 02, 2012, 10:27:13 AM »
Yeah. Using Visual Studio 2012 and Microsoft in their infinite wisdom remove the Setup Project from Visual Studio.

I guess for now I can just release the bug fix releases as a zip file so you can just overwrite the install files.

Sounds good?

Tom
 

Offline Monkeh

  • Super Contributor
  • ***
  • Posts: 3792
  • Country: gb
Re: UltraDMM Software Project
« Reply #13 on: September 02, 2012, 10:27:49 AM »
Yeah. Using Visual Studio 2012 and Microsoft in their infinite wisdom remove the Setup Project from Visual Studio.

I guess for now I can just release the bug fix releases as a zip file so you can just overwrite the install files.

Sounds good?

Tom

7z please, let's have some LZMA here. ;)
 

Online Mechatrommer

  • Super Contributor
  • ***
  • Posts: 6724
  • Country: my
  • reassessing directives...
Re: UltraDMM Software Project
« Reply #14 on: September 02, 2012, 10:40:36 AM »
Sucks to be stuck in the 90s.
It requires .NET Framework 4.0. That's all.
every youngs want to move to big city i prefer stay in the village, its more peaceful here. i believe net4 is not bad at all, i think i can download the update later.
if something can select, how cant it be intelligent? if something is intelligent, how cant it exist?
 

Offline BThunderW

  • Regular Contributor
  • *
  • Posts: 108
  • Country: ca
    • Tom's Brain Dump
Re: UltraDMM Software Project
« Reply #15 on: September 02, 2012, 12:53:27 PM »
Ok. Iterim update released

http://www.ultradmm.com/release/wip/UltraDMM.7z

Just unzip and run UltraDMM.exe. No installer with this required.

Changes:

* Added Raw Output Log, shows raw data directly from configured meter.
* Added Error logging to Application Log. Should show any issues talking to FS9922
* Trimmed trailing zeros in digital gauge
* Removed a lot of Infragistics libraries. Size of download down to ~3.7MB. Looks like it still runs for me.
* Fixed registry write error on 32Bit Windows version.
* 7Zip!

Tom

 

Offline Monkeh

  • Super Contributor
  • ***
  • Posts: 3792
  • Country: gb
Re: UltraDMM Software Project
« Reply #16 on: September 02, 2012, 12:56:34 PM »
* Trimmed trailing zeros in digital gauge

I'm hoping you mean stopped trimming trailing zeros.
 

Offline BThunderW

  • Regular Contributor
  • *
  • Posts: 108
  • Country: ca
    • Tom's Brain Dump
Re: UltraDMM Software Project
« Reply #17 on: September 02, 2012, 12:58:00 PM »
LOL. I guess I misread that. Give me 5 minutes :)

Tom

* Trimmed trailing zeros in digital gauge

I'm hoping you mean stopped trimming trailing zeros.
 

Offline Monkeh

  • Super Contributor
  • ***
  • Posts: 3792
  • Country: gb
Re: UltraDMM Software Project
« Reply #18 on: September 02, 2012, 01:00:00 PM »
LOL. I guess I misread that. Give me 5 minutes :)

Tom

* Trimmed trailing zeros in digital gauge

I'm hoping you mean stopped trimming trailing zeros.

Yeah. It was already trimming, which is.. awkward to read. Maintaining the same number of digits makes it much easier to read when it's changing.

It also does that in the meter log.
 

Offline BThunderW

  • Regular Contributor
  • *
  • Posts: 108
  • Country: ca
    • Tom's Brain Dump
Re: UltraDMM Software Project
« Reply #19 on: September 02, 2012, 01:08:38 PM »
Indeed. Updated.

Cheers,

Tom

LOL. I guess I misread that. Give me 5 minutes :)

Tom

* Trimmed trailing zeros in digital gauge

I'm hoping you mean stopped trimming trailing zeros.

Yeah. It was already trimming, which is.. awkward to read. Maintaining the same number of digits makes it much easier to read when it's changing.

It also does that in the meter log.
 

Offline Monkeh

  • Super Contributor
  • ***
  • Posts: 3792
  • Country: gb
Re: UltraDMM Software Project
« Reply #20 on: September 02, 2012, 01:10:06 PM »
I'll take a look at it when I arrive in front of a Windows machine again tomorrow.
 

Online David_AVD

  • Super Contributor
  • ***
  • Posts: 2466
  • Country: au
Re: UltraDMM Software Project
« Reply #21 on: September 02, 2012, 01:41:00 PM »
Link is bad?
 

Offline BThunderW

  • Regular Contributor
  • *
  • Posts: 108
  • Country: ca
    • Tom's Brain Dump
Re: UltraDMM Software Project
« Reply #22 on: September 02, 2012, 01:44:48 PM »
Doh. Stupid IIS blocks unknown file extensions.  Fixed.


Link is bad?
 

Offline Monkeh

  • Super Contributor
  • ***
  • Posts: 3792
  • Country: gb
Re: UltraDMM Software Project
« Reply #23 on: September 02, 2012, 10:11:18 PM »
Doh. Stupid IIS blocks unknown file extensions.  Fixed.


Link is bad?

IIS? Really?
 

Offline Monkeh

  • Super Contributor
  • ***
  • Posts: 3792
  • Country: gb
Re: UltraDMM Software Project
« Reply #24 on: September 02, 2012, 11:15:13 PM »
Much better.

Getting timeouts on the FS9922: 2012-09-02 14:09:02 : Error: Meter 2:The operation has timed out.:   at System.IO.Ports.SerialPort.ReadTo(String value)
   at DataReader.FS9922DMM4._Listener()

Try bringing DTR high if you're not already.
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf