Author Topic: UltraDMM Software Project  (Read 131166 times)

0 Members and 1 Guest are viewing this topic.

Offline BThunderWTopic starter

  • Regular Contributor
  • *
  • Posts: 118
  • Country: ca
UltraDMM Software Project
« on: September 01, 2012, 07:52:44 pm »
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 https://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 01, 2012, 07:58:52 pm by BThunderW »
 

Offline T4P

  • Super Contributor
  • ***
  • Posts: 3697
  • Country: sg
    • T4P
Re: UltraDMM Software Project
« Reply #1 on: September 01, 2012, 07:57:08 pm »
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
 

Online Monkeh

  • Super Contributor
  • ***
  • Posts: 7990
  • Country: gb
Re: UltraDMM Software Project
« Reply #2 on: September 01, 2012, 08:27:38 pm »
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 BThunderWTopic starter

  • Regular Contributor
  • *
  • Posts: 118
  • Country: ca
Re: UltraDMM Software Project
« Reply #3 on: September 01, 2012, 08:45:11 pm »
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 BThunderWTopic starter

  • Regular Contributor
  • *
  • Posts: 118
  • Country: ca
Re: UltraDMM Software Project
« Reply #4 on: September 01, 2012, 09:02:07 pm »
Fixed.
 

Online Monkeh

  • Super Contributor
  • ***
  • Posts: 7990
  • Country: gb
Re: UltraDMM Software Project
« Reply #5 on: September 01, 2012, 10:52:54 pm »
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 01, 2012, 11:03:05 pm by Monkeh »
 

Offline Mechatrommer

  • Super Contributor
  • ***
  • Posts: 11534
  • Country: my
  • reassessing directives...
Re: UltraDMM Software Project
« Reply #6 on: September 01, 2012, 11:00:17 pm »
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.
Nature: Evolution and the Illusion of Randomness (Stephen L. Talbott): Its now indisputable that... organisms “expertise” contextualizes its genome, and its nonsense to say that these powers are under the control of the genome being contextualized - Barbara McClintock
 

Online Monkeh

  • Super Contributor
  • ***
  • Posts: 7990
  • Country: gb
Re: UltraDMM Software Project
« Reply #7 on: September 01, 2012, 11:05:23 pm »
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.
 

Offline David_AVD

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

Online Monkeh

  • Super Contributor
  • ***
  • Posts: 7990
  • Country: gb
Re: UltraDMM Software Project
« Reply #9 on: September 01, 2012, 11:57:16 pm »
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, 12:02:40 am by Monkeh »
 

Offline BThunderWTopic starter

  • Regular Contributor
  • *
  • Posts: 118
  • Country: ca
Re: UltraDMM Software Project
« Reply #10 on: September 02, 2012, 12: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.
 

Online Monkeh

  • Super Contributor
  • ***
  • Posts: 7990
  • Country: gb
Re: UltraDMM Software Project
« Reply #11 on: September 02, 2012, 12: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 BThunderWTopic starter

  • Regular Contributor
  • *
  • Posts: 118
  • Country: ca
Re: UltraDMM Software Project
« Reply #12 on: September 02, 2012, 12: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
 

Online Monkeh

  • Super Contributor
  • ***
  • Posts: 7990
  • Country: gb
Re: UltraDMM Software Project
« Reply #13 on: September 02, 2012, 12: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. ;)
 

Offline Mechatrommer

  • Super Contributor
  • ***
  • Posts: 11534
  • Country: my
  • reassessing directives...
Re: UltraDMM Software Project
« Reply #14 on: September 02, 2012, 12: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.
Nature: Evolution and the Illusion of Randomness (Stephen L. Talbott): Its now indisputable that... organisms “expertise” contextualizes its genome, and its nonsense to say that these powers are under the control of the genome being contextualized - Barbara McClintock
 

Offline BThunderWTopic starter

  • Regular Contributor
  • *
  • Posts: 118
  • Country: ca
Re: UltraDMM Software Project
« Reply #15 on: September 02, 2012, 02:53:27 am »
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

 

Online Monkeh

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

I'm hoping you mean stopped trimming trailing zeros.
 

Offline BThunderWTopic starter

  • Regular Contributor
  • *
  • Posts: 118
  • Country: ca
Re: UltraDMM Software Project
« Reply #17 on: September 02, 2012, 02:58:00 am »
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.
 

Online Monkeh

  • Super Contributor
  • ***
  • Posts: 7990
  • Country: gb
Re: UltraDMM Software Project
« Reply #18 on: September 02, 2012, 03:00:00 am »
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 BThunderWTopic starter

  • Regular Contributor
  • *
  • Posts: 118
  • Country: ca
Re: UltraDMM Software Project
« Reply #19 on: September 02, 2012, 03:08:38 am »
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.
 

Online Monkeh

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

Offline David_AVD

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

Offline BThunderWTopic starter

  • Regular Contributor
  • *
  • Posts: 118
  • Country: ca
Re: UltraDMM Software Project
« Reply #22 on: September 02, 2012, 03:44:48 am »
Doh. Stupid IIS blocks unknown file extensions.  Fixed.


Link is bad?
 

Online Monkeh

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


Link is bad?

IIS? Really?
 

Online Monkeh

  • Super Contributor
  • ***
  • Posts: 7990
  • Country: gb
Re: UltraDMM Software Project
« Reply #24 on: September 02, 2012, 01: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