Difference between revisions of "QtDMM"

From Noah.org
Jump to navigationJump to search
m (moved Qtdmm to QtDMM)
m
Line 1: Line 1:
 
[[Category:Engineering]]
 
[[Category:Engineering]]
  
QtDMM is an almost great GUI interface to Digital MultiMeters that have a computer interface. I say it's almost great because it's very simple and slick -- a tiny tool that does a lot -- but it suffers from some glaring flaws that almost make it unusable (but not quite). The worst flaw is that import and export of test data does not work. You can export the data, but it screws up the recorded data by saving every sample with the same date-time stamp -- and without fractions of a second which is critical since you can sample every 100 milliseconds. But you can throw out the time since you know the sample rate and that's usually good enough. Second, you cannot import the data files you export. It always gives an error or the application just crashes with a message that only says "Aborted". Finally, just in general use the application has a tendency to just crash only saying "Aborted"... But the tool is too nice to ignore. One of these days I want to fix these bugs. The first step would be to increase the error logging. There has got to be some way to get it to say something more helpful than "Aborted".
+
QtDMM is a great GUI interface to Digital MultiMeters that have a computer interface. It has a few bugs, but these can be worked around.
 +
 
 +
=== QtDMM Bugs ===
 +
 
 +
It is very important that you build it correctly from source. You need to turn off the FORTIFY flag checking in gcc. See [https://wiki.ubuntu.com/CompilerFlags#FORTIFY%20return%20value%20checking Compiler Flags FORTIFY]
 +
<pre>
 +
./configure BASECFLAGS=-U_FORTIFY_SOURCE
 +
make
 +
</pre>
 +
 
 +
Import and export of test data does not work perfectly. You can export the data, but it screws up the recorded data by saving every sample with the same date-time stamp -- and without fractions of a second which is critical since you can sample every 100 milliseconds. This is not so much of a problem since you at least know the time between samples which is good enough for graphing.
 +
 
 +
== ZMeter alternative ==
  
 
An alternative to QtDMM is ZMeter.
 
An alternative to QtDMM is ZMeter.
Line 8: Line 20:
 
<pre>
 
<pre>
 
aptitude install qt3-dev-tools
 
aptitude install qt3-dev-tools
tar
 
 
export QTDIR=/usr/share/qt3/
 
export QTDIR=/usr/share/qt3/
 
./configure
 
./configure
Line 14: Line 25:
 
</pre>
 
</pre>
  
I use a RadioShack Model #22-812. I'm not normally a fan of anything from RadioShack, but this meter is very inexpensive and it has a very functional RS-232 serial interface.
+
I use a RadioShack Model #22-812. I'm not normally a fan of anything from RadioShack, but this meter is very inexpensive and it has a very useful RS-232 serial interface.

Revision as of 16:30, 3 March 2010


QtDMM is a great GUI interface to Digital MultiMeters that have a computer interface. It has a few bugs, but these can be worked around.

QtDMM Bugs

It is very important that you build it correctly from source. You need to turn off the FORTIFY flag checking in gcc. See Compiler Flags FORTIFY

./configure BASECFLAGS=-U_FORTIFY_SOURCE
make

Import and export of test data does not work perfectly. You can export the data, but it screws up the recorded data by saving every sample with the same date-time stamp -- and without fractions of a second which is critical since you can sample every 100 milliseconds. This is not so much of a problem since you at least know the time between samples which is good enough for graphing.

ZMeter alternative

An alternative to QtDMM is ZMeter.

To build it you need the qt3-dev libraries. Unpack the tarball. Set the QTDIR environment variable! The following is for building under Ubuntu, but other distros are probably not much different:

aptitude install qt3-dev-tools
export QTDIR=/usr/share/qt3/
./configure
make

I use a RadioShack Model #22-812. I'm not normally a fan of anything from RadioShack, but this meter is very inexpensive and it has a very useful RS-232 serial interface.