Author Topic: UltraDMM Software Project  (Read 159142 times)

0 Members and 1 Guest are viewing this topic.

Offline BThunderWTopic starter

  • Regular Contributor
  • *
  • Posts: 118
  • Country: ca
Re: UltraDMM Software Project
« Reply #150 on: April 18, 2013, 11:39:39 pm »
Just a quick update. The UNI-T UD-D04 USB cable came in today so I'll be adding USB support for the USB UNI-T meters soon.
 

Offline fake-name

  • Regular Contributor
  • *
  • Posts: 75
Re: UltraDMM Software Project
« Reply #151 on: April 19, 2013, 06:10:05 am »
Realtime graphing with lots of data points is very hairy.

The trick is to preserve the graph history as an image, rather then as a dataset. That way, each graph update is just an image operation (adding an additional row of pixels to plot too), and an alpha composition (adding the new data).

Adjusting the scaling would either require completely regenerating the image, or a simple image transformation. The former would be pixel-perfect, but extremely CPU intensive. The later would be very cheap, from a CPU perspective, but you wouldn't be able to zoom in on the data, as it's pixel-based, not the raw data.

 

Offline BThunderWTopic starter

  • Regular Contributor
  • *
  • Posts: 118
  • Country: ca
Re: UltraDMM Software Project
« Reply #152 on: May 03, 2013, 03:57:23 am »
Ugh. Ran into an issue with the cable. Just like the Victor USB cable, the data is scrambled and it'll take some time to reverse engineer. I really have no idea why the do this on the USB cables since the meter transmits the data in plain text and it's non issue on serial cables.
 

Offline tridentsx

  • Regular Contributor
  • *
  • Posts: 101
  • Country: us
Re: UltraDMM Software Project
« Reply #153 on: May 04, 2013, 05:07:25 am »

Have you looked at the sigrok project ? They have a library that abstracts the interface towards a multitude of test gear including many different dmm.  Http://Www.sigrok.org

There is also qtdmm2 doing something similar to this project http://www.mtoussaint.de/cdmm/doc/index.html

 

Offline BThunderWTopic starter

  • Regular Contributor
  • *
  • Posts: 118
  • Country: ca
Re: UltraDMM Software Project
« Reply #154 on: July 01, 2013, 04:20:08 am »
Ok guys. I'm really stuck with this UT-04 cable. I got the data decoded no problem. The unresolved issue is that in order for the cable to properly send data to UltraDMM, it requires some sort of command sent to it. The official UT61E program sends something to the device to cause it start sending data. My program will only properly receive data AFTER the official program has been ran.

Still trying to figure out what that command is.
 

Offline Harvs

  • Super Contributor
  • ***
  • Posts: 1204
  • Country: au
Re: UltraDMM Software Project
« Reply #155 on: July 01, 2013, 08:40:39 am »
Ok guys. I'm really stuck with this UT-04 cable. I got the data decoded no problem. The unresolved issue is that in order for the cable to properly send data to UltraDMM, it requires some sort of command sent to it. The official UT61E program sends something to the device to cause it start sending data. My program will only properly receive data AFTER the official program has been ran.

Still trying to figure out what that command is.

Since it's a USB device, why not just use USBPcap with Wireshark to capture everything from a session with the official program and have a look for the mystery packet.
 

Offline BThunderWTopic starter

  • Regular Contributor
  • *
  • Posts: 118
  • Country: ca
Re: UltraDMM Software Project
« Reply #156 on: July 01, 2013, 01:43:40 pm »
Interesting. Didn't occur to me that you can intercept Host to device USB communication. I'll check it out. Thanks.
 

Offline Harvs

  • Super Contributor
  • ***
  • Posts: 1204
  • Country: au
Re: UltraDMM Software Project
« Reply #157 on: July 01, 2013, 01:58:46 pm »
Yep, works a treat... And it's free.
 

Offline Hagis2k

  • Regular Contributor
  • *
  • Posts: 64
  • Country: se
Re: UltraDMM Software Project
« Reply #158 on: February 08, 2014, 10:45:54 pm »
Been some while since there was any activity here in this thread...

Is there any news yet on the usb cable and when it will be supported? :)

Thanks for your work so far i like the looks of this far more then uni-t software!
 

Offline BThunderWTopic starter

  • Regular Contributor
  • *
  • Posts: 118
  • Country: ca
Re: UltraDMM Software Project
« Reply #159 on: February 11, 2014, 12:10:18 am »
Haven't really made much progress on the USB front, will see if I can take another stab at it. In the meantime I got a request to implement another chipset so will be releasing an updated version soon.
 

Offline mariush

  • Super Contributor
  • ***
  • Posts: 5251
  • Country: ro
  • .
Re: UltraDMM Software Project
« Reply #160 on: February 11, 2014, 01:22:43 am »
Cool, you're still around :)

I had the opportunity to use UltraDMM again because the Uni-T software kept crashing after 30 minutes on an old system... an old laptop (ibm t40, single core centrino 1.5 ghz, 2 gb memory, 40gb ide hdd)

It worked fine, at least the part that I used (I don't remember if the graphs worked or if I tested them).

Maybe you can add some options when exporting, for example exporting to csv or tab delimited text.
If you have to stick with just xml, maybe add some option to split log in < 65535 records files (and have those files numbered incrementally).

I recently did some measurements and the xml file wasn't imported correctly by libre office so i had to install an old copy of office 2003 just to convert the file to csv or tab delimited data. But excel in office 2003 crapped out after 65535 records so i had to manually cut the xml in several smaller xml files.

Also, when I was trying to export the data, the export kept aborting with an error message saying the grid view has changed - I think this happens because the laptop hard drive was slow and while writing the large file, enough new records were accumulating to change the gridview on screen.
I had to pull out the optical receiver from the meter to get the export finalized.

If it would help with such situations, it would be nice to be able to choose the columns I want to be exported (in the hope that smaller xml file = faster save to disk = no abort or errors.

Oh yeah. Between measurements I also tried to prevent that problem with the error, by exporting the log once I thought the size would reach around 50 MB.

However, even though the results are cleared from the screen/grid in the meter log using the button, they still remain in memory because after several hours when I tried to do another export, this export had the results in the gridview AND the previous batch of records I cleared.

I guess these issues are not so obvious on modern systems that run fast but who knows, maybe if you have time you can improve on these.
The fail export due to grid change may be worth looking into, especially as people could start to use multiple meters with multiple readings per second gathering in the log, changing the gridview.
 

Offline BThunderWTopic starter

  • Regular Contributor
  • *
  • Posts: 118
  • Country: ca
Re: UltraDMM Software Project
« Reply #161 on: February 11, 2014, 05:16:08 pm »
I will add the option to export to CSV along side exporting to Excel. Will also fix the error when exporting large files.

Additionally, I made some progress getting the USB cable to talk. Should have a working implementation of the USB UT61-E very soon.



 

Offline mariush

  • Super Contributor
  • ***
  • Posts: 5251
  • Country: ro
  • .
Re: UltraDMM Software Project
« Reply #162 on: February 11, 2014, 06:07:57 pm »
Depending on how you code the export, regional settings may screw up the csv file (some countries use "," instead of "." for numbers or to group digits for ex 12,345.67) - maybe tab separated would be better, more compatible. They're supported by both Excel and Libre Office and I don't think there's a chance to get a tab accidentally in the column data.
And exporting to Excel (if you mean something different than the current xml).. i won't care but hopefully it won't add dependencies to existing office libraries.

But really anything is better than nothing, and thank you for adding something.
 

Offline BThunderWTopic starter

  • Regular Contributor
  • *
  • Posts: 118
  • Country: ca
Re: UltraDMM Software Project
« Reply #163 on: February 12, 2014, 02:30:23 am »
Anyone want to take the latest version out for a spin?

+ Added USB support for UT61E (and untested UT71)
+ Tab Delimited File Export
Fixed few minor bugs

http://www.ultradmm.com/release/wip/UltraDMMPatch.zip
Just unzip over existing installation

Feedback would be greatly appreciated.

Cheers,

Tom


 

Offline aroby

  • Regular Contributor
  • *
  • Posts: 221
  • Country: us
Re: UltraDMM Software Project
« Reply #164 on: February 12, 2014, 02:55:31 am »
Anyone want to take the latest version out for a spin?

+ Added USB support for UT61E (and untested UT71)
...

Feedback would be greatly appreciated.

Awesome - I just got one of these with the USB cable!  I'll have a play around with it at the weekend.

Anthony
 

Offline Hagis2k

  • Regular Contributor
  • *
  • Posts: 64
  • Country: se
Re: UltraDMM Software Project
« Reply #165 on: February 14, 2014, 12:18:49 pm »
Thanks for your hard work but is it possible to turn usb mode on to the ut-61d too i assume they use same protocol too? because i have the FS9922-DMM4 chip in the voltcraft vc-850 i tried your update and my meter isn't yet supported but don't hurry take your time! :)

Thanks a lot !
 

Offline BThunderWTopic starter

  • Regular Contributor
  • *
  • Posts: 118
  • Country: ca
Re: UltraDMM Software Project
« Reply #166 on: February 14, 2014, 01:08:50 pm »
Assuming it uses the same cable as the UT61E, it'll be very easy to add support. Stay tuned.
 

Offline Hagis2k

  • Regular Contributor
  • *
  • Posts: 64
  • Country: se
Re: UltraDMM Software Project
« Reply #167 on: February 14, 2014, 11:23:17 pm »
Yes you are right its the same cable so i thought like it wouldn't be that hard to get the rest of uni-t meters with fs9922-dmm4 mine uses the ut-d04 cable :)

Just wanted to say thanks for your hard work i can't believe that uni-t and all the other rebadged brands dont take the time to do a real software...
 

Offline aroby

  • Regular Contributor
  • *
  • Posts: 221
  • Country: us
Re: UltraDMM Software Project
« Reply #168 on: February 16, 2014, 04:25:36 pm »
Anyone want to take the latest version out for a spin?

+ Added USB support for UT61E (and untested UT71)
+ Tab Delimited File Export
Fixed few minor bugs

Feedback would be greatly appreciated.

I tried this out briefly.  I found that when I added gauges, only the first one I added (the digital gauge) worked.  I had to save the workspace and restart the software for the others to work.  Once I did that, it seemed to be fine,. but I didn't play around with it for long.

If you unplug the USB cable while the software is running, it crashes.

Thanks

Anthony
 

Offline Wytnucls

  • Super Contributor
  • ***
  • Posts: 3045
  • Country: be
Re: UltraDMM Software Project
« Reply #169 on: February 16, 2014, 05:21:38 pm »
I was willing to try it out with a UT71D, but the application doesn't load under windows 7.
Perhaps some missing files.
 

Offline BThunderWTopic starter

  • Regular Contributor
  • *
  • Posts: 118
  • Country: ca
Re: UltraDMM Software Project
« Reply #170 on: February 16, 2014, 06:07:53 pm »
There's no error? Does the previous version load for you?

 

Offline Wytnucls

  • Super Contributor
  • ***
  • Posts: 3045
  • Country: be
Re: UltraDMM Software Project
« Reply #171 on: February 16, 2014, 06:57:05 pm »
First version worked, the patch corrupts something.
Can you link the full program without a patch?
 

Offline BThunderWTopic starter

  • Regular Contributor
  • *
  • Posts: 118
  • Country: ca
Re: UltraDMM Software Project
« Reply #172 on: February 17, 2014, 06:45:15 pm »
Updated: http://www.ultradmm.com/release/wip/UltraDMMPatch.zip

This patch includes all binaries.
Fixed Multiple Gauge per meter Bug
Added USB support for UT71 Series (needs testing, don't have this meter)
Fixed USB Disconnect crash

 

Offline Wytnucls

  • Super Contributor
  • ***
  • Posts: 3045
  • Country: be
Re: UltraDMM Software Project
« Reply #173 on: February 17, 2014, 07:24:32 pm »
The program loads now, but it doesn't see the 71D meter. I checked that the 71D works fine on the Uni-T software.
 

Offline BThunderWTopic starter

  • Regular Contributor
  • *
  • Posts: 118
  • Country: ca
Re: UltraDMM Software Project
« Reply #174 on: February 17, 2014, 07:59:12 pm »
Any chance you can confirm that the UT71D uses ES51922 chip and the cable is the same as UT61E?

You should have this device in your Device Manager / USB Input Device list




The program loads now, but it doesn't see the 71D meter. I checked that the 71D works fine on the Uni-T software.
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf