[UPDATED] Mastech MAS-345 digital multimeter Windows GUI

Hello,

I had some time to improve my software for my MASTECH MAS-345 multimeter. Now it has a lot of features, such as:

  • save/load to an own binary format
  • export to excel own binary format (reloadable)
  • graph (had to change the platform to .NET 4.0)
  • comment and color all measurement
  • check for update (notifies when a more recent version is available)

Here is the screenshot:

Now it’ under GPL.

There might be bugs, so if You notice any fault, you can comment here or use GitHub issue tracker. All precompiled binary versions will be published here:

Release Notes and Downloads:

  • 1.0.0.1 Fixed issue when exporting to Excel (non-english)

 

[ORIGINAL POST]

Share

Comment Pages

There are 16 Comments to "[UPDATED] Mastech MAS-345 digital multimeter Windows GUI"

  • Dieter says:

    Nice Program, but i’ve got a little issue with it…
    I can´t Export the Data to Excel.
    Every time i try it i got an Error Message.

    Like this…
    System.Runtime.InteropServices.COMException (0x8002000B): Ungültiger Index. (Ausnahme von HRESULT: 0x8002000B (DISP_E_BADINDEX))
    bei Microsoft.Office.Interop.Excel.Sheets.get__Default(Object Index)
    bei MAS345_GUI.MainForm.exportHistoryToExcelToolStripMenuItem_Click(Object sender, EventArgs e)
    bei System.Windows.Forms.ToolStripItem.RaiseEvent(Object key, EventArgs e)
    bei System.Windows.Forms.ToolStripMenuItem.OnClick(EventArgs e)
    bei System.Windows.Forms.ToolStripItem.HandleClick(EventArgs e)
    bei System.Windows.Forms.ToolStripItem.HandleMouseUp(MouseEventArgs e)
    bei System.Windows.Forms.ToolStripItem.FireEventInteractive(EventArgs e, ToolStripItemEventType met)
    bei System.Windows.Forms.ToolStripItem.FireEvent(EventArgs e, ToolStripItemEventType met)
    bei System.Windows.Forms.ToolStrip.OnMouseUp(MouseEventArgs mea)
    bei System.Windows.Forms.ToolStripDropDown.OnMouseUp(MouseEventArgs mea)
    bei System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
    bei System.Windows.Forms.Control.WndProc(Message& m)
    bei System.Windows.Forms.ScrollableControl.WndProc(Message& m)
    bei System.Windows.Forms.ToolStrip.WndProc(Message& m)
    bei System.Windows.Forms.ToolStripDropDown.WndProc(Message& m)
    bei System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
    bei System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
    bei System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

    Please Help me…

    I use Excel 2010 Version 14.0.6129

    • libesz says:

      Hello,
      Thanks for the comment, now it’s fixed! It was a piece of code which depends on the english version of the Excel, but now it’s removed. You can download the new version from this page.

  • Francisco Javier Bucio says:

    Hi, i’ve been read your post about de MAS-345 Windows GUI. Let me tell you that i have a multimeter too (same model)… could you send me all the information to develop a GUI software about this equipment (command, rs232 configuration, etc). Thanks in advance

  • Thomas says:

    I am trying to establish communication of MAS 345 with a PC using Matlab. I used Matlab TM tool and NI MAX with SCPI command *IDN?\n ….without success. Any thoughts communication with Matlab?

  • Thomas says:

    The Matlab code from http://lavag.org/topic/4375-multimeter-serial-communication/ is not working:
    s = serial(‘COM4’);
    s.BaudRate=600;
    s.StopBits=2;
    s.Timeout=10;
    s.Terminator=”;
    s.DataBits=7;
    s.ReadAsyncMode = ‘continuous’;
    get(s,{‘BaudRate’,’DataBits’,’Parity’,’StopBits’,’Terminator’});
    fopen(s);
    fprintf(s,’D’);
    s.BytesAvailable;
    out = fscanf(s) % es DC -0.000 V
    fclose(s);

    Thanks, TS

    • libesz says:

      Hi,
      Sorry for the late reply. Unfortunately I don’t have any experience with matlab at all. Maybe you should monitor the COM port somehow to figure out that even the MAS345 got the request or not.

  • Kal says:

    I tried to follow the instructions and success. Thank so much
    best multimeter 2015

  • joseabrown says:

    Thanks, I tried setup for my digital multimeter, and It can get great data. Keep going.

  • Thank for your instruction. It’s wonderful. I have done.

  • FrankieDep says:

    Тайланд. Любые туры в Паттайя. Такси От тайской тур компании Русалочка. Все описания путешествий, цены и фото нужно перейти по ссылке Телефон в Таиланде (WhatsApp, Viber, Line, Telegram): +66–861559142 http://www.rusalochka.asia/tseny-prajsy-i-stoimost-3/tailand-tseny-ekskursij-v-pattaje

  • Raphael says:

    Hi,

    I installed the version 1.0.0.1 on Windows 10 and I tried to export the datas to excel but it returned an error: (Exception on HRESULT:0*80010001 (RPC_E_CALL_REJECTED)). When I looked at the error details and at the source code you changed for the version 1.0.0.1, I made the hypothesis that the packages Microsoft .NET Frameworks were incompatible (too recent maybe) with the programme. I had version 4.5 of Microsoft .NET Frameworks.
    For those who got the same problem, try to repair or reinstall the packages Microsoft .NET Frameworks. I did it with “Microsoft .NET Framework Repair Tool” from the Microsoft website and the bug was fixed.

Write a Comment

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code class="" title="" data-url=""> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong> <pre class="" title="" data-url=""> <span class="" title="" data-url="">