Viewing XML buffer data in Excel

Here are a few comments on this version of the application.

  • The spectrum analyzer is pretty cool, but it needs grids and axis labels.
  • The waveform flickers when it’s redrawn. You should use double buffering.
  • The waveform axis labels (voltage and time) should change when the offsets change, but they don’t.
  • The intention of the MDI model is to have multiple documents (multiple XML files open at the same time), not just multiple windows.
  • There’s a reason that Windows has theming support. As much as possible, you should attempt to adhere to the Windows appearance preferences selected by the user instead of overriding them. In short, not everyone wants their windows to be blue and pink.
  • You should be using Subversion and the Google Code release system. Immediate advantages are that you’d have an actual website instead of scattered forum posts, you’d have backups and the ability to revert any local accidents, other developers would be able to see your source instead of just guessing at what you’re doing from the binaries, etc. There are many tutorials such as this one - http://www.shokhirev.com/nikolai/programs/SVN/svn.html - for beginner developers to learn how to use source control. I’d be interested in looking at the most current version of your source, and Subversion is the easiest way to do it.
  • Excel export doesn’t work. It says that the provider is not registered on the local machine. This might be caused by compiling for AnyCPU or x64 instead of x86, though I didn’t check your binary target.
  • Here’s what your Matlab code looks like when it’s exported:

attenuation = x1; fileNumber = 'S001'; firmware = 'V3.61'; sampleCount = 4098; sampleDiv = 5 ms; timeDiv = 5 ms; timeRange = 0.8196; triggerIndex = 1374; triggerKind = 'EdgeRising'; triggerLevel = 78 mV; triggerMode = 'Auto'; triggerSens = 16 mV;

Attenuation, sampleDiv, timeDiv, triggerLevel and triggerSens should be numbers in scientific notation without any units or other characters. Otherwise it won’t run. The same applies to the Gnuplot export.

Good luck with development, and keep up the good work.